Ads API •References / Assets / Get Video Upload Url
Get Video Upload Url
Returns a unique GCS bucket URL to upload a video asset to.
Request
- ad_account_idstring [uuid]Required
- namestringRequired
- video_format_typestring [video-format-type]RequiredAllowed values:
"MP4"
,"QUICKTIME"
,"ERROR"
Example:"MP4"
- video_orientationstring [video-orientation]Allowed values:
"LANDSCAPE"
,"PORTRAIT"
Example:"LANDSCAPE"
Response
- idstring [uuid]Required
- upload_urlstring [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"}