Vungle Exchange OpenRTB 2.5 EndCard Integration

Use these instructions to run end cards with Vungle Exchange. 

Implement End Cards

In the VAST response, inside the <CompanionAds> element, define at least one <Companion> node with the desired resource file information for the end card. The resource file can be of type <StaticResource> or <HTMLResource>.

StaticResource

The following is an example of a static image end card.

Sample Code

<CompanionAds>
    <Companion>
        <StaticResource creativeType="image/jpeg">
            < [CDATA[https://Your_endcard_image_url]]>  // Required
        </StaticResource>
        <TrackingEvents>
            <Tracking event='creativeView'>
                < [CDATA[https://endcard_tracking]]>  // Required
            </Tracking>
        </TrackingEvents>
        <CompanionClickThrough>
            < ![CDATA[https://endcard_click_through]]>  // Required
        </CompanionClickThrough>
        <CompanionClickTracking>
            < ![CDATA[https://endcard_click_tracking]]> // Required
        </CompanionClickTracking>
    </Companion>
</CompanionAds>

HTMLResource

The following is an example of an HTML end card.

Sample Code

<CompanionAds>
<Companion>
<HTMLResource>
<![CDATA[
<div>Your end card content</div> // Content can not be empty
<script src=""></script>
]]>
</HTMLResource>
<TrackingEvents>
<Tracking event='creativeView'>
< ![CDATA[https://endcard_tracking]]> // Required
</Tracking>
</TrackingEvents>
</Companion>
</CompanionAds>

HTML Endcard Type

When submitting HTML endcard, we highly recommend the following precaution for proper tracking and better performance:

When submitting VAST video + HTML playable endcard, include "attr": [13] in the seatbid.bid.attr. (When submitting VAST video + HTML static endcard: no new field needs to be included.)

Sample Code

      "appid": "",
      "id": "f3f183a6-xxx-xxx-86ee-xxxxx",
      "attr": [
        13
      ],
      "impid": "1",
      "bundle": "air.com.xxxx.xxxx",
      "cid": "1038"

Questions?

Need further assistance, feel free to reach out to us, we’re here to help!

Was this article helpful?