无效的未知请求错误:无法确定请求类型。这是广告单元ID是否正确? [英] Invalid unknown request error: Cannot determine request type. Is this ad unit id correct?

查看:492
本文介绍了无效的未知请求错误:无法确定请求类型。这是广告单元ID是否正确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到新abMob后,它似乎有这个问题? 使用这个code,但没有显示:

After updating to "new abMob", it appears to have this problem... use this code, but nothing displays:

adView = new AdView(this, AdSize.BANNER, "pub-xxxxxxxxxxxxxxxx");

和得到了警告:

无效的未知请求错误:无法确定请求类型。是你的   广告单元ID是否正确?

Invalid unknown request error: Cannot determine request type. Is your ad unit id correct?

什么是错? 采用Android模拟器,AdMob的6.4.1

What's wrong? Using android emulator, admob 6.4.1

推荐答案

本的AdUnit IDS在新Admob的控制台的形式是:

The adUnit Ids in the new Admob console are of the form:

CA-APP-酒馆XXXXXXXXXXXXXXXX / YYYYYYYYYY

ca-app-pub-XXXXXXXXXXXXXXXX/YYYYYYYYYY

这是你的问题是什么。 去检查你的Admob的控制台和更新应用程序来反映这一点。

This is what your problem is. Go check your Admob console and update your app to reflect that.

这篇关于无效的未知请求错误:无法确定请求类型。这是广告单元ID是否正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆