Ads API •References / Assets / Get Image Upload Url
Get Image Upload Url
Returns a unique GCS bucket URL to upload an image asset to.
Request
- ad_account_idstring [uuid]Required
- namestringRequired
- media_typestringRequiredAllowed values:
"image/jpg"
,"image/jpeg"
,"image/png"
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"}