Re: Copy OR Move Google Ads from one AdGroup to another

2021-02-07 Thread Google Ads API Forum Advisor Prod
Hi Aseem,

Thank you for your follow up.

In the Google Ads API, hotels can be partitioned into hotel listing groups. If 
you wish to manage these listing groups, you can check out this related guide. 
In addition, you should be able to manage these listing groups using the 
AdGroupCriterionService. I hope this helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2B29bw:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/H03gz0QO727X00FS7AAuMOTLWg_TqNdDwexg%40sfdc.net.


Re: Copy OR Move Google Ads from one AdGroup to another

2021-02-05 Thread 'Aseem Thapliyal' via AdWords API and Google Ads API Forum
Hi Peter,

Thanks again for your help.
I was working on hotel campaigns and hotel ad groups and I was wondering if 
I can list down the hotels present in a hotel group and also add OR remove 
a hotel from a hotel group using the API?

Best Regards,
Aseem

On Tuesday, January 26, 2021 at 7:57:02 AM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Aseem,
>
> To fetch the details of the 'resource' you will need to use its respective 
> service  
> (v6 > services) or view/report 
> . For 
> the entities / resources that you mentioned, as an example, you can use the 
> below services to invoke a get request to retrieve them and their 
> attributes :
>
> Campaigns - CampaignService 
> 
> Ad Groups - AdGroupService 
> 
> Ads - AdGroupAdService 
> 
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B29bw:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/606f58f8-5cd1-4a59-b0a6-4b0834a7b6dfn%40googlegroups.com.


Re: Copy OR Move Google Ads from one AdGroup to another

2021-01-25 Thread Google Ads API Forum Advisor Prod
Hi Aseem,

To fetch the details of the 'resource' you will need to use its respective 
service (v6 > services) or view/report. For the entities / resources that you 
mentioned, as an example, you can use the below services to invoke a get 
request to retrieve them and their attributes :

Campaigns - CampaignService
Ad Groups - AdGroupService
Ads - AdGroupAdService

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2B29bw:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/EaHC50QNIS4K00q855b6ZjTsCSyBNy5TWKNw%40sfdc.net.


Re: Copy OR Move Google Ads from one AdGroup to another

2021-01-25 Thread 'Aseem Thapliyal' via AdWords API and Google Ads API Forum
Hi Ernie,

Thanks for the reply. So what I basically want is to create something where 
all the resources are listed first and then if the user clicks on a 
resource, the backend will fetch the details of that resource. So for 
instance I want to show all the campaigns or Ads inside and Ad group to the 
user first and then if the user clicks on a campaign, the backend will 
fetch details of that and so on. So that's why my query was around the 
listing of resources. (Campaigns, Ad Groups, Ad Group Ads, etc) 

Thanks.

- Aseem
On Monday, January 25, 2021 at 1:12:01 PM UTC+5:30 adsapiforumadvisor wrote:

> Hi Aseem,
>
> I am a colleague of Peter and let me provide support to your concern.
>
> With regard to the below question, if what you want is to get the data and 
> metrics of specific resources, then I would suggest using Google Ads API 
> reporting 
> . 
> To give you examples, if you want to list the data and metrics at the 
> campaign level, then you will need to use campaign 
>  report.
>
> "*Is there a way to list resources like Campaigns, Ad Groups, Ad Group 
> Ads, etc using the API?*"
>
> If I misunderstood the above question, then please provide more details to 
> further check.
>
> Moving forward to the second concern about the code, could you confirm if 
> there is any concerns or issues related to that so we can check as well?
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B29bw:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/55dd5f3b-e622-42d0-8572-1ddf12a8fccan%40googlegroups.com.


Re: Copy OR Move Google Ads from one AdGroup to another

2021-01-24 Thread Google Ads API Forum Advisor Prod
Hi Aseem,

I am a colleague of Peter and let me provide support to your concern.

With regard to the below question, if what you want is to get the data and 
metrics of specific resources, then I would suggest using Google Ads API 
reporting. To give you examples, if you want to list the data and metrics at 
the campaign level, then you will need to use campaign report.
"Is there a way to list resources like Campaigns, Ad Groups, Ad Group Ads, etc 
using the API?"

If I misunderstood the above question, then please provide more details to 
further check.

Moving forward to the second concern about the code, could you confirm if there 
is any concerns or issues related to that so we can check as well?

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2B29bw:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/lqqqW0QNHC1P00hIW15A1jTO6fIPucMuDtnA%40sfdc.net.


Re: Copy OR Move Google Ads from one AdGroup to another

2021-01-22 Thread Floyd van der weij
*reading back my code i made a huge mistake*

I meant : 

foreach ($Stream->iterateAllElements() as $Element) {

  // ALL Data out of the Object Campaign.
  $campaign = $Element->GetCampaign('"');

  // Name.
  $name = $campaign->GetName();
  // Status.
  $status = $campaign ->?();

}

i changed 

$name = $campaign->GetName();
  // Status.
  $status = $campaign ->?();  

my applogies 
Op vrijdag 22 januari 2021 om 09:52:22 UTC+1 schreef Floyd van der weij:

> {this is PHP but the libary should be mostly the same} : 
> When Calling Elements from a Stream Aka : $Stream = 
> $Connection->searchStream($CustomerID, $Query);
>
> When you Foreach The Data you usually have something like this :
> foreach ($Stream->iterateAllElements() as $Element) {
>
>   // ALL Data out of the Object Campaign.
>   $campaign = $Element->GetCampaign('"');
>   // Name.
>   $name = $Element->GetName();
>   // Status.
>   $status = $Element->?();
>
> }
> Status is unknown but, you can find that at :
> (Depending on libary, But in V6 its usually) :
> google-ads-php/src/Google/Ads/GoogleAds/V6/Recources/Campaign.php
> Or if you have something like AdGroups
> google-ads-php/src/Google/Ads/GoogleAds/V6/Recources/AdGroup.php
>
> these 2 you can find things for Reporting data
>
> also good to know in what dimention/Layer Data is located 
>
> aka what do you need to call to get that certain thing.
>
>
> --
> If you need ads for example
> you First need to give an CustomerID With an CampaignID then The Adgroup 
> and then the AD
>
> and more things like that.
> Picture :
> [image: image-maps-overview.png]
> Op vrijdag 22 januari 2021 om 08:32:43 UTC+1 schreef 
> aseem.t...@hotel-spider.com:
>
>> Hi Peter Laurence Napa Oliquino,
>>
>> Thanks for your help.
>> Is there a way to list resources like Campaigns, Ad Groups, Ad Group Ads, 
>> etc using the API?
>>
>> Thanks.
>>
>> - Aseem
>>
>> On Friday, January 22, 2021 at 8:57:22 AM UTC+5:30 adsapiforumadvisor 
>> wrote:
>>
>>> Hi Aseem,
>>>
>>> Moving ads to another ad group is not possible via the API. 
>>>
>>> However, you should be able to get its attributes via an 
>>> AdGroupAdService.GetAdGroupAdRequest 
>>> .
>>>  
>>> Afterwards, you can perform a mutate 
>>> 
>>>  
>>> request to create a new ad to a new ad group using the details retrieved.
>>>
>>> To construct your REST interface request, you may derive it using the 
>>> below relevant documentation :
>>>
>>> REST Interface 
>>> 
>>> Design 
>>> 
>>> Get methods 
>>> 
>>> Mutate methods 
>>> 
>>> Discovery document for V6 
>>> 
>>>
>>> I hope this helps.
>>>
>>> Best regards,
>>>
>>> [image: Google Logo] 
>>> Peter Laurence Napa Oliquino 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2B29bw:ref
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/780ae6c2-c356-4608-beed-e784bf45e637n%40googlegroups.com.


Re: Copy OR Move Google Ads from one AdGroup to another

2021-01-21 Thread 'Aseem Thapliyal' via AdWords API and Google Ads API Forum
Hi Peter Laurence Napa Oliquino,

Thanks for your help.
Is there a way to list resources like Campaigns, Ad Groups, Ad Group Ads, 
etc using the API?

Thanks.

- Aseem

On Friday, January 22, 2021 at 8:57:22 AM UTC+5:30 adsapiforumadvisor wrote:

> Hi Aseem,
>
> Moving ads to another ad group is not possible via the API. 
>
> However, you should be able to get its attributes via an 
> AdGroupAdService.GetAdGroupAdRequest 
> .
>  
> Afterwards, you can perform a mutate 
> 
>  
> request to create a new ad to a new ad group using the details retrieved.
>
> To construct your REST interface request, you may derive it using the 
> below relevant documentation :
>
> REST Interface 
> 
> Design 
> 
> Get methods 
> 
> Mutate methods 
> 
> Discovery document for V6 
> 
>
> I hope this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B29bw:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/855a7f5d-bf4c-4f9c-b13d-8d86cd33ebb1n%40googlegroups.com.


RE: Copy OR Move Google Ads from one AdGroup to another

2021-01-21 Thread Google Ads API Forum Advisor Prod
Hi Aseem,

Moving ads to another ad group is not possible via the API.

However, you should be able to get its attributes via an 
AdGroupAdService.GetAdGroupAdRequest. Afterwards, you can perform a mutate 
request to create a new ad to a new ad group using the details retrieved.

To construct your REST interface request, you may derive it using the below 
relevant documentation :

REST Interface
Design
Get methods
Mutate methods
Discovery document for V6

I hope this helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2B29bw:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c601p0QNBG9800IxIsC_9cQYiJFeHNUN-lTA%40sfdc.net.


Copy OR Move Google Ads from one AdGroup to another

2021-01-21 Thread 'Aseem Thapliyal' via AdWords API and Google Ads API Forum
Hi,

I am a newbie to the whole Google Ads API and one of the things that I need 
to achieve is to move OR copy Google Ads from one AdGroup to another using 
the REST interface but I can't seem to figure out a way to do that. It can 
be achieved using the Google Ads console(UI) and the editor. 

If it can be done using the Google Ads API REST interface (assuming some 
code powers the Ads console), it would be very helpful.

Thanks.

- Aseem


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b3ce76d7-5871-40ea-9aa2-3da0862ae6e7n%40googlegroups.com.