Local Services campaigns let you advertise your business on Google and receive leads directly from potential customers. This guide summarizes the supported operations and restrictions in the current version of the Google Ads API.
Supported operations
Retrieve Local Services campaigns and budgets
Local Services campaigns and budgets can be retrieved using the
GoogleAdsService.Search
or
GoogleAdsService.SearchStream
method to query for the campaign resources where
advertising_channel_type = 'LOCAL_SERVICES'
. Here is an example:
SELECT
campaign.id,
campaign.status,
campaign_budget.id,
campaign_budget.period,
campaign_budget.amount_micros,
campaign_budget.type
FROM campaign
WHERE campaign.advertising_channel_type = 'LOCAL_SERVICES'
Edit Local Services campaigns
You can update the campaign's status
and the
associated campaign budget's
amount_micros
fields.
Set the bidding strategy of Local Services campaigns
You can set the following bidding strategies as the standard bidding strategy of Local Services campaigns:
ManualCpa
by setting the fieldmanual_cpa
You can set the bids of
ManualCpa
throughLocalServicesCampaignSettings.category_bids
. You can retrieve and setLocalServicesCampaignSettings
of Local Services campaigns thoughCampaign.local_services_campaign_settings
.MaximizeConversions
by setting the fieldmaximize_conversions
Set an ad schedule as a campaign criterion
You can set an ad schedule for a Local Services campaign as a campaign criterion.
Create an AdScheduleInfo
and set it to the
ad_schedule
of the
CampaignCriterion
that is sent to the Google Ads API, using
CampaignCriterionService.MutateCampaignCriteria
.
Set location targeting
To enable location targeting for a Local Services campaign, add a
LocationInfo
and set it to the
location
of the
CampaignCriterion
that is sent to the Google Ads API, using
CampaignCriterionService.MutateCampaignCriteria
.
For more details, see Location
targeting.
Target specific service types
To enable targeting for a specific service type, add a
LocalServiceIdInfo
and set it to the
type of
service.
You should use a service ID that matches your campaign's targeting location and category.
Unsupported operations
The restrictions listed in the following table can change in future versions of the Google Ads API.
Unsupported operations | |
---|---|
Create and remove campaigns | The Google Ads API blocks creation of new Local Services campaigns. |
Operations on sub-entities in a campaign | The Google Ads API does not support the creation, modification, removal, or retrieval of ad groups, ads, or criteria in Local Services campaigns. |