Hi Imran,

Sorry for the confusion but unfortunately, AdWords API does not support 
deleting the sitelinks one by one or by list from the *campaign level*. 
However, as a workaround, after performing the steps in my previous post 
(will result on deleting all ad extensions with extensionType = sitelinks 
in the campaign), you need to re-add in the campaign the sitelinks that you 
still need. 

And yes, FeedItemId is the unique identifier of the feed item however, 
extesionSetting 
<https://developers.google.com/adwords/api/docs/reference/v201605/CampaignExtensionSettingService.CampaignExtensionSetting#extensionSetting>
 in CampaignExtensionSettingService 
<https://developers.google.com/adwords/api/docs/reference/v201605/CampaignExtensionSettingService>
 is 
only required for operators ADD and SET. I tried doing the scenario in my 
test account passing a list of feedItemId in the 
CampaignExtensionSettingService with REMOVE operator and the list was 
ignored in the SOAP request. FeedItemId 
<https://developers.google.com/adwords/api/docs/reference/v201605/FeedItemService.FeedItem#feedItemId>
 is 
uniquely identified if you are deleting a FeedItem 
<https://developers.google.com/adwords/api/docs/reference/v201605/FeedItemService.FeedItem>
 using 
the FeedItemService 
<https://developers.google.com/adwords/api/docs/reference/v201605/FeedItemService>
 and 
not deleting the *relationship* between Ad Extension and the Campaign.

Thanks,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7ff8d9b7-7f2a-41e7-8a2c-fb7283c2f0f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to