How to Use Coordinates Instead of Zip Codes in Location-Based Campaigns

While targeting by zip code may seem straightforward, many supply partners don’t pass zip code information in bid requests, making it unreliable for accurate targeting. To overcome this, coordinates (latitude and longitude) are the preferred method for precise and scalable location targeting.

Two Smart Options

Option A: Convert Zip Codes to Coordinates

Convert your list of zip codes into latitude/longitude pairs and use them directly in your campaign setup.

Tools for Conversion:

You’ll receive a .CSV file containing the coordinates.

How to Format Your CSV File

After converting zip codes to coordinates, make sure to structure your CSV file as follows:

Format:
Latitude;Longitude;Radius;Area Name

  • Latitude/Longitude: Must retain at least 4 decimal points.

  • Radius: Entered in meters (e.g., 25,000 meters = 25 km).

  • Area Name: Optional but helpful for campaign clarity.

Important Notes:

  • Use text format for lat/long in Excel to avoid losing decimals.

  • On a Mac, export as Windows CSV format to avoid line break issues in the platform.

  • Keep each parameter in a separate column—avoid Excel auto-formatting with quotation marks.

Prefer JSON? Convert CSV to JSON:

Option B: Use Both Zip Codes and Coordinates in Parallel Strategies

If you’re not ready to fully drop zip codes:

  • Run one strategy with zip codes

  • And another using coordinates

This hybrid approach improves targeting accuracy while preserving coverage.

Switching to coordinate-based targeting increases inventory compatibility and gives you access to more precise geofencing, audience segmentation, and analytics.

Need help converting your zip list? Let us know, and we’ll guide you step-by-step.