Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
<script>
vrv = document.vrv || {};
vrv.b = 'sampletag';
vrv.p = 'ptnriphn';
vrv.c = '999';
vrv.lat = '<INSERT_LATITUDE_HERE>';
vrv.long = '<INSERT_LONGITUDE_HERE>';
vrv.ui = '<INSERT_ADVERTISER_IDENTIFIER>';
vrv.uis = '<INSERT_ADVERTISER_IDENTIFIER_SOURCE>';
vrv.appid = '<INSERT_APP_BUNDLE_ID>';
</script>
<script src="https://cad.vrvm.com/passcustom/vrvverve/adtagpixels/vervetag/vervetag.js"></script>

Note

In the example above, the placeholders (text between the angle brackets, and the brackets themselves) should be replaced with actual values. If the tag includes these placeholders, the request may pass inaccurate/insufficient data

...

To create a tag that returns a banner every time, the following values should be used:

  • b=sampletag
  • p=ptnriphn
  • c=999

By changing the category ("c") to "888", you will get a Celtra rich media banner rather than a static image. Using this, you can test a wide range of possible Verve responses.

...

No Format
<script>
vrv = document.vrv || {};
vrv.b = 'sampletag';
vrv.p = 'ptnr';
vrv.c = '97';
</script> 
<script src="https://cad.vrvm.com/passcustom/vrvverve/adtagpixels/vervetag/vervetag.js"></script>

APP-for both iPhone and Android apps

No Format
<script>
vrv = document.vrv || {};
vrv.b = 'sampletag';
vrv.p = 'iphn';
vrv.c = '97';
</script>
<script src="https://cad.vrvm.com/passcustom/vrvverve/adtagpixels/vervetag/vervetag.js"></script>

The expandable looks like this:

...

No Format
<script>
vrv = document.vrv || {};
vrv.b = 'sampletag';
vrv.p = 'iphn';
vrv.c = '22';
</script>
<script src="https://cad.vrvm.com/passcustom/vrvverve/adtagpixels/vervetag/vervetag.js"></script> 

Screen shots of video playing in an expanded panel:

...

No Format
<script>
vrv = document.vrv || {};
vrv.b = 'sampletag';
vrv.p = 'ptnr';
vrv.c = '999';
vrv.adunit = 'inter';
vrv.size = '320x416';
</script>
<script src="https://cad.vrvm.com/passcustom/vrvverve/adtagpixels/vervetag/vervetag.js"></script>

 

The interstitial will look like this:The tag returns a javascript response similar to this: JS_Response.txt

...

No Format
<script>
vrv = document.vrv || {};
vrv.b = 'sampletag';
vrv.p = 'iphn';
vrv.c = '999';
vrv.adunit = 'inter';
vrv.size = '300x250';
</script>
<script src="https://cad.vrvm.com/passcustom/vrvverve/adtagpixels/vervetag/vervetag.js"></script>

 

This will request will return a js response as well: JS_Response_300x250.txt

...

No Format
<script>
vrv = document.vrv || {};
vrv.b = 'sampletag';
vrv.p = 'ipad';
vrv.c = '999';
vrv.adunit = 'banner';
vrv.size = '728x90';
</script>
<script src="https://cad.vrvm.com/passcustom/vrvverve/adtagpixels/vervetag/vervetag.js"></script>

 

Ad Formats and Size

...

The video tag Integration is the simplest form of integration that Verve supports for video. The Verve video tag is a simple call to a Verve VAST endpoint, which will return a VAST-compliant video ad response.  Please see below for an example.

 

No Format
https://adcel.vrvm.com/vast?p=

...

[INSERT “anap” OR “iphn”]&b=vastvrvtest&adunit=vastlinear&skip=["true" or "false"]&videoPlacement=["stream" "banner" "article" "feed" "floating"]&c=999&

...

lat=

...

[INSERT LATITUDE]&long=[INSERT LONGITUDE]&ui=[INSERT USER IDENTIFIER]&uis=[INSERT USER IDENTIFIER SOURCE/TYPE]&appid=[INSERT BUNDLE ID OR PACKAGE NAME]&sc=x&vph=[INSERT VIDEO HEIGHT]&vpw=[INSERT VIDEO WIDTH]&videomime=[INSERT VIDEO MIME TYPE]&cc=[INSERT CONTAINER CAPABILITY]&[INSERT CONTAINER CAPABILITY VERSION]

 

Required Video Parameters

...

Parameter

Name

Description

p

Portal keyword

This is a Verve-assigned value identifying the distribution portal on which the advertisement is being displayed. In most cases, a mobile website accessed directly using the publisher's hostname is on the default portal (keyword: "def"). The portal will change if the site is accessed through a mobile carrier's "deck". Mobile client applications are typically segregated by platform (e.g., iPhone, BlackBerry, Windows Mobile, etc.) using portals.

Allow Values: 'iphn' - iOS Devices; 'anap' - Android Devices

b

Partner (publisherPublisher) keywordKeyword.

This is a Verve-assigned value identifying the publisher of the mobile content. Note that there's a one-to-one relationship between a mobile site and a publisher. For example, for the Daily Planet's mobile site, the partner keyword might be "dailyplanet".

c

Content Category

This is an integer which identifies the type of content available on the page for which an ad is requested. For example, a page of sports news will have one category ID, while a page of movie reviews will have another. See  Appendix A  for a complete list of categories and codes. 

Multiple c values can be passed on the querystring as c=value1&c=value2&c=value3

uiUser IdentifierDevice ID. If a ui value is passed, the uis parameter should also be set. ui value is case sensitive. Unhashed IDFA (Apple ID) should be upper case. All other ui values, including hashed IDFA's, should be lower case.
uisUser Identifier SourceCode indicating the source or type of ID passed in the "ui" parameter. (Ignored when the "ui" parameter is not present.) By default, and in the absence of this parameter, the user identifier is assumed to be a randomly-generated ID. iOS id's must be passed as uppercase and Android id's in lower case. Refer to this section to understand the uis mapping: User Identifier Guidance. If you cannot properly set a uis value, please talk with your account manager for alternate ways to pass this data.
appidApp Bundle IdUnique key that identifies the app (e.g. iOS Bundle ID or Android App ID or Package name). This is usually in the following format: com.example.myapp
appveradunitApp VersionThis is the current version number of your app

 

Ad Unit

Valid values; vastlinear (only supported on the /vast endpoint), vastnonlinear (only supported on the /vast endpoint).

latLatitudeLatitude location of the user making the ad request. Note the "ll" parameter is the preferred method in which to supply geolocation information. Please pass the most accurate location known, which is generally GPS data pulled from the device.
longLongitude

Longitude location of the user making the ad request. Please pass the most accurate location known, which is generally GPS data pulled from the device.

videoPlacementVideo Placement

Allowed values: stream, banner, article, feed, floating

  • stream: Played before, during or after the streaming video content that the consumer has requested (e.g., Pre-roll, Mid-roll, Post-roll)
  • banner: Exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
  • article: Loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message
  • feed: Found in content, social, or product feeds
  • floating: Covers the entire or a portion of screen area, but is always on screen while displayed (i.e. cannot be scrolled out of view)
skipAllow SkipIndicates if the player will allow the video to be skipped. Boolean (true|false)
ccContainer Capability

Indicates the container capabilities for the video ad request. VAST and/or VPAID support, including supported version, should be communicated: e.g. cc=vast2.0&cc=vpaid1.0

videomime

Video Mime Type

The mime type allowed for video delivery (e.g.: video/mp4, video/x-flv); string value: videoMime=video/mp4, videoMime=video/x-flv, etc.

 vph Video Height Height of video player, in pixels: vph=320
 vpw Video Width

 Width of video player, in pixels: vpw=480

DNTDo Not TrackIndicates whether the device has "Limit Ad Tracking" enabled; Boolean (1=Enabled, 0=Disabled)

 

Optional Video Parameters

If your application/platform captures accurate location or advertiser ids, passing this data on the request can greatly increase the monetization of your inventory. Simply insert the parameters you wish to pass in the request in your ad tag as show below. Your account manager will create a custom tag for your specific integration.

Parameter
Name
Description
adunitAd UnitValid values; vastlinear (only supported on the /vast endpoint), vastnonlinear (only supported on the /vast endpoint).
llLat/LongLatitude and longitude of the user, encoded. The location of the user at the time of the advertising request. Availability of this parameter is, of course, platform- dependent and optional. It must be excluded if the user does not consent to provide location information in some manner. However, if location is available, it should be included. The parameter name is two lower-case Ls, and is encoded in a special format (described later in this document). The location's resolution does not have to be particularly precise, however a minimum target of 3km is recommended. Also, for a particular user session, it's sufficient to obtain the location only once. I.e., location does not need to be looked-up for every ad request during a session. Please pass the most accurate location known, which is generally GPS data pulled from the device.
latLatitudeLatitude location of the user making the ad request. Note the "ll" parameter is the preferred method in which to supply geolocation information. Please pass the most accurate location known, which is generally GPS data pulled from the device.
longLongitude

Longitude location of the user making the ad request. Please pass the most accurate location known, which is generally GPS data pulled from the device.

hwmdlHardware Model Manufacturer's designation for the device hardware model. At present, this should only be populated for iOS using the "hw.model" sysctl. For example, the GSM iPhone 4 would use the value "N90AP". Refer to the internal name designed in this list: https://theiphonewiki.com/wiki/Models On iOS, this parameter is preferred to the "model" parameter, but should be omitted if the information is unavailable.
ccContainer Capability

Indicates the container capabilities for the vidoe ad request. VAST and/or VPAID support, including supported version, should be communicated: e.g. cc=vast2.0&cc=vpaid1.0

videoPlacementVideo Placement

Allowed values: stream, banner, article, feed, floating

  • stream: Played before, during or after the streaming video content that the consumer has requested (e.g., Pre-roll, Mid-roll, Post-roll)
  • banner: Exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
  • article: Loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message
  • feed: Found in content, social, or product feeds
  • floating: Covers the entire or a portion of screen area, but is always on screen while displayed (i.e. cannot be scrolled out of view)
durationDurationSpecifies the duration in seconds of the ad you want returned. Valid values: 15 Second Video: "15” or  30 Second Video: “30”, etc.
appverApp VersionThis is the current version number of your app

Additional Video Parameters

...

Parameter
Name
Type
Examples
Required?
Default Value
Description
minDurationMinimum Durationinteger (seconds)15noanyThe minimum length (in seconds) of the advertisement requested.
maxDurationMaximum Durationinteger (seconds)60noanyThe maximum length (in seconds) of the advertisement requested.
videoMimeVideo Mime Typestringvideo/mp4noanyThe mime type allowed for video delivery (e.g.: video/mp4, video/x-flv)
deliveryTypeDelivery TypeStringprogressivenoprogressive

Supported delivery methods.

Allowed values: progressive, streaming, download

skipAllow Skipboolean (true|false)truenoanyIndicates if the player will allow the video to be skipped.
skipMinSkip Minimum Secondsinteger (seconds)10no0Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable
skipAfterSkip After Secondsinteger (seconds)10no0

Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.

startDelayStart Delay Secondsinteger (seconds)10no0

Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.

0 is pre-roll

>0 is Mid-Roll (value indicates start delay in second)

boxingAllowedLetterboxing Allowedboolean (true|false)falsenotrueIndicates if letter-boxing of 4:3 content into a 16:9 window is allowed
autoPlayAuto Playboolean (true|false)truenoanyIndicates if the video is allowed to auto play
audioOnStartAudio On Startboolean (true|false)truenoanyIndicates if the video's audio is allowed to be on when starting

...