Hi Paris, 

Please note that AdGroupFeedService 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupFeedService>
 is 
used to link a feed to an AdGroup using a matching function. Having said 
that, the Feed Id and Ad Group Id associated with your Ad customizer will 
only be returned from AdGroupFeedService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupFeedService#get>
 if 
they are properly linked with a matchingFunction 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupFeedService.AdGroupFeed#matchingfunction>
.

If you only need the associated Feed Ids and AdGroup Ids of all of your Ad 
customizers, then you can retrieve all Feed Ids 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdCustomizerFeedService.AdCustomizerFeed#feedid>
 via AdCustomizerFeedService 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdCustomizerFeedService>
 and 
use those Feed Ids to traverse through FeedItemService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201702/FeedItemService#get>
 and 
get the TargetingAdGroupId 
<https://developers.google.com/adwords/api/docs/reference/v201702/FeedItemService.FeedItemAdGroupTargeting>
 (if 
you set a targeted AdGroup Id upon creation of feed items). Similar flow 
should be done to retrieve Campaign Ids but you will use TargetingCampaignId 
<https://developers.google.com/adwords/api/docs/reference/v201702/FeedItemService.FeedItemCampaignTargeting>
 instead.

Let me know if this helps.

Regards,
Ivan 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/48f875dd-8f4b-4ae2-aed7-bc2749bafcfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to