AdGroupExtensionSettingOperation > Remove a specific FeedItem

37 views
Skip to first unread message

christo...@logitravel.com

unread,
Feb 24, 2021, 7:26:15 AM2/24/21
to AdWords API and Google Ads API Forum
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



Google Ads API Forum Advisor Prod

unread,
Feb 24, 2021, 4:00:19 PM2/24/21
to christo...@logitravel.com, adwor...@googlegroups.com

Hi Christoph,

Unfortunately, there is no workaround to this. If you want to remove a feed item, you will need to update the extension by passing all of the feed items that you want to keep.
 

Regards,
Anthony
 

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2DIXHr:ref

christo...@logitravel.com

unread,
Feb 25, 2021, 3:29:53 AM2/25/21
to AdWords API and Google Ads API Forum
Ok, many thanks!

One more question: What if I completely delete the feed item itself from the shared library? Obviously then there will be no Sitelink anymore and it would work for my purpose.
Will this disassociate also the Sitelink from the AdgroupExtensionSetting or do you see any potential problem with massive associations that are connected to deleted items?

Kind regards,

Christoph

Google Ads API Forum Advisor Prod

unread,
Feb 26, 2021, 12:11:24 AM2/26/21
to christo...@logitravel.com, adwor...@googlegroups.com
Hi Christoph,

I work with Anthony and allow me to assist you.

Since you performed the removal via the Google Ads UI, I would recommend that you also still perform an AdGroupExtensionSettingService.GetAdGroupExtensionSetting request to ensure that the extension setting or feed item have been completely removed.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2DIXHr:ref

Christoph Lanz

unread,
Feb 26, 2021, 3:35:33 AM2/26/21
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Hello Peter,

Perfect, many thanks! This solution should work!

Kind regards,

Christoph
Reply all
Reply to author
Forward
0 new messages