account | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account whose account-level defaults will be updated. |
account_properties | array of MicrosoftAdsAccountProperty | No | - | Native AccountProperty array, or JSON text. Optional when annotation_opt_outs is supplied. Only supplied properties are updated; campaign/ad-group/ad overrides are not changed. Example: [{“Name”:“TrackingUrlTemplate”,“Value”:“{lpurl}?utm_source=bing&utm_medium=cpc”},{“Name”:“FinalUrlSuffix”,“Value”:“utm_campaign={CampaignId}”},{“Name”:“MSCLKIDAutoTaggingEnabled”,“Value”:“true”}]. Use Value="" to clear a tracking template or suffix. BusinessAttributes uses semicolon-separated names, e.g. “FamilyOwned;Vegan”. Microsoft rejects the entire request if any property cannot be set. Read-back values and verification are returned. |
annotation_opt_outs | array of MicrosoftAdsAnnotationOptOut | No | - | Automated-extension annotation opt-outs, as an array or JSON text. Example: [{“AnnotationGroupId”:17005,“IsOptOut”:true}] disables dynamic sitelinks. AccountId and CustomerId are derived from the selected account; these are account-wide settings, not per-ad controls. Omitted/null leaves them unchanged. Requires annotation_justification. Property and annotation updates are separate API calls and are not atomic; inspect both results before retrying. |
annotation_justification | string | No | - | Reason sent as Microsoft’s Justification when updating annotation opt-outs. Required with annotation_opt_outs. |
dry_run | boolean | No | False | Return the resolved request payload without submitting an update or performing read-back verification. |