Publica Macros
See table below for supported macros in VAST tags for Direct Campaigns, Brand Safety tracking URLs, and for Bidders using a VAST tag ('Other (Vast tag)' bidder type):
...
Macro | Description | Value example | ||
---|---|---|---|---|
| Ad duration, in seconds Note: This macro is currently only supported for Direct Campaigns and Brand Safety Event Trackers. |
| ||
| App bundle |
| ||
| App domain |
| ||
| App name |
| ||
| Encoded app name |
| ||
| App store URL |
| ||
| Encoded app store URL |
| ||
| Buyer UID |
| ||
| Random number |
| ||
| GDPR Consent string |
| ||
| IAB category |
| ||
| Content Channel |
| ||
| Content Context |
| ||
| Content Distribution ID | |||
| Content Distribution Name | |||
| Content Episode Number |
| ||
| Encoded content genre |
| ||
| Content ID |
| ||
| Comma separated list of keywords describing the content |
| ||
| Content language using ISO-639-1-alpha-2 |
| ||
| Length of content in seconds |
| ||
| Content Network | |||
| Production quality |
| ||
| Content producer or originator ID | |||
| Content producer or originator name |
| ||
| Content Rating |
| ||
| Content Season |
| ||
| Encoded content series |
| ||
| Encoded content title |
| ||
| COPPA compliance |
| ||
| 3-letter country code |
| ||
| Custom 4 value | User defined | ||
| Custom 5 value | User defined | ||
| Custom 6 value | User defined | ||
| Custom 7 value | User defined | ||
| Custom 8 value | User defined | ||
| Return the value in the | |||
| User device ID. In Publica, DID is synonymous with IDFA, IFA, TIFA, etc. |
| ||
| Post-auction value to identify demand partner of won impression |
| ||
| Device Language |
| ||
| Device make |
| ||
| Encoded device make |
| ||
| Device model |
| ||
| Encoded device model |
| ||
| Device Operating System |
| ||
| Device Operating System version |
| ||
| Device type |
| ||
| Device type (encoded version) |
| ||
| Device ID type |
| ||
| Nielsen DMAs |
| ||
| Same value as |
| ||
| Request subject to GDPR regulation |
| ||
| Gender |
| ||
| Genre ID | |||
| Device’s screen height (in px) |
| ||
| Return the value in the |
| ||
| User IP |
| ||
| Encoded user IP |
| ||
| Request subject to limited ad tracking regulation |
| ||
| Is livestream enabled |
| ||
| Maximum duration of an ad in seconds. Should be smaller than the pod duration. |
| ||
| Maximum accepted bitrate in kbps | 8000 | ||
| Minimum duration of an ad in seconds |
| ||
| Minimum bit rate in Kbps |
| ||
| Encoded Page URL |
| ||
| Duration of the ad pod in seconds | 60 | ||
| Position |
| ||
| Preferred Language |
| ||
| Rights Holder | |||
| SCHAIN string value |
| ||
| Session ID |
| ||
| Channel ID |
| ||
| Return the value in the | |||
| Return the page url value in the site page param. |
| ||
| Number of ad slots to fill for a pod |
| ||
| SSAI Enabled |
| ||
| SSAI Vendor | |||
| Targeted Device |
| ||
| Unix Timestamp | 126345 | ||
| Post-auction value of impression ID for tracking. |
| ||
| Encoded user agent |
| ||
| US Privacy string (CCPA Compliance) |
| ||
| Device’s screen width (in px) |
| ||
| User’s year of birth |
|
...
Passthrough Macros
Publica supports the pass through of user defined query parameters and their values via our custom pass through macros. These macros are reserved for the query parameter values that Publica does not currently support. A common use case would be if you need to pass many different custom values to Publica in which our existing custom_n
macros cannot fully cover.
...