Geo targeting for on-device decisioning
To maintain minimal latency for on-device decisioning activities with geo-based audiences, Adobe recommends you provide the geo values yourself in the call to getOffers. Set the Geo object in the Context of the request. This means from the browser, a way to determine the location of each visitor. For example, you can perform an IP-to-Geo lookup, using a service you configure. Some hosting providers, such as Google Cloud, provide this functionality via custom headers in each HttpServletRequest.
However, if you are not able to perform IP-to-Geo lookups on your server, but you still want to perform on-device decisioning for getOffers requests that contain geo-based audiences, this is also supported. The downside of this approach is that it uses a remote IP-to-Geo lookup, which adds latency to each getOffers call. This latency should be lower than a getOffers call with server-side decisioning, because it hits a CDN that is located close to your server. Provide only the “ipAddress” field in the Geo object in the Context of your request for the SDK to retrieve the geo-location of your visitor’s IP address. If any other field in addition to the “ipAddress” is provided, the Target SDK will not fetch the geo-location metadata for resolution.
Allocation method
The following table indicates which allocation methods are supported or not supported for on-device decisioning.
| Allocation method | Supported? |
|---|---|
| Manual | Yes |
| Auto-allocate to best experience | No |
| Auto-target for personalized experiences | No |
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe Target Roadmap Webinar - Americas & EMEA
Preview the Adobe Target roadmap and ask the product team your questions live.
Adobe Target Roadmap Webinar - Americas & APAC
Preview the Adobe Target roadmap and ask the product team your questions live.