You could use the
mutate operation of the
AdGroupExtensionSettingService with
REMOVE operator to remove all
sitelinks
for the given adgroup. In the
AdGroupExtensionSetting, you could set the
extensionType to SITELINK and for
ExtensionSetting if you pass the empty array of SitelinkFeedItem as
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.
Umesh, AdWords API Team.