objective-c - 无法删除 AdMob 谷歌感知广告中的边框

标签 objective-c ios xcode admob

我收到以下代码中的广告。 当广告是 Google Sense 时,我在广告上收到一个蓝色边框。 1)我无法将边框类型更改为无(这对我来说很重要)。 2) 此外,我无法在属性 request.additionalParameters 的 UIViewController 中的以下代码中更改广告的颜色 我在 AdMob 的应用程序设置中设置为使用客户端颜色

信息: 带有 Objective-C 的 IOS 的 xcode 4.2 ADMob SDK 5.5

代码:

GADBannerView *banner;
banner =[[GADBannerView alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height -    GAD_SIZE_320x50.height, GAD_SIZE_320x50.width, GAD_SIZE_320x50.height)];

banner = [[GADBannerView alloc]
          initWithFrame:CGRectMake(0.0,
                                   self.view.frame.size.height -
                                   GAD_SIZE_320x50.height,
                                   GAD_SIZE_320x50.width,
                                   GAD_SIZE_320x50.height)];
banner.adUnitID = MY_BANNER_UNIT_ID;
banner.rootViewController = self;
[self.view addSubview:banner];
GADRequest *request = [GADRequest request];
request.additionalParameters =  [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                 @"FFFF00", @"color_bg",
                                 @"008000", @"color_bg_top",
                                 @"FF00FF", @"color_border",
                                 @"FF0000", @"color_link",
                                 @"808080", @"color_text",
                                 @"00FF00", @"color_url",
                                 nil];
[banner loadRequest:request];

最佳答案

这看起来像是 AdMob 方面的后端问题。在他们修复之前,现在似乎没有解决方法。不过,这个问题只发生在我的 AdSense 回填广告上。

关于objective-c - 无法删除 AdMob 谷歌感知广告中的边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9177387/

相关文章:

iphone - 使用 NSDateFormatter 解析 Twitter 字符串

ios - 如何仅在关闭特定 UIViewController 时才执行操作?

objective-c - NSBundle mainBundle infoDictionary 返回 NULL

ios - 从右到左导航中的滑动方向错误

ios - 访问快速枚举中的值

ios - Swift 和 JSON 只解析一个对象而不是一个数组

xcode - 比较SceneKit中不同物体的颜色

ios - 按下时如何使 textView 位于键盘顶部?

ios - 在最新的Xcode(4.5)下使用iPad 1进行开发调试,怎么样?

objective-c - NSMutableArray 不断返回 null