Skip to main content
GET
/
api
/
v1
/
google-ads
/
user-locations
Get User Locations
curl --request GET \
  --url http://localhost:8000/api/v1/google-ads/user-locations \
  --header 'Authorization: Bearer <token>'
[
  {
    "campaign_id": 123,
    "campaign_name": "<string>",
    "metrics": {},
    "ad_group_id": 123,
    "ad_group_name": "<string>",
    "most_specific_location": "<string>",
    "city": "<string>",
    "region": "<string>",
    "postal_code": "<string>",
    "location_type": "<string>"
  }
]

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
ad_group_id
integer | null
start_date
string
end_date
string
token_id
integer | null

Response

Successful Response

campaign_id
integer
required
campaign_name
string
required
metrics
Metrics · object
required
ad_group_id
integer | null
ad_group_name
string | null
most_specific_location
string | null
city
string | null
region
string | null
postal_code
string | null
location_type
string | null