Hello,
I am building a script to mange Sitelinks and I have an issue regarding the association/update of the Sitelinks at adgroup level.
- I am able to add new Sitelinks (also one by one) to an adgroup, using the AdGroupExtensionSettingOperation and "setCreate", indicating the requested details.
- I am able to remove all Sitelinks from an adgroup using the AdGroupExtensionSettingOperation and "setRemove" function.
- I have trouble when I want to update the Sitelinks of an Adgroup, in detail when I want to eliminate only one specific Sitelink (FeedItem) from an Adgroup. I have found the way that I can recreate the configuration using the AdGroupExtensionSettingOperation and "setUpdat", indicating again all existing Sitelinks/FeedItems that I want to keep, and omitting the Sitelink that I want to delete. This works but it is quite complicated and I feel also a bit unsafe.
My question is: Is there an easier way, indicating only the FeedItem that I want to delete from an AdGroupExtensionSetting?
Many thanks in advance for your help!
Christoph