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

Get Image Upload Url

Returns a unique GCS bucket URL to upload an image asset to.

Request

  • ad_account_id
    string [uuid]
    Required
  • name
    string
    Required
  • media_type
    string
    Required
    Allowed values: "image/jpg", "image/jpeg", "image/png"

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"}