我试图在rails 4站点上加载广告,并继续得到以下错误
onejs?MarketPlace=US&adInstanceId=xxxxxxxx&storeId=xxxxxxx:1 Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.
如果我刷新页面,广告就会加载得很好。以下
我在我的项目中实现了Interstitial广告,但是广告并不是全屏的。
这是我的广告代码:
this.interstitialAds = new InterstitialAd(this, "ca-app-pub-ID");
this.interstitialAds.setAdListener(this);
AdRequest adr = new AdRequest();
// add your test device here
adr.addTestDevice("8E452
如何在下一个方法调用之前显示整个admob影片剪辑?如果用户按下back按钮或关闭广告,则下一个方法将不会启动。
“间隙广告工作得很好。”
我的代码示例:
public void freeGoldOrNot(){
if (mInterstitialAd.isLoaded()) {
mInterstitialAd.show();
//Start this after the entire mInterstitialAd is shown
// if not, do not call
beginPlayingGame();
<amp-img ...> need a </amp-img>。
为什么?
我的第一个想法是将一个简单的<img .. />作为非js浏览器的后盾。但这对AMP是无效的。
我的第二个问题是AMP是否会处理(或为将来保留的)像文字或其他东西之间的amp或其他标签,如amp-广告等,这是不需要一个结束标签,好吗?