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-11-25 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-11-25 UTC."],[[["Proximity targeting uses a geographic point and radius to define the targeted area for ad serving."],["You can create a proximity by specifying an address and radius, which automatically calculates the geographic point, or by directly setting the geographic point and radius."],["The address serves as a descriptive label and doesn't influence ad targeting, while the radius defines the coverage area around the geographic point."],["`geo_point`, `radius_units`, `address`, and `radius` are the key fields used to define a proximity for targeting."]]],[]]