GSM360 geo-targets every impression using
the user's device IP from the bid request, resolved to a location through
MaxMind.
This guide explains:
- How GSM360 determines a user's
location for geo-targeting
- Why your tracking or MMP reports may show a different location, and
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:
- The ad exchange sends a bid
request containing the user's device IP.
- GSM360 looks up this IP in MaxMind.
- MaxMind returns the user's country, state, city, ISP and connection
type.
- GSM360 checks this against your
campaign's geo-targeting settings.
- 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.
Note: 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
- Click: https://geospot.com/5345r?bid_id={CONVERSION_ID}&user_ip={USER_IP}
- Impression: https://geospot.com/impression/52682?bid_id={CONVERSION_ID}&user_ip={USER_IP}
Parameter
Mapping
- bid_id = {CONVERSION_ID} - mandatory GSM360 macro that tracks the unique bid ID
- 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
- Open your tracking/MMP platform
and locate the click and impression URLs for your GSM360 campaign.
- Append the {USER_IP} macro to
both URLs as shown above.
- 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.
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
- GSM360 geo-targets using the
bid request IP, looked up in MaxMind
- Your tracking/MMP platform may
report location from the event IP instead
- Add the {USER_IP} macro to your click and impression URLs
- Compare the captured user IP
with your platform's event IP to verify location