DFP的非页内广告在ADMob iPhone 5中未全屏显示

编程入门 行业动态 更新时间:2024-10-25 10:27:30
本文介绍了DFP的非页内广告在ADMob iPhone 5中未全屏显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Google的AdMob SDK实施插页式广告。该广告在iPhone 4S及更低版本上可以正常显示。但是,在iPhone 5上,广告由于未正确调整尺寸而在底部留有空白。

I am implementing the interstitial ad using Google's AdMob SDK. The Ad shows fine on iPhone 4S and lower. However on iPhone 5, the ad leaves a blank space at the bottom since its not resized properly.

广告尺寸为320x480。根据他们的 docs ,SDK将正确处理广告素材的呈现在屏幕上。如果创建尺寸为320x568的广告,则会显示无广告显示错误。

The Ad Size is 320x480. According to their docs, The SDK will handle rendering the creative correctly on screens. If I create an Ad of Size 320x568, i get error as "No Ad to Show".

如何在iPhone 5上支持全屏广告?

How Can I support full screen Ad on iPhone 5?

推荐答案

插页式广告覆盖全屏,但是通过DFP广告管理系统投放的广告素材(可能只是图像)不能覆盖整个屏幕-因此,您在底部有一些空白,这是覆盖的背景。为了使您的广告素材覆盖整个屏幕,您可能需要编写一些可以处理更大屏幕尺寸的html。

The interstitial overlay is full screen, but the creative being served through DFP (probably just an image) does not span the entire screen - so you're getting some white space at the bottom which is the background of the overlay. To get your creative to span the entire screen, you may want to write some html that can handle a bigger screen size.

更多推荐

DFP的非页内广告在ADMob iPhone 5中未全屏显示

本文发布于:2023-07-11 12:25:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1094056.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:全屏   中未   广告   DFP   非页内

发布评论

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

>www.elefans.com

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