Adding site links on old campaign

20 views
Skip to first unread message

ra...@gogenchi.com

unread,
Sep 23, 2015, 9:00:45 AM9/23/15
to AdWords API Forum
Helllo guys,
I created new site links for a campaign using the CampaignExtensionSetting, but when I try to add new ones I keep getting ExtensionSettingError.CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS error.

I tried to use the getExtensionSetting().setExtensions method but I still get that problem...

I searched for the answer here and the error itself is appearing any where, on this page: https://developers.google.com/adwords/api/docs/guides/extension-settings they show a way to add and I followed it but it still appear to not work, any of you encountered this problem as well?

Anash P. Oommen (AdWords API Team)

unread,
Sep 23, 2015, 4:38:10 PM9/23/15
to AdWords API Forum
Hi Rael,

To add a new sitelink, you need to retrieve the existing CampaignExtensionSetting, add the new SitelinkFeedItem to it and update the CampaignExtensionSetting using the SET operation. ADD operation won't work in this case, since you already have added some sitelinks to the campaign.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages