VMFive Ads Inline Code - VMFive/vmfive-man-web-demo GitHub Wiki

VMFive Ads DFP Safeframe Inline Code

Get sample code for your placement

Inline Sample Code

Top

<script id="vm5ad-js-sdk" src="https://vawpro.vm5apis.com/man.js" data-mode="fast"></script>
<script>
window.onVM5AdSDKReady = function() {
VM5AdSDK.init({ appKey: '58217ac44c41a3f21d1264ab', testMode: true });
};
</script>
<script src="https://man.vm5apis.com/dist/adn-web-sdk.js"></script>
<vmfive-ad-unit placement-id="59780352098e61b339cc7417" ad-type='video-top' width=%%WIDTH%% height=%%HEIGHT%% click-url=%%CLICK_URL_UNESC%%></vmfive-ad-unit>

Native

<script id="vm5ad-js-sdk" src="https://vawpro.vm5apis.com/man.js" data-mode="fast"></script>
<script>
window.onVM5AdSDKReady = function() {
VM5AdSDK.init({ appKey: '58217ac44c41a3f21d1264ab', testMode: true });
};
</script>
<script src="https://man.vm5apis.com/dist/adn-web-sdk.js"></script>
<vmfive-ad-unit placement-id="59771821098e61b339cc72be" ad-type='video-native' width=%%WIDTH%% height=%%HEIGHT%% click-url=%%CLICK_URL_UNESC%%></vmfive-ad-unit>

Embedded Interstitial

<script id="vm5ad-js-sdk" src="https://vawpro.vm5apis.com/man.js" data-mode="fast"></script>
 <script>
 window.onVM5AdSDKReady = function() {
 VM5AdSDK.init({ appKey: '58217ac44c41a3f21d1264ab', testMode: true });
 };
 </script>
 <script src="https://man.vm5apis.com/dist/adn-web-sdk.js"></script>
 <vmfive-ad-unit placement-id="5978077c098e61b339cc741a" ad-type='video-interstitial-embedded' width=%%WIDTH%% height=%%HEIGHT%% click-url=%%CLICK_URL_UNESC%%></vmfive-ad-unit>

Embedded Portrait Video

 <script id="vm5ad-js-sdk" src="https://vawpro.vm5apis.com/man.js" data-mode="fast"></script>
 <script>
 window.onVM5AdSDKReady = function() {
 VM5AdSDK.init({ appKey: '58217ac44c41a3f21d1264ab', testMode: true });
 };
 </script>
 <script src="https://man.vm5apis.com/dist/adn-web-sdk.js"></script>
 <vmfive-ad-unit placement-id="597807a2098e61b339cc741e" ad-type='portraitvideo-interstitial-embedded' width=%%WIDTH%% height=%%HEIGHT%% click-url=%%CLICK_URL_UNESC%%></vmfive-ad-unit>
⚠️ **GitHub.com Fallback** ⚠️