Js Tag¶
Js Tag Integration Guide
Introduction¶
A js tag URL is used by a website retrieve banner ads. You can manually assemble a js tag URL or modify an existing URL using the macros below.
Example¶
https://rtb.ssp.metaxads.com/ads/html?pubid=601423144&adunit=345864&secure=1&w=300&h=250&lang=en&url=https%3A%2F%2Fdomain.com &referer=https%3A%2F%2Fgoogle.com&cb=6901873088
Macros¶
Parameter
|
Macro
|
Path in OpenRTB
|
CTV/IA
|
Description
|
---|---|---|---|---|
pubid |
[PUBLISHER_ID] |
ALL |
Specifies the seller’s publisher ID. MetaX provides publisher ID |
|
adunit |
[ADUNIT] |
ALL |
The seller’s Ad Unit ID. MetaX provides Ad Unit ID |
|
lang |
[LANGUAGE] |
device.language |
ALL |
Content language using ISO 639-1 standard. |
w |
[WIDTH] |
imp.w |
ALL |
Width of the video player in device independent pixels (DIPS). |
h |
[HEIGHT] |
imp.h |
ALL |
Height of the video player in device independent pixels (DIPS). |
secure |
[SECURE] |
imp.secure |
ALL |
Flag to indicate if the impression requires secure HTTPS URL creative assets and markup, where 0 = non-secure, 1 = secure. |
url |
[URL] |
site.page |
ALL |
URL of the page where the impression will be shown. |
referer |
[REFERER] |
site.ref |
ALL |
Referrer URL that caused navigation to the current page. |
sourceid |
[SOURCEID] |
ALL |
ID of traffic source. |
|
cb |
[RANDOM] |
ALL |
A random integer to avoid browser caching. |