Skip to main content
Update an existing Microsoft Ads ad extension of any type, for example changing the phone number on a call extension or the text on a sitelink. No dedicated update operation exists for any extension type, so this is the way to edit one. It takes a raw Microsoft ad extension object carrying the Id and Type of the extension to change. Microsoft requires the Type on every update and treats some fields as required even when unchanged, such as CountryCode and PhoneNumber on a call extension, so send the full set for that type. The object is sent unchanged, so a rejection is Microsoft validating the payload.

Inputs

MicrosoftAdsAccountItem

Output

Type: Dict Returns the extension that was updated and which fields were sent. Fields: ad_extension_id, type, updated_fields