true[X] Web Service Ad API

Server-side ad request API. A GET against the versioned endpoint with a placement key, user id, IP and user agent returns a JSON `ad` object (creative id, campaign id, window URL and dimensions, currency amount, revenue amount, session id) or an error object when no bid is available. Intended for server-side implementations; the returned ad object can be handed to the true[X] JavaScript client via `prepareAd` for client-side event handling. Pairs with a signed server-to-server engagement callback.

API entry from apis.yml

apis.yml Raw ↑
aid: truex-media-web-service-ad-api
name: true[X] Web Service Ad API
description: Server-side ad request API. A GET against the versioned endpoint with a placement key, user
  id, IP and user agent returns a JSON `ad` object (creative id, campaign id, window URL and dimensions,
  currency amount, revenue amount, session id) or an error object when no bid is available. Intended for
  server-side implementations; the returned ad object can be handed to the true[X] JavaScript client via
  `prepareAd` for client-side event handling. Pairs with a signed server-to-server engagement callback.
humanURL: https://github.com/socialvibe/truex-ads-docs/blob/master/web_service_ad_api.md
baseURL: https://get.truex.com/v2
tags:
- Ad Serving
- Advertising
- Video Advertising
properties:
- type: Documentation
  url: https://github.com/socialvibe/truex-ads-docs/blob/master/web_service_ad_api.md
- type: APIReference
  url: https://github.com/socialvibe/truex-ads-docs/blob/master/web_service_ad_api.md