Hi Bhairavi,

The GetKeywords sample uses AdGroupCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService>.
 
You will be able to get adGroup id from the AdGroupCriterionService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService#get>
 API 
call. You can then retrieve adGroup name 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupService.AdGroup#name>
, campaign id  
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupService.AdGroup#campaignId>
and campaign name 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupService.AdGroup#campaignname>
 using AdGroupService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupService#get>
 by 
filtering with the AdGroupId. You will need to specify the fields 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201710-AdGroupService>that
 
you wish to have in your API response in the selector. 

Let me know if have any further questions.

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/5ee6df87-39de-4c5d-9fc2-4b5795fe4007%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • adgroup id,a... Bhairavi
    • Re: adg... 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum

Reply via email to