Hi Adam,

You could use the mutate 
<https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService#mutate>
 operation 
of the AdGroupExtensionSettingService 
<https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService>
 with REMOVE 
<https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.AdGroupExtensionSettingOperation#operator>
 operator 
to remove all sitelinks for the given adgroup. In the 
AdGroupExtensionSetting 
<https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.AdGroupExtensionSetting>,
 
you could set the extensionType 
<https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.AdGroupExtensionSetting#extensionType>
 to SITELINK 
and for ExtensionSetting 
<https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.ExtensionSetting>
 if 
you pass the empty array of SitelinkFeedItem as extensions 
<https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.ExtensionSetting#extensions>
 and 
null platformRestrictions then extensions are disabled for 
the sitelinks for that adgroup.  Currently, AdWords API doesn't have 
example code (PHP) for the deleting the sitelinks using 
the AdGroupExtensionSettingService.

Regards,
Umesh, 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0febd492-044f-4b94-8ad1-ae8b5605bb76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to