Campaigns Api Post Api V1External Account Campaigns By Account Id

POST {{baseUrl}}/2022-04/retail-media/accounts/:accountId/campaigns

Creates a new campaign with the specified settings

Request Body

{"data"=>{"type"=>"<string>", "attributes"=>{"name"=>"<string>", "type"=>"auction", "drawableBalanceIds"=>["<long-id>", "<long-id>"], "clickAttributionWindow"=>"30D", "viewAttributionWindow"=>"none", "budget"=>"<decimal>", "clickAttributionScope"=>"<string>", "viewAttributionScope"=>"<string>"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

&quot;&quot;