# true[X] Web Service Ad API

**Canonical:** https://apis.io/apis/truex-media/truex-media-web-service-ad-api/  
**Provider:** Truex Media — https://apis.io/providers/truex-media/  
**Base URL:** https://get.truex.com/v2  
**Documentation:** https://github.com/socialvibe/truex-ads-docs/blob/master/web_service_ad_api.md

true[X] Web Service Ad API is one of 3 APIs that [Truex Media](https://apis.io/providers/truex-media/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Ad Serving, Advertising, and Video Advertising. The published artifact set on APIs.io includes API documentation and an API reference.

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.

## Machine-readable artifacts (3)

- **Documentation** — https://github.com/socialvibe/truex-ads-docs/blob/master/web_service_ad_api.md
- **APIReference** — https://github.com/socialvibe/truex-ads-docs/blob/master/web_service_ad_api.md
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/truex-media/refs/heads/main/apis.yml

## Other Truex Media APIs (2)

- [true[X] Reporting API](https://apis.io/apis/truex-media/truex-media-reporting-api/)
- [true[X] JavaScript Ad API](https://apis.io/apis/truex-media/truex-media-js-ad-api/)

## Tags

Ad Serving, Advertising, Video Advertising

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/truex-media/truex-media-web-service-ad-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/truex-media/.
