curl --request GET \
--url http://localhost:8000/api/v1/google-ads/locations \
--header 'Authorization: Bearer <token>'[
{
"campaign_id": 123,
"campaign_name": "<string>",
"location_id": 123,
"location_name": "<string>",
"target_type": "<string>",
"metrics": {},
"country_code": "<string>",
"bid_modifier": 123,
"resource_name": "<string>"
}
]Retrieve location targeting settings for campaigns.
Queries campaign_criterion directly to return all targeted locations, regardless of whether they have performance data.
Args: customer_id: The Google Ads customer ID campaign_id: Optional filter by campaign ID search: Optional text search filter exclude_removed: Exclude REMOVED entities from results (default: False) oauth2_token: OAuth2 token for authentication
Returns: List of location targeting settings.
curl --request GET \
--url http://localhost:8000/api/v1/google-ads/locations \
--header 'Authorization: Bearer <token>'[
{
"campaign_id": 123,
"campaign_name": "<string>",
"location_id": 123,
"location_name": "<string>",
"target_type": "<string>",
"metrics": {},
"country_code": "<string>",
"bid_modifier": 123,
"resource_name": "<string>"
}
]The access token received from the authorization server in the OAuth 2.0 flow.
1 - 200Optional specific Token ID