1

您能否建议我一些文档,从中我可以看到视频广告 Java 脚本标签的一些示例。我已经使用大量 XML 实现了 VAST/VPAID。现在我需要 Java Script Vast Tag。我在这里阅读了文档 在此处 输入链接描述

Inneractive JS Ad Tag Start

 * -=====================================================================-
 *   Inneractive JS Ad Tag
 * -=====================================================================-
 *   Update Date: February, 10th, 2014
 *   Further documentation found here: 
 *   https://inneractive.jira.com/wiki/display/DevWiki/JavaScript+Ad+Tag
 * -=====================================================================-


<!-- Final Ad is attached to this DIV. Can be placed anywhere on the page. -->
<div id='iaAdPlaceholder'></div>
<script>
    try {
        (function() {   
            if (typeof ia === 'undefined') {
                ia = {};
            }

            // CHANGE AD SETTINGS BELOW.
            // More details about the different parameters can be found here:
            // https://inneractive.jira.com/wiki/display/DevWiki/JavaScript+Ad+Tag#JavaScriptAdTag-RequestParameters
            ia.adSettings = {
                APP_ID:'MyCompany_MyApp',
                IS_MOBILE_WEB: false,
                IS_ORMMA_SUPPORT: false,
                IS_MRAID_SUPPORT: false,
                IS_VIDEO_SUPPORT : false,
                IS_INTERSTITIAL_AD: false,
                IS_FLOATING_BANNER: false, // Glues banner ad position to bottom of the page, even when the page is scrolled. Supported only for banner ads, on iOS (>= 5.0) and Android (>= 2.2). Does not apply when IS_INTERSTITIAL_AD: true.
                IMEI_MD5: '',
                IMEI_SHA1: '',
                IMSI_MD5: '',
                IMSI_SHA1: '',
                ANDROID_ID_MD5: '',
                ANDROID_ID_SHA1: '',
                IDFA:'',
                IDFV:'',
                PACKAGE_NAME:'', // In Android - The application name as a reverse domain notation string (e.g., 'com.inneractive.adTag'). In iOS - the App Store Id from the iTunes URL (e.g., "123456789" for the following iTunes link: 'https://itunes.apple.com/iw/app/myApp/id123456789?mt=8').
                CATEGORY:'', // e.g., Music
                AGE:'',
                GENDER:'',
                KEYWORDS: '', // e.g., Rock,Pop,Jazz,Blues
                LOCATION:'',
                GPS_COORDINATES:'',
                DEVICE_WIDTH:'', // resolution width of the device
                DEVICE_HEIGHT:'', // resolution height of the device
                MOBILE_NETWORK_CODE:'',
                MOBILE_COUNTRY_CODE:'',
                NETWORK:'', // values are 3G or WIFI
                REQUIRED_WIDTH:'',
                REQUIRED_HEIGHT:'',
                FAILOVER: ''
            };
            // CHANGE AD SETTINGS  ABOVE.
        })();
    }
    catch (e) {
    }
</script>
<script src='http://cdn2.inner-active.mobi/wv-js/iaAdTagInternal.min.js' type='text/javascript'></script>
<!-- Inneractive JS Ad Tag End -->

是吗?我将如何以及在何处添加所有事件跟踪链接?请帮我

4

2 回答 2

0

我建议您在此处查看 JW Player 的广告测试器:

http://demo.jwplayer.com/ad-tester/

在这里你可以看到一切在行动。

如果您只想看到典型的大量响应,只需转到“要加载的广告代码”输入字段中的 URL。

于 2015-10-21T11:31:07.787 回答