Skip to main content
GET
Get Google Ads campaign targeting

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app whose Google Ads campaigns to manage.

campaign_id
string
required

Base44's ID for the campaign, as returned in id by List campaigns. This is not the Google Ads campaign ID, which is reported separately as google_campaign_id.

Response

The campaign's live targeting.

What a campaign currently targets, read live from Google.

keyword_themes
string[]
required

The themes the campaign matches on.

Example:
excluded_terms
string[]
required

Search terms the campaign is told not to match.

Example:
targeted_locations
GoogleAdsTargetedLocation · object[]
required

Locations the campaign targets.

Example:
excluded_locations
GoogleAdsTargetedLocation · object[]
required

Locations the campaign excludes.

Example:
language_code
string
required

Two-letter code for the language the campaign advertises in. Defaults to en when the campaign has none set.

Example:

"en"

proximity
ProximityTarget · object | null

The radius the campaign serves within, around an address, instead of targeted_locations. Present only when radius targeting is enabled for the caller; null when the campaign targets places.

Example: