Does deleting a feed using a mutate (REMOVE) FeedOperation delete its associated ExtensionFeedItems?

43 views
Skip to first unread message

Parker Crist

unread,
Aug 14, 2015, 4:28:55 PM8/14/15
to AdWords API Forum
Hi, I am wanting to delete all of the sitelinks I have in a particular feed using the AdWords API, and delete the feed itself.  To do so, do I first need to disassociate the FeedItems from their campaigns with a CampaignExtensionSettingOperation, then delete the ExtensionFeedItems themselves, then use a FeedOperation to delete the feed?  Or by deleting the feed with the FeedOperation, will my sitelinks automatically be disassociated and/or deleted?

Thanks,
Parker

Josh Radcliff (AdWords API Team)

unread,
Aug 18, 2015, 8:48:53 AM8/18/15
to AdWords API Forum
Hi Parker,

If you simply delete the Feed, then I think what you'll find is that the Ad extensions tab will show something like Invalid settings on your campaigns. The reason for this is that the underlying CampaignFeed (and FeedMapping) will still be there, but will point to a non-existent feed.

Instead, I'd recommend that you use CampaignExtensionSettingService as you mentioned, which will clean up the CampaignFeed, then follow that up with a delete of the FeedMapping and the Feed. This should completely clean up the Feed from your account.

Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages