Skip to content

Commit

Permalink
Add VAST files to repo (#854)
Browse files Browse the repository at this point in the history
* feat: add vast to repo

* feat: add vast with companion
  • Loading branch information
OlenaPostindustria authored Jun 1, 2023
1 parent 47ab82c commit 120ce1d
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Example/PrebidDemo/ads/vast/vast.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<VAST version="2.0">
<Ad id="539733507">
<InLine>
<AdSystem version="1.0">Prebid</AdSystem>
<AdTitle/>
<Creatives>
<Creative id="539733507">
<Linear>
<Duration>00:00:15</Duration>
<MediaFiles>
<MediaFile
delivery="streaming"
height="480"
id="539733616"
type="video/mp4"
width="320">
<![CDATA[https://s3.amazonaws.com/files.prebid.org/creatives/PrebidLogo.mp4]]>
</MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
<Extensions>
<Extension type="AdVerifications">
<AdVerifications>
<Verification vendor="iabtechlab.com-omid">
<JavaScriptResource
apiFramework="omid"
browserOptional="true">
<![CDATA[https://prebid-mobile-ad-assets.s3.amazonaws.com/scripts/omid-validation-verification-script-v1.js]]>
</JavaScriptResource>
</Verification>
</AdVerifications>
</Extension>
</Extensions>
</InLine>
</Ad>
</VAST>
41 changes: 41 additions & 0 deletions Example/PrebidDemo/ads/vast/vast_with_companion.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

<VAST version="2.0">
<Ad id="540069345">
<InLine>
<AdSystem version="1.0">Prebid</AdSystem>
<AdTitle/>
<Creatives>
<Creative id="540069340">
<Linear>
<Duration>00:00:15</Duration>
<MediaFiles>
<MediaFile delivery="streaming" height="480" id="539733616" type="video/mp4" width="320">
<![CDATA[ https://s3.amazonaws.com/files.prebid.org/creatives/PrebidLogo.mp4 ]]>
</MediaFile>
</MediaFiles>
</Linear>
</Creative>
<Creative id="540069343">
<CompanionAds>
<Companion height="480" id="540069737" width="320">
<HTMLResource creativeType="text/html">
<![CDATA[ <a href="https://www.prebid.org/"><img src="https://s3.amazonaws.com/files.prebid.org/creatives/prebid300x250.png" width="300" height="250"></img></a> ]]>
</HTMLResource>
</Companion>
</CompanionAds>
</Creative>
</Creatives>
<Extensions>
<Extension type="AdVerifications">
<AdVerifications>
<Verification vendor="iabtechlab.com-omid">
<JavaScriptResource apiFramework="omid" browserOptional="true">
<![CDATA[ https://prebid-mobile-ad-assets.s3.amazonaws.com/scripts/omid-validation-verification-script-v1.js ]]>
</JavaScriptResource>
</Verification>
</AdVerifications>
</Extension>
</Extensions>
</InLine>
</Ad>
</VAST>

0 comments on commit 120ce1d

Please sign in to comment.