curl --request POST \
--url http://localhost:8000/api/v1/google-ads/locations/targeting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_id": 123,
"locations": [
{
"geo_target_constant_id": 123,
"target_type": "INCLUDE"
}
]
}
'{
"success": true,
"successful_count": 0,
"failed_count": 0,
"errors": [
{}
]
}Add location targeting to a campaign.
curl --request POST \
--url http://localhost:8000/api/v1/google-ads/locations/targeting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_id": 123,
"locations": [
{
"geo_target_constant_id": 123,
"target_type": "INCLUDE"
}
]
}
'{
"success": true,
"successful_count": 0,
"failed_count": 0,
"errors": [
{}
]
}The access token received from the authorization server in the OAuth 2.0 flow.