Skip to content
Ads APIReferences / Assets / Get Video Upload Url

Get Video Upload Url

Returns a unique GCS bucket URL to upload a video asset to.

Request

  • ad_account_id
    string [uuid]
    Required
  • name
    string
    Required
  • video_format_type
    string [video-format-type]
    Required
    Allowed values: "MP4", "QUICKTIME", "ERROR"Example: "MP4"
  • video_orientation
    string [video-orientation]
    Allowed values: "LANDSCAPE", "PORTRAIT"Example: "LANDSCAPE"

Response

  • id
    string [uuid]
    Required
  • upload_url
    string [uri]
    Required

Response sample

{  "id": "db99278e-40ef-47c5-b17c-d8c5f2a25206",  "upload_url": "https://storage.googleapis.com/adstudio-inbox/db99278e-40ef-47c5-b17c-d8c5f2a25206?GoogleAccessId=493775615557-compute@developer.gserviceaccount.com&Expires=1528917385&Signature=WmO%2BeiE...0I%3D%3D"}