Hello, 

You can retrieve the Targeting ideas by providing the Ad Group ID with the 
SeedAdGroupIdSearchParameter 
<https://developers.google.com/adwords/api/docs/reference/v201802/TargetingIdeaService.SeedAdGroupIdSearchParameter>.
 
If you already have an existing Ad group in your account, you could use the 
AdGroupService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201802/AdGroupService#get>
 to 
get the AdGroup Ids associated with the campaign. If not, you could create 
a new Ad Group using the AdGroupService.mutate() 
<https://developers.google.com/adwords/api/docs/reference/v201802/AdGroupService#mutate>
 request. 
Please take a look at the code samples in Java on how to Get AdGroups 
<https://developers.google.com/adwords/api/docs/samples/java/basic-operations#get-ad-groups>
 and Add AdGroups 
<https://developers.google.com/adwords/api/docs/samples/java/basic-operations#add-ad-groups>
 as 
a reference. Code samples in other languages can be found here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. You can 
use the desired ad group Id to pull the Targeting ideas information. 

Let me know if you have any other questions. 

Regards,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a702f776-7b9b-485b-87a8-a2889b37ed2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... ironside . alexander
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... ironside . alexander
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to