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>"
}Update an ad group’s status (ENABLED/PAUSED).
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>"
}The access token received from the authorization server in the OAuth 2.0 flow.
Request to update an ad group's status.
New status for the ad group
ENABLED, PAUSED