ProximityInfo
Stay organized with collections
Save and categorize content based on your preferences.
A Proximity criterion. The geo point and radius determine what geographical area is included. The address is a description of the geo point that does not affect ad serving.
There are two ways to create a proximity. First, by setting an address and radius. The geo point will be automatically computed. Second, by setting a geo point and radius. The address is an optional label that won't be validated.
Fields |
geo_point
|
GeoPointInfo
Latitude and longitude.
|
radius_units
|
ProximityRadiusUnits
The unit of measurement of the radius. Default is KILOMETERS.
|
address
|
AddressInfo
Full address.
|
radius
|
double
The radius of the proximity.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-12 UTC."],[[["Proximity targeting uses a geographic point and radius to define the targeted area."],["You can create a proximity by specifying an address and radius, which automatically calculates the geographic point."],["Alternatively, define a proximity using a specific geographic point and radius, with an optional address label for reference."],["`geo_point`, `radius_units`, `address`, and `radius` are the key fields used to configure proximity targeting."]]],[]]