CreativesDirect Upload Creative

Direct Upload Creative

CORS fallback for browsers that cannot PUT directly to the presigned S3 URL - proxies the raw video body through the API to storage.

curl -X POST "https://api.5centscdn.com/v2/ad-manager/101/creatives/direct-upload" \
  -H "Content-Type: video/mp4" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "result": "success",
  "creative_uuid": "8f2a1c3e-4b5d-4a6e-9f1a-2b3c4d5e6f7a",
  "object_url": "https://cdn.5centscdn.com/ad-manager-uploads/abc123.mp4"
}
POST
/ad-manager/{pid}/creatives/direct-upload
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

path
pidinteger
Required

ID of the Ad Manager project.

Content-Typestring
Required

The media type of the request body

Options: video/mp4
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

pidinteger
Required

ID of the Ad Manager project.

Example:
101

Body

video/mp4
datafile
Required

Raw MP4 video file bytes.

Responses

resultstring

Operation outcome.

Allowed values:successerror
creative_uuidstring
object_urlstring