Skip to main content
PATCH
/
api
/
v1
/
google-ads
/
ads
/
{ad_id}
Update Rsa
curl --request PATCH \
  --url http://localhost:8000/api/v1/google-ads/ads/{ad_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "final_url": "<string>",
  "headlines": [
    {
      "text": "<string>",
      "pinned_field": "<string>"
    }
  ],
  "descriptions": [
    {
      "text": "<string>",
      "pinned_field": "<string>"
    }
  ],
  "display_path_1": "<string>",
  "display_path_2": "<string>",
  "final_mobile_url": "<string>",
  "tracking_url_template": "<string>"
}
'
{
  "success": true,
  "ad_id": 123,
  "resource_name": "<string>",
  "error_code": "<string>",
  "error_message": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

ad_id
integer
required

Query Parameters

customer_id
integer
required
token_id
integer | null

Optional specific Token ID

Body

application/json

Request to update a Responsive Search Ad.

final_url
string | null

New landing page URL

Minimum string length: 1
headlines
RSAAssetInput · object[] | null

3-15 headlines (replaces all)

Required array length: 3 - 15 elements
descriptions
RSAAssetInput · object[] | null

2-4 descriptions (replaces all)

Required array length: 2 - 4 elements
display_path_1
string | null
display_path_2
string | null
final_mobile_url
string | null
tracking_url_template
string | null

Response

Successful Response

Result of an ad mutation operation.

success
boolean
required
ad_id
integer | null
resource_name
string | null
error_code
string | null
error_message
string | null