how to target a geofence

134 views
Skip to first unread message

Sushil kumar

unread,
Sep 13, 2023, 6:50:54 AM9/13/23
to Google Ads API and AdWords API Forum
As seen in the picture, I'd like to serve ADs to people who enter a certain region, Any help is greatly appreciated. 
Picture

Message has been deleted

Google Ads API Forum Advisor

unread,
Sep 14, 2023, 3:35:15 AM9/14/23
to rpsus...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team.

I understand that you want to serve ads for a certain region, could you please confirm whether you are using Google Ads UI or Google Ads API?

If you are using the API, the Google Ads API lets you target your ads by country, region, or proximity around a specific geographical point. You can 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.

You can add geo targets to your campaigns using the CampaignCriterionService. Please check this Java sample code snippet which shows how to target your campaign with a criterion ID. You may refer to the 'Location Targeting' guide to know more information. 

If you are using Google Ads UI, I would recommend reaching out to the Google Ads Product support team, since billing related issues/queries are handled by the Google Ads Product support team. Please note that we can only assist with technical queries/concerns related to the Google Ads API.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2oksKF:ref"

Thanks,
 
Google Logo Google Ads API Team


Sushil kumar

unread,
Sep 14, 2023, 8:10:15 AM9/14/23
to Google Ads API and AdWords API Forum
thanks, using google ads API.
can you tell me how can I target below geofence (as shown in the picture) as location in campaign?
Screenshot 2023-09-14 at 5.36.15 PM.png

Sushil kumar

unread,
Sep 14, 2023, 8:16:50 AM9/14/23
to Google Ads API and AdWords API Forum
how do you guys target cities internally, must be some kind of geofence logic?

Google Ads API Forum Advisor

unread,
Sep 15, 2023, 4:51:47 AM9/15/23
to rpsus...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

Location targeting lets you select specific locations where you want your ad to be shown. For most campaign types, you can choose locations for your ads to show. For example, you can choose entire countries, areas within a country like cities or territories, and even a radius around a location.

Please find answers below for your queries:

1. Why do you mean by region can I target any random geofence (customised ones: created by me)?
Location targeting lets you serve ads to users in a particular geographical region. With location targeting, your campaigns show ads only in regions where you want your ads to be served. You may check Geo target campaigns for a region. It is not possible to create a custom geo location. To see the full list of available location targets in Google Ads, including specific countries, cities, regions and more, take a look at the Targets table.

2. What is maximum number of proximities can be targeted in a campaign using ads API?
As per the article, proximity targeting or "Target a radius" allows you to choose to show your ads to customers within a certain distance from your business. You can check Target campaigns for proximity to a location for more information.

3. Interested in know how you guys target a city, you must have some city's geofence map data points?

how do you guys target cities internally, must be some kind of geofence logic?
Please refer to the Targets table to know the Name, Criteria ID, Country Code and all other related details to target city.

4. could you plz tell me how can I target below geofence (show below) as location in a campaign?
As you want to target even more precisely than a city or country. For example, you may want to advertise your ads within 10 kilometers. In such cases, you can use proximity targeting. The sample java code to create a proximity target is similar to adding a location target, except that you have to create a ProximityInfo object instead of a LocationInfo object. Hope this helps.
Reply all
Reply to author
Forward
0 new messages