Adds an exported file to one of the store's ad campaigns as a draft ad creative. It reaches the ad account only once som
Changed onAdds an exported file to one of the store's ad campaigns as a draft ad creative. It reaches the ad account only once someone approves it on the ads page. With platform instead of campaign_id it is kept ready for a campaign not made yet, and whoever approves it chooses the campaign. A Meta ad needs a headline. Asking again for the same file and campaign returns the draft that exists instead of a second one. When the policy or quality check stops the file and override_reason is given, the reply is a card for a person with the findings and the reason; only a person pressing it in the dashboard adds the creative, in their own name.
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/tokenScopescreative:write
Headers
Optional; honoured when sent. 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
The export id of a finished file.
A campaign that takes this file.
Instead of campaign_id: the network whose campaign, still to be made, this file is kept ready for.
The ad headline (required for Meta).
The text beside the headline.
Why a person should send it anyway. Read only when the policy or quality check stops it: the reply is then a card for a person carrying the findings and this reason, which only a person can press.
Optional. 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