Get Google Ads campaign targeting
Reads a campaign’s current targeting from Google Ads: the themes it matches, the terms it excludes, and the locations on each side.
This reads Google directly rather than Base44’s copy, so it is the authoritative set to seed an editor from. Send changes back with Update campaign.
Location entries carry a camel-cased resourceName, unlike the rest of this API. A location saved before Base44 recorded display names comes back with its numeric ID as name; nothing repairs that later, so resolve the label through Search locations if you need to show it.
Authorizations
Personal API key.
Path Parameters
ID of the app whose Google Ads campaigns to manage.
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.
The themes the campaign matches on.
Search terms the campaign is told not to match.
Locations the campaign targets.
Locations the campaign excludes.
Two-letter code for the language the campaign advertises in. Defaults to en when the campaign has none set.
"en"