adTypes parameter.
Display ads work across any digital page. They are particularly effective on search results pages, where dynamic keyword targeting can be applied based on the user’s active search criteria.
Requesting display ads
POST to the display ad endpoint at page load. Authentication is required via headers — see Authentication. Endpoint:POST https://dev.api.upliftads.io/v3/display-ad
Request parameters
Keyword targeting
For search results pages, keywords are dynamic values derived from the user’s active search. Each keyword follows aKey.Value format.
The targeting keys above are examples for a travel/OTA use case. Your account manager will confirm the agreed keyword taxonomy for your property during onboarding.
Response
A successful response contains the banner dimensions and image URL to render.Response fields
The clickUrl
The clickUrl serves a dual purpose — it acts as both a click counter and a redirect to the ad’s destination. When a user clicks the ad, direct them to the clickUrl; the Uplift engine will record the click and redirect to the advertiser’s destination URL automatically.
Handling empty responses
If no ads are available, the response will be empty.- If the ad position has no surrounding content — collapse the div so no blank space appears.
- If the ad position is required to fill space on the page — Platform 195 will ensure an ad is always returned for that zone.
Reporting
See Tracking Ad Engagement for full details on firing impression, click, viewable impression, and conversion tracking URLs.Evidencing
Wrap each display ad placement in adiv with a class of FID_ followed by the flightId from the response: