Skip to main content

IP override for server-side connections

What

ForBy default, all ad requests to the Adhese adserver will make use of the IP of the device that sends the request for all IP related logic such as geo location targeting.

This behaviour makes it impossible to set up user based location targeting in server to server connectionssetups betweenas Adhesethe clients, using geotargeting based on IP addressadserver would normally result in the server's ID address to be returned in the request. This is not ideal for most geotargeting use cases.

Adhese has a setting to pass the end user's IP address via X-Forwarded-For in the request. When this is set, the server's IP addressand is overwritten innot the requestone andof the end user.

To solve this, Adhese provides functionality that overrides the server's IP with the user's IP.

How

The user's IP can be added to the request via the X-Forwarded-For header. This header will be picked up by the adserver and override the normal IP address from which the request is sent instead. send.

Please contact Support if you’d like to make use of this feature.