Skip to main content
PATCH
/
api
/
v1
/
google-ads
/
ad-groups
/
{ad_group_id}
/
status
Update Ad Group Status
curl --request PATCH \
  --url http://localhost:8000/api/v1/google-ads/ad-groups/{ad_group_id}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "ENABLED"
}
'
{
  "success": true,
  "ad_group_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_group_id
integer
required

Query Parameters

customer_id
integer
required
token_id
integer | null

Optional specific Token ID

Body

application/json

Request to update an ad group's status.

status
enum<string>
required

New status for the ad group

Available options:
ENABLED,
PAUSED

Response

Successful Response

Result of an ad group mutation operation.

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