Partager via


Required tag parameters for desktop and mobile web inventory

The required parameters for tags on Mobile Web inventory are id and referrer. However, you'll need additional parameters such as width and height to monetize your inventory, unless these values have been set on the placement.

Parameter Type Required? Compatible Handlers Description
id string Yes ptv, ssptv, vmap, ssvmap The unique ID of the placement where the ad will serve. If you'd rather not pass the raw placement ID, you can pass in a combination of member and inv_code parameters. For more information, see "Target Video Attributes via Query Parameters."
referrer string Required for desktop and mobile web only ptv, ssptv, vmap, ssvmap The URL where the ad will be rendered
vcontext int Required to monetize inventory ptv, ssptv Position of the video placement. Possible Values:
- 1 - Linear Pre-roll
- 2 - Linear Mid-roll
- 3 - Linear Post-roll
- 4 - Outstream
vframeworks int Required to monetize inventory ptv, ssptv, vmap, ssvmap Frameworks supported by the player. Possible values:
- 1 - VPAID 1.0
- 2 - VPAID 2.0
- 3 - MRAID-1
- 4 - MRAID-2
- 5 - ORMMA
- 6 - OMID-1
Note: vframeworks supports single as well as a list of comma-separated integer values. For example,
vframeworks=1,2,3
or
vframeworks=1.
vheight int Required to monetize inventory ptv, ssptv, vmap, ssvmap Player height (in pixels). While not required, this parameter is recommended in order to ensure video bidders receive both width and height on bid requests.
vmaxduration int No ptv, ssptv, vmap, ssvmap For single requests, this is the maximum video placement duration in seconds. Any creative with a duration longer than this value will be excluded from the auction. For podded inventory, this is the length of the full pod.
vwidth int Required to monetize inventory ptv, ssptv, vmap, ssvmap Player width (in pixels). While not required, this parameter is recommended in order to ensure video bidders receive both width and height on bid requests.