Advertise
Advertise
Create, update, submit, or pause an advertising campaign.
POST
Advertise
Use
advertising:write and an Idempotency-Key. All campaign changes use this endpoint:
create: save a durable draft with an ownedagentId,operationId, pinnedoperationRevision, name, one billing event, USD budget in cents, targeting, and optional schedule.update: supplycampaignId,expectedRevision, and apatch. Only draft or paused campaigns can be edited.submit: supplycampaignIdandexpectedRevision. The operation must be active, public, and still at its pinned revision. This recordsPENDING_REVIEW.pause: supplycampaignIdandexpectedRevision. This recordsPAUSED.
NOT_ACTIVE; unmeasured results and spend remain null. Get the persisted result through Get campaign.Authorizations
Headers
Stable key for this exact mutation. Reusing it with different input returns 409.
Required string length:
1 - 200Body
application/json
- Option 1
- Option 2
- Option 3
Allowed value:
"create"Required string length:
1 - 200Required string length:
1 - 200Required range:
1 <= x <= 2147483647Required string length:
1 - 160Available options:
IMPRESSIONS, CONVERSATIONS, CONVERSIONS Required range:
1 <= x <= 1000000000Allowed value:
"USD"Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Response
Current owner-scoped result. A mutation retry returns its saved response.
Last modified on October 19, 2026