This endpoint generates a new Google Search campaign based on the selected objective. You can choose between driving website traffic or generating conversions such as sign-ups, purchases, or lead submissions. The campaign setup includes all necessary details like targeting locations, ad creatives, daily budget, keywords, and optimization preferences to control how and where your ads are delivered.
TRAFFIC
: Optimizes the campaign to drive users to a website or landing page.
CONVERSION
: Optimizes the campaign to drive valuable actions like sign-ups, purchases, or leads.
objective
values: CONVERSION
, TRAFFIC
dailyBudget
is the same as the one set during the ad account creation.YYYY-MM-DD
, use to schedule the campaign to start at a specific date.YYYY-MM-DD
, use to schedule the campaign to end at a specific date.locations
is an array of target location IDs
for the campaign. To get the locationId
reference get location API.proximityTargeting
is not provided.proximityTargeting
allows you to define radius-based
targeting for your campaign. Use this when you want to show ads to users within a certain distance from a specific geographic point. This is especially useful for local businesses or location-based services.locations
is not provided.negative_locations
is an array of location IDs
that you want to exclude from the campaign targeting. To get the locationId
reference get location API.PRESENCE
, PRESENCE_OR_INTEREST
geo_target_type
is PRESENCE
.ads
defines the list of ad creatives to be used in the campaign. Each entry includes the destination URL
, multiple headlines
and descriptions
(as arrays of strings), along with optional fields to pin a specific headline or description to the top position in the ad.conversionEvents
is an array of strings that define the desired conversion actions for the campaign. To get the conversion categories reference get conversion action API.objective
is “CONVERSION”.phoneNumberCountryCode
is required if phoneNumber
is provided.locationGroupId
by calling the Create Location Group API.