Create creative upload

Get a URL to upload a creative's image, video or audio file to. The file is kept with the campaign's project.

Needs the campaigns:write scope, like every campaign write.

Upload with the method the answer names, before expires_at (15 minutes):

  • POST: a multipart form to upload_url carrying every entry of fields, then the file in a field named file. Used for files of 5 MB or less.
  • PUT: the file's bytes to upload_url, with Content-Type set to the content_type you sent. Used for larger files.

Then call Confirm creative upload with the s3_key.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Campaign ID (UUID).

Body Params
string
required
string
required
int64
required
string
enum
required

image_creative for IMAGE, video_creative for the video types, audio_creative for the audio types.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Missing or invalid authentication.

404

Campaign not found, or not in the key's organization.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain