Any Google Ads write the account allows, as one atomic GoogleAdsService.Mutate on the store's linked account. Each opera
Changed onAny Google Ads write the account allows, as one atomic GoogleAdsService.Mutate on the store's linked account. Each operation is Google's JSON for a MutateOperation, e.g. {"campaign_criterion_operation": {"create": {"campaign": "customers/{customer_id}/campaigns/123", "device": {"type": "mobile"}, "bid_modifier": 0.8}}} or {"ad_group_operation": {"update": {"resource_name": "customers/{customer_id}/adGroups/456", "name": "x"}}} (an update without update_mask gets the fields it sets). {customer_id} is filled in; another account is refused. Google validates every operation before a card exists (nothing persists), and the card says whether it can widen spend and by which campaigns' daily budgets. A campaign is created PAUSED; its status, budget amount and bidding are refused here and the refusal names the Magistry tool that declares each of them. The answer carries undo.operations: pass them back to this tool to undo (creates removed, updated fields restored; a remove of a campaign, ad group, asset group, list or action is permanent in Google Ads). Ids come from a GAQL read of the account.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesads:write
Headers
Required, here or as idempotency_key in the body. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.
Request body
MutateOperation objects, in order; temporary ids (negative) may link them.
One line for the card: what this write does and why.
Required. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning