Skip to content
Ads APIReferences / Ads / Update Ad

Update Ad

Updates an existing ad.

Request

  • ad_account_id
    string [uuid]
    Required
  • ad_id
    string [uuid]
    Required
  • landing_page_domain
    string [uri]

    URL the campaign will direct to

    Example: "www.spotify.com"
  • clickthrough_url
    string [uri]
  • name
    string
    • measurement_partner
      string [measurement-partner]
      Allowed values: "IAS"Example: "IAS"
    • url
      string
  • version
    integer [int64]
    Required
    Example: 1

Response

    curl --request PUT \
      --url https://api-partner.spotify.com/ads/v1.2/adAccounts/string/ads/string \
      --header 'Authorization: Bearer 1POdFZRZbvb...qqillRxMr2z' \
      --header 'Content-Type: application/json' \
      --data '{
        "landing_page_domain": "www.spotify.com",
        "clickthrough_url": "string",
        "name": "string",
        "third_party_viewability_tracking": {
            "measurement_partner": "IAS",
            "url": "string"
        },
        "version": 1
    }'

    Response sample