Link Search Menu Expand Document


Geographic Targeting


Last updated on April 12, 2018

While you are setting up or editing a line item, you can target or block specific user locations. For example, an airline has a campaign for discount airfares from Burbank, California. You can use geographic targeting to display the airline’s ads to users in Los Angeles since Burbank serves the Los Angeles area.

When otherwise unavailable, a user’s physical location is determined using a third-party geolocation service to translate a user’s IP address into an actual physical location. This process is not always accurate. To optimize accuracy, keep in mind that the broader you keep the geographic targeting attribute, the more accurate the location translation will be. For example, targeting based on the continent attribute is more accurate than targeting based on the city attribute. It’s possible for plug-ins to determine other methods of geolocation enrichment.

Geographic Targeting Options

Geographic targeting options are as follows:

Targeting dimensionOperatorsOptions
Bounding BoxMinimum/maximum latitude and minimum/maximum longitudeSet a bounding box based on latitude and longitude.
Valid values for latitude range from -90 (South) to 90 (North).
Valid values for longitude range from -180 (West) to 180 (East).
Location• equals
• does not equal
If you choose the equals operator, you can also exclude a subset of this location.
Target or block one or more geographic locations. Type the location to find and select it. OpenX supports the following location attributes:
   • Continent
   • Country
   • State
   • Region
   • Designated market area (DMA) code
   • Metropolitan statistical area (MSA) code
   • Postal code

Note: The maximum number of postal codes you can input is 500 (total).
Location Source• equals
• does not equal
Target or block one or more of the following location sources:
   • GPS Detected (only available on mobile devices when enabled by the publisher and end-user)
   • IP Derived
   • User Info (for example, an end-user entering a postal code on a website’s registration form.)
RadiusLatitude x longitude : radiusTarget an area using a latitude, longitude, and radius (in miles).

Once you’ve chosen your targeting criteria, continue creating or editing your line item, as necessary. Alternatively, specify other targeting dimensions.