Skip to main content
POST
Upload a Google Ads video

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app whose Google Ads creative you want to generate or read.

Body

application/json

A video file to upload to YouTube for Google Ads.

file_url
string
required

Address of the video file. It has to be https on a host Base44 fetches media from, such as an address on base44.com or base44.app, and the file can be at most 64 MB. Base44 does not fetch any other address and rejects it with a 400.

Example:

"https://storage.base44.com/gads-assets/spring-spot.mp4"

title
string | null

Title of the unlisted YouTube video. Only the first 100 characters are used. It is shown on the video itself, never in the ad. Leave it out for a generic title.

Example:

"Spring sale spot"

Response

The uploaded video, or a reference to poll while YouTube processes it.

A video uploaded to YouTube for Google Ads.

video_id
string
required

The YouTube video ID. Pass it as a video on a campaign, exactly as you would the ID from a YouTube link. Empty while YouTube is still processing the upload, in which case poll with upload_rn.

Example:

"dQw4w9WgXcQ"

upload_rn
string
required

Google's reference for the upload. Keep it until video_id is filled in, and pass it to Poll a Google Ads video upload.

Example:

"customers/1234567890/youTubeVideoUploads/AbC123xYz"