Video Ads
Table of Contents
Pugpig supports preroll video adverts, in article, on direct video files (mp4, m3u8). These are video adverts that play before the video, but after the user clicks the play button. On completion, or when skipped, the video will automatically start.
The type of adverts served are Video Ad Serving Template (VAST) adverts. VAST ads can be set up in your Google Ad Manager (GAM) account.
The length of the advert, clickthrough URL, and whether it is skippable or not can be set in your GAM account.
Targeting and Passed Parameters
Pugpig's integration uses the IMA HTML5 SDK. Pugpig supports all required and recommend parameters for web. Pugpig also supports all required and recommended parameters for Programmatic ads.
Certain parameters are set automatically by the SDK. The following are set by Pugpig:
cust_params: a list of key value pairs for custom targeting. This will automatically include any taxonomy the article, that the advert is shown on, has. These can be targeted in your GAM account
description_url: See url
env: ‘vp’
gdfp_req: 1
hl: The language that the HTML page is set too. Typically, this is the language set in General Settings in Express CMS
iu: The ad unit ID
output: ‘vast’
plcmt: 2 - this corresponds to an accompanying content request as defined in IAB specification
sz: ‘400x300|640x480’
unviewed_position_start: 1
url: The URL the video is playing on, this is set to the vanity domain for both web and native apps
vpa: ‘click’
vpmute: 0
vpos: ‘preroll’
Analytics
The IMA3 HTML5 SDK automatically tracks various analytics. Impressions and clicks can be seen in your GAM account. Extra advert analytics can also by tracked to a third party URL on the creative in your GAM account.
Example
This is a static video of a what video VAST ad looks like in the HTML: