Skip to main content
GET
/
api
/
v1
/
google-ads
/
locations
Get Locations
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
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

customer_id
integer
required
login_customer_id
integer | null
campaign_id
integer | null
start_date
string
end_date
string
token_id
integer | null

Response

Successful Response

campaign_id
integer
required
campaign_name
string
required
location_id
integer
required
location_name
string
required
target_type
string
required
metrics
Metrics · object
required
country_code
string | null
bid_modifier
number | null