How can I remove one extra link in a group?

13 views
Skip to first unread message
Message has been deleted

maxim prokopenko

unread,
Sep 3, 2015, 8:56:19 AM9/3/15
to AdWords API Forum
How can I remove one extra link in a group? I do so:

    campaign_extension_setting_service = client.GetService('AdGroupExtensionSettingService', version='v201506')


    operation
= {
       
'operator': 'REMOVE',
       
'operand': {
       
'adGroupId': GROUP_ID,
       
'extensionType': 'SITELINK',
       
'extensionSetting': {
           
'extensions': [
             
{'feedItemId': FEED_ITEM_ID}
             
]
       
}
   
}
   
}


    campaign_extension_setting_service
.mutate([operation])


But removed all the extra links.
Message has been deleted

Anash P. Oommen (AdWords API Team)

unread,
Sep 4, 2015, 3:58:07 PM9/4/15
to AdWords API Forum
Hi Maxim,

You can do a SET with all the extensionSetting you want to keep, and the ones missing in the request would be dropped. 

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