| .addAllExtensionFeedItems(extensionFeedItems) |
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