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

Query String

Description

Value

Example

preroll

Enables preroll in VMAP

boolean

preroll=1

Postroll:

Query String

Description

Value

Example

Query String

Description

Value

Example

postroll

Enables postroll in VMAP

boolean

postroll=1

Midrolls:

Query String

Description

Value

Example

Query String

Description

Value

Example

vid_d

The video duration in seconds
NOTE: Interval support must include the video duration(vid_d) in order to understand how many breaks we should add to the VMAP.

Integer

vid_d=100
(100 seconds, 1:40 minutes)

midroll_interval_ms

Interval in milliseconds
NOTE: Interval support must include the video duration in order to understand how many breaks we should add to the VMAP. (use midroll_interval_ms or midroll_interval)

Integer

midroll_interval_ms=10000
Show an ad every 10 seconds

midroll_interval

Interval in seconds
NOTE: Interval support must include the video duration in order to understand how many breaks we should add to the VMAP. (use midroll_interval_ms or midroll_interval)

Integer

midroll_interval=100
Show an ad every 100 seconds 1:40 minutes

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
Stop content and show ads in 10:23, 14:56, 1:23:12 of playtime.

Â