ExtensionFeedItem Targets

35 views
Skip to first unread message

Pete Lavetsky (AdWords API Guru)

unread,
Jan 28, 2020, 12:17:00 PM1/28/20
to AdWords API and Google Ads API Forum
Hello all,

When adding an ExtensionFeedItem, is the intention that we set the resource name for setTargetedAdGroup or setTargetedCampaign in order for the mutated ExtensionFeedItem to then be available as an attached resource under AdGroupExtensionSetting or CampaignExtensionSetting getExtensionFeedItemList()?

Or do we have to add the ExtensionFeedItem, and then do a separate API call to something like CampaignExtensionSetting.newBuilder().
.addAllExtensionFeedItems(extensionFeedItems)
If the above calls don't result in the same outcome ( extension feed items attached to an ad group or campaign ), then what is the purpose of setTargetedAdGroup or setTargetedCampaign?

Thanks
Pete


Pete Lavetsky (AdWords API Guru)

unread,
Jan 29, 2020, 7:38:30 AM1/29/20
to AdWords API and Google Ads API Forum
Bump

Google Ads API Forum Advisor Prod

unread,
Jan 31, 2020, 3:45:59 PM1/31/20
to pete.l...@gmail.com, adwor...@googlegroups.com

Hello Pete,

Thank you for reaching out. While adding an ExtensionFeedItem using ExtensionFeedItemService, no resource name is expected for the new extension feed item. You can only set one of the serving resource targeting at either the campaign or ad group level. You could then use AdGroupExtensionSettingService or CampaignExtensionSettingService to retrieve the extensions targeted at ad group and campaign level respectively or use the get() method of the ExtensionFeedItemService to retrieve all the extensions and then filter the results based on serving resource. Let me know if this clarifies your concerns.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001USx34Y:ref
Reply all
Reply to author
Forward
0 new messages