curl --request POST \
--url http://localhost:8000/api/v1/google-ads/ad-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_id": 123,
"name": "<string>",
"ad_group_type": "SEARCH_STANDARD",
"status": "ENABLED",
"cpc_bid_micros": 1
}
'{
"success": true,
"ad_group_id": 123,
"resource_name": "<string>",
"error_code": "<string>",
"error_message": "<string>"
}Create a new ad group in a campaign.
curl --request POST \
--url http://localhost:8000/api/v1/google-ads/ad-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_id": 123,
"name": "<string>",
"ad_group_type": "SEARCH_STANDARD",
"status": "ENABLED",
"cpc_bid_micros": 1
}
'{
"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 create a new ad group.
Campaign ID to create the ad group in
Ad group name
1 - 256Ad group type
SEARCH_STANDARD, DISPLAY_STANDARD, SHOPPING_PRODUCT_ADS Initial ad group status
ENABLED, PAUSED Default CPC bid in micros
x > 0