Creative macros

The public macros Adnex DSP fills in creatives: click URL, campaign, line item, creative and seat IDs, custom events and form submit.

Status: Partly available. Each feature’s state is marked on the page. Last updated 26/11/2026. Source: https://adnex.io/resources/creatives/macros

Macros are placeholders in your creative that Adnex DSP fills at serve time. Adnex’s public macros use square brackets.

Public macros

Macro Filled with
[CLICK_URL] The click-through address, through Adnex’s click resolver
[CAMPAIGN_ID] The serving campaign
[LINE_ITEM_ID] The serving line item
[CREATIVE_ID] The creative
[SEAT_ID] The seat that owns the campaign
[EVENT_1] to [EVENT_10] Custom events, such as survey answers
[FORM_SUBMIT] A form submission

A macro that fills a random number per impression, for cache busting, is coming next.

What is not public

Prices, exchange IDs and Adnex’s own exchange seat ID are never available as macros. Exchange and internal macros are hidden from every screen. When you save a creative that contains one, the platform removes it and tells you.

Video

Official VAST macros pass through unchanged inside video tags, because the video player fills them.