本文介绍了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。根据他们的,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中未全屏显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 01:44