VMAP - Video Multiple Ad Playlist
Client-side integration
Â
Channel In-app template
Change location to gov.aniview.com/api/adserver/vmap/srv/?
Insert VMAP query parameters
gov.aniview.com/api/adserver/vmap/srv/?AV_PUBLISHERID=XXXXXXXXXXX&AV_CHANNELID=XXXXXXXXXXXXX&cb=[TIMESTAMP_MACRO]&AV_WIDTH=[WIDTH_MACRO]&AV_HEIGHT=[HEIGHT_MACRO]&AV_APPNAME=[APPNAME_MACRO]&AV_APPSTOREURL=[APPSTOREURL_MACRO]&AV_APPPKGNAME=[BUNDLE_ID_MACRO]&AV_IDFA=[IDFA_MACRO]&AV_LATITUDE=[LATITUDE_MACRO]&AV_LONGITUDE=[LONGITUDE_MACRO]&AV_CCPA=[CCPA_MACRO]&AV_GDPR=[GDPR_MACRO]&AV_CONSENT=[CONSENT_MACRO]&preroll=1&postroll=1&midroll_interval_ms=10000&vid_d=100&midroll_times=00:10:23,00:14:56,01:23:12
Channel WEB template
gov.aniview.com/api/adserver/vmap/srv/?AV_PUBLISHERID=XXXXXXXXXXX&AV_CHANNELID=XXXXXXXXXXX&AV_URL=[URL_MACRO]&cb=[TIMESTAMP_MACRO]&AV_WIDTH=[WIDTH_MACRO]&AV_HEIGHT=[HEIGHT_MACRO]&AV_CCPA=[CCPA_MACRO]&AV_GDPR=[GDPR_MACRO]&AV_CONSENT=[CONSENT_MACRO]&preroll=1&postroll=1&midroll_interval_ms=10000&vid_d=100&midroll_times=00:10:23,00:14:56,01:23:12
VMAP Parameters
Location gov.aniview.com/api/adserver/vmap/srv/?……
Aniview VMAP supports the following query parameters:
&preroll=1&postroll=1&midroll_interval_ms=10000&vid_d=100&midroll_times=00:10:23,00:14:56,01:23:12
Preroll:
Query String | Description | Value | Example |
---|---|---|---|
preroll | Enables preroll in VMAP | boolean | preroll=1 |
Postroll:
Query String | Description | Value | Example |
---|---|---|---|
postroll | Enables postroll in VMAP | boolean | postroll=1 |
Midrolls:
Query String | Description | Value | Example |
---|---|---|---|
vid_d | The video duration in seconds | Integer | vid_d=100 |
midroll_interval_ms | Interval in milliseconds | Integer | midroll_interval_ms=10000 |
midroll_interval | Interval in seconds | Integer | midroll_interval=100 |
midroll_times | Specific times to play ads in the format of hh:mm:ss. | string | midroll_times=00:10:23,00:14:56,01:23:12 |
Â