Ads API Geotarget Polygons for Additional Feature Types

76 views
Skip to first unread message

Levi Kline

unread,
Jan 21, 2024, 7:06:15 PM1/21/24
to Google Ads API and AdWords API Forum
Background: The Google Ads API provides access to geo target constants and their basic details, but not their polygons. The Google Maps API recommends using data-driven boundaries (see documentation), but not all of the geo targets (link to geo targets) are included in the available Google boundaries (link to supported boundaries).

Example: The Google Ads API Suggestion Service provides a target - 9073451 (San Francisco Bay Area) - which can be identified using the Google Maps API with a PlaceID of ChIJtdeIpqODhYARqR9GV4QbiYw. However, this does not fall under the supported boundary types (ex. `LOCALITY`) of the Maps API, so its exact polygon cannot be drawn / determined.

Problem/Question: It is not possible to render or determine the polygon of a Google Ads geo target using the standard Google Maps API because of its unsupported boundary type. However, in the Google Ads Console, the Google Ads API directly passes the correct polygon via an endpoint not listed in the documentation ("GeoTargetService/ListGeoTargetsV2"). Is there any way to access this polygon data via the Google Ads API or the Google Maps API so that the geo target location can be rendered on a Map?

Google Ads API Forum Advisor

unread,
Jan 22, 2024, 2:31:52 AM1/22/24
to le...@usestyle.ai, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that you need information regarding geo target location.

Could you confirm whether you are using Google Ads API or Google Maps API? If you are using Google Ads API I would recommend you check how to target campaigns to any geographical region for which Google Ads supports location targeting, for instance, a country, a state, a city, or a postal region. Each targetable location is uniquely identified by a Criterion ID. You can look up a criterion ID using GeoTargetConstantService.SuggestGeoTargetConstants. The resource_name of each GeoTargetConstant is of the form geoTargetConstants/{Criterion ID}. For example, the resource_name value of New York state is geoTargetConstants/21167.

Kindly refer to this guide on how to add geo targets to your campaigns using the CampaignCriterionService.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 

This message is in relation to case "ref:!00D1U01174p.!5004Q02rXtBZ:ref"

Thanks,
 
Google Logo Google Ads API Team


 

Reply all
Reply to author
Forward
0 new messages