实现VAST3.0 Client时的那些坑(已弃更)

1. Q:随播广告和非线性广告没有Icon标签?

Linear标签下有Icons标签用于表示行业图标,然而CompanionAdsNonLinearAds标签下没有Icons标签用于表示行业图标,而IAB的spec描述得非常模糊。

The existing VAST elements for <NonLinearAds> and <CompanionAds> can each include multiple <NonLinear> or <Companion> elements, respectively, which enables ad servers to include icons with these creative types without using the <Icon> element.
The following example of a creative element shows how an industry icon can be implemented for NonLinear ads:

<Creative>
  <NonLinearAds>
    <NonLinear>
      <!--link to NonLinear creative-->
    </NonLinear>
    <NonLinear>
      <!--link to industry icon-->
    </NonLinear>
  </NonLinearAds>
</Creative>

然而,仔细查看XSD文件,会发现Icon标签有program, xPosition, yPositionNonLinear标签没有,所以使用NonLinear标签替代Icon标签似乎不太可行。

相关问题:

  1. Industry Icon with NonLinear or CompanionAd in VAST 4.2

A:

方案一:使用自定义标签或者属性,关闭XML检查。
方案二:现在行业图标的用途主要是AdChoices或者为什么显示此广告(Why This Ad),可以直接在端侧写死。

2. Q:如果重定向之后不是单个Ad如何处理?

Wrapper标签是挂在Ad标签下的,看起来像是重定向的结果应该只是一个Ad,那如果获取到的结果是多个Ad,怎么处理?

A:待补充

3. Q:重定向之前,如果是一个Ad多个线性素材,重定向之后也是多个线性素材,这些素材怎么关联上?

A:

参考一:dailymotion/vast-client-js,将wrapper中对于线性的事件上报的地址添加到Inline的每一个线性素材上。例如:wrapper-a.xml 重定向到 inline.xml,其中wrapper-a.xml中包含两个线性素材,分别对start事件有上报地址http://example.com/start_1http://example.com/start_2inline.xml中包含两个线性素材,那么对于这两个线性素材的start事件,都需要上报到http://example.com/start_1http://example.com/start_2。(PS:我一开始的想法是通过Creative上的id属性进行匹配,但是看了google给的重定向的例子(Single Redirect Linear)中,这两个id是不一致的,无法匹配上。)

4. Q:AcceptInvitation事件到底是什么鬼?有什么具体的例子?

IAB的解释:

the user activated a control that launched an additional portion of the creative.

A:

参考一:dailymotion/vast-client-js

The user clicked or otherwise activated a control used to pause streaming content, which either expands the ad within the player’s viewable area or “takes-over” the streaming content area by launching an additional portion of the ad. An ad in video format ad is usually played upon acceptance, but other forms of media such as games, animation, tutorials, social media, or other engaging media are also used.

5. Q:为什么非线性广告有一些看起来和非线性广告(overlay)不相关的事件追踪?如midpoint、firstQuartile、mute、pause?

A:

待补充

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。