VPAID Implementation Guide
- 1 Background
- 2 Parameters
- 2.1 Special cases
- 2.2 Macros
- 2.3 Parameters
Background
Aniviewâ„¢ vast-vpaid tag is a vast tag returning Aniview ad manager VPAID JS media.
Any player that supports Javascript VPAID tags can work with the Aniview VPAID tag.
Example tag url:
Parameters
The following parameters can be passed in the URL.
Special cases
When using a combination of:
Our VPAID
3rd party player
Sound on
Click to play
Then please add:
&usevslot=1&imaiosskip=false&plcmt=1&soundbutton=true
Otherwise ads might get stack, not work on iOS, etc.
See below for info on each of these.
Macros
All AV_ or custom macros can be passed in the tag URL. Below is a list of required and frequently used macros:
 | Notes | Web | InApp |
---|---|---|---|
AV_PUBLISHERID | Publisher Id | Required | Required |
AV_CHANNELID | Channel Id | Required | Required |
AV_CONSENT | consent string | Recommended to avoid latency | Recommended to avoid latency |
AV_GDPR | 0/1 | Recommended | Recommended |
AV_URL | URL Encoded of current page url | Optional | Â |
AV_APPNAME | App name as appears in the appstore | Â | Recommended |
AV_APPPKGNAME | App bundle/package name | Â | Required |
AV_APPSTOREURL | URL to app page in appstore | Â | Recommended |
AV_IDFA or AV_AID | IDFA/Advertiser id | Â | Required |
AV_LATITUDE | Latitude | Â | Recommended |
AV_LONGITUDE | Longitude | Â | Recommended |
AV_WIDTH | Player width | Recommended | Recommended |
AV_HEIGHT | Player height | Recommended | Recommended |
Additional AV_ or custom macros can be passed as well | Â | Â | Â |
 |  |  |  |
Parameters
It is also possible to pass adConfig parameters in the tag URL. Below is a list of parameters that are frequently used.
Important note: All adConfig parameters must be passed in lowercase.
Parameter | Values | Description |
---|---|---|
skip | false - default true | Show skip button |
skiptimer | Number | Skip timer in seconds. Must be > 0 To enable skip button after 3 sec add &close=true&closetimer=3 |
soundbutton | false - default true | Enable sound button to possible issues with sound in iOS |
logo | true - default false | Show or don't show logo |
usevslot | false - default true - Required for sound on | Set to true if: this is a preroll/midrol and requires syncing sound on/off with the player The vpaid is running in a 3rd party iframe using Google IMA |
hidecontrols | true - default in vpaid false | By default, all controls and progress bar are not visible. To enable, add &hidecontrols=false |
imaiosskip | true - default | Must be set to false with usevslot=true and plcmt=1 for click to play sound on |
plcmt | 1 - instream sound on | Placement |
vastretry | 0 - default Number up to 5 | Number of times to retry running the waterfall before sending AdError. |
autosounddetect | false - default | Set to true to force the Ad to run with sound on, regardless of the Player running with sound off. |
autosoundvolume | Range between 0 to 1 | Applies a value that defines the volume the Ad will play at. |
showbigplay=false&showpreloader=false | Â | Hide spinners when the vpaid loads |
iiqpartner | Â | Intentiq partner id |