Skip to main content
Player-Supported Macros
Updated over a year ago

The table below presents supported macros that can be used when implementing ad tags in Anyclip's self-served monetization player

No.

Macro

Description

1

$[cb]

Cache Buffer

2

$[publisherId]

Publisher ID

3

$[widgetId]

Widget ID

4

$[clipId]

Video ID

5

$[pageUrl]

Current Page URL

6

$[width]

Video Width

7

$[height]

Video Height

8

$[ip]

Client IP Address (“0.0.0.0” when IP wasn’t found)

9

$[ua]

User Agent

10

$[domain]

Domain

11

$[cd]

Consent data string

12

$[gdpr]

Consent data found

13

$[device]

Device type (Desktop=1 , Mobile=2)

14

$[geo]

Geo Country Code

15

$[schain]

Supply chain data

16

$[us_privacy]

CCPA API response

Did this answer your question?