1
我收到以下代碼中的廣告。 當廣告爲Google Sense時,我會在廣告上收到藍色邊框。 1)我不能將邊框類型更改爲無(這對我來說很重要)。 2)此外,我不能改變廣告的顏色下面的代碼在UIViewController中在屬性request.additionalParameters 我在我的應用程序設置中設置在AdMob中使用客戶端的顏色無法刪除AdMob google sense ads中的邊框
信息: 的Xcode 4.2 IOS與目標C 的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];
這就是我thoghut,但我不知道。也感謝您在admob集團的重播 – Ofir 2012-02-26 07:48:07