Hi Peter, If an extension is created via the Google Ads UI and shows that an extension has the "Level" of "Campaign" or the "Level" of "Ad Group", is that equivalent to setting the targeted_campaign field in your example?
Thanks, Matt On Sunday, December 13, 2020 at 6:51:34 PM UTC-8 adsapiforumadvisor wrote: > Hi Matt, > > Thank you for your follow up. > > The targeted_ad_group and targeted_campaign > <https://developers.google.com/google-ads/api/reference/rpc/v6/ExtensionFeedItem#serving_resource_targeting> > > fields would need to be explicitly specified for a feed item.You can also > check out this example > <https://developers.google.com/google-ads/api/docs/extensions/extension-settings/add-extensions#java> > > (also available in other languages) on how the targeted_campaign field is > set. > > Once this has been set during creation, it should then be retrievable via > the service you used to create it or via the reports. You can use the > extension_feed_item > <https://developers.google.com/google-ads/api/fields/v6/extension_feed_item> > report to retrieve information such as the > extension_feed_item.targeted_ad_group > <https://developers.google.com/google-ads/api/fields/v6/extension_feed_item#extension_feed_item.targeted_ad_group> > > and extension_feed_item.targeted_campaign > <https://developers.google.com/google-ads/api/fields/v6/extension_feed_item#extension_feed_item.targeted_campaign> > > fields. > > Best regards, > > [image: Google Logo] > Peter Laurence Napa Oliquino > Google Ads API Team > > > ref:_00D1U1174p._5001USwA2s: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/d65e9d97-d040-40a6-b978-4ead6d34ef0dn%40googlegroups.com.