Geo-Targeting on GSM360

Geo-Targeting on GSM360

GSM360 geo-targets every impression using the user's device IP from the bid request, resolved to a location through MaxMind.

This guide explains:
  1. How GSM360 determines a user's location for geo-targeting
  2. Why your tracking or MMP reports may show a different location, and
  3. How to use the {USER_IP} macro to verify the IP on your end.
Note: This article assumes familiarity with tracking concepts and is written for advertisers and media buyers who use a tracking platform or MMP.


How Geo-Targeting Works on GSM360

GSM360 determines a user's location from the IP address received from the ad exchange in the bid request.

Steps:
  1. The ad exchange sends a bid request containing the user's device IP.
  2. GSM360 looks up this IP in MaxMind.
  3. MaxMind returns the user's country, state, city, ISP and connection type.
  4. GSM360 checks this against your campaign's geo-targeting settings.
  5. GSM360 bids only if the traffic matches the targeted location.
The location used for targeting always comes from the bid request IP, not from any IP recorded later by your tracking platform.


Why You May See a Different Location in Your Reports

Two different IPs are involved in every impression and click, and they do not always match.

IP Type
What It Is
 Used By
Bid Request IP
The actual user/device IP received from the ad exchange
GSM360, for geo-targeting
Event IP
The IP recorded when an impression or click event reaches your tracking/MMP platform
Your tracking/MMP platform, for reporting

Example: Your tracking platform may record the IP of the server that sends the event rather than the user's actual device IP. That server can sit in a different city, state or country, so your report shows that location instead of the user's.


InfoNote: A location mismatch in your tracking or MMP report does not mean the traffic was outside your geo-targeting. GSM360 targeted it using the original user IP from the bid request.


Verifying the User IP with the {USER_IP} Macro

Add the {USER_IP} macro to your click and impression URLs to capture the same user IP GSM360 used for targeting, and verify it on your end.

Sample URLs

  1. Click: https://geospot.com/5345r?bid_id={CONVERSION_ID}&user_ip={USER_IP}
  2. Impression: https://geospot.com/impression/52682?bid_id={CONVERSION_ID}&user_ip={USER_IP}

Parameter Mapping

  1. bid_id = {CONVERSION_ID} - mandatory GSM360 macro that tracks the unique bid ID
  2. user_ip = {USER_IP} - replaced with the user's IP address for the impression or click (e.g. 45.51.3.76); rename user_ip to whatever parameter your tracking platform expects

Where to Add This

  1. Open your tracking/MMP platform and locate the click and impression URLs for your GSM360 campaign.
  2. Append the {USER_IP} macro to both URLs as shown above.
  3. Update the URLs in your GSM360 campaign and save.

Best Practices

Compare the IP passed through {USER_IP} with the event IP your tracking platform records. If they differ, the mismatch comes from the event IP, not from GSM360's targeting.

All macros are dynamically replaced by GSM360 at impression or click time.

The full list of macros is available here.



Summary

GSM360 uses the user IP received in the bid request + MaxMind for geo-targeting. If your tracking/MMP report shows a different location, it may be because it is using the event IP, which can differ from the original user IP.

Final Checklist

  1. GSM360 geo-targets using the bid request IP, looked up in MaxMind
  2. Your tracking/MMP platform may report location from the event IP instead
  3. Add the {USER_IP} macro to your click and impression URLs
  4. Compare the captured user IP with your platform's event IP to verify location