有没有办法在加载广告后在AdMob中设置有效的AdUnitID?(Is there a way to set the interstial AdUnitID in AdMob after loadin

编程入门 行业动态 更新时间:2024-10-22 11:42:54
没有办法在加载广告后在AdMob中设置有效的AdUnitID?(Is there a way to set the interstial AdUnitID in AdMob after loading the ad?)

我们为游戏中的每个内容使用不同的广告ID,以便我们可以跟踪广告的哪些内容(长篇故事)。 在我知道用户选择了哪条内容之前,我想开始预加载广告。 问题是,如果我在加载广告之前未设置AdUnitID,则会收到异常。 我还没有办法做到这一点,我想知道你有没有?

We use a different ad ID for each piece of content in our game so that we can track which piece of content an ad was shown for (long story). I'd like to start pre-loading the ad before I know which piece of content the user has selected. The problem is that I get an exception if I don't set the AdUnitID before loading the ad. I haven't found a way to do this, and I wonder if you have?

最满意答案

不可能。 AdUnitId决定了要提供的广告。 如果您没有指定它

Admob无法确定要向您发送的广告 Admob无法确定为广告上的任何点击付费的人(如果它以某种方式发送给您一个)。

There is no way. The AdUnitId is what determines what ads to supply. If you don't specify it

Admob can't determine what ads to send you Admob can't determine who to pay for any click on an ad (if it did somehow send you one).

更多推荐

ad,广告,内容,content,电脑培训,计算机培训,IT培训"/> <meta name="description&

本文发布于:2023-08-06 23:20:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1456610.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:没有办法   加载   广告   AdMob   AdUnitID

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!