Tandem广告类型笔记

1.For consistent animation sync behavior, avoid using a polite load with a tandem creative whenever possible. Polite load can make users wait for a website to load completely before the creative loads, increasing the risk that tandem creatives will time out or fail to sync with each other.

 

2.It's important that each ad's instance of the Local Connect component load at the same time so that the units can easily establish a connection

 

3.In the Properties panel, give every Local Connect component the same instance name. For example, localConnectComponent. 

 

4.You can send data from parent to child and child to parent, but never from child to another child

 

5.we recommend that you define a timeout behavior for all Tandem creatives. If one of the creatives doesn't load, this allows creatives that do load to continue with their own animation instead of remaining stopped indefinitely:

import com.google.ads.studio.events.StudioEvent;

//Set up Timeout function
function timeoutHandler(e:StudioEvent) {
    //insert function here
    trace("Local Connect Failed");
}

//Add EventListener for StudioEvent.TIMEOUT
localConnectComponent.addEventListener(StudioEvent.TIMEOUT, timeoutHandler);

 

6 lc.sendData("data send");

  if(e.data=="data send")

转载于:https://www.cnblogs.com/1000pen/archive/2012/10/27/2742252.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值