0
我在我的iPhone應用程序中實現了廣告小怪。該應用在調試時正在模擬器和設備中接收廣告。但是當我將它上傳到應用程序商店時,它沒有收到任何消息。 我使用這段代碼Admob不在AppStore工作
-(void)showAds{
self.adBanner = [[[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner
origin:origin]autorelease];
self.adBanner.adUnitID = @"abcdef1234567890.";
self.adBanner.delegate = self;
[self.adBanner setRootViewController:self];
[self.view addSubview:self.adBanner];
GADRequest *request = [GADRequest request];
[self.adBanner loadRequest:request];
}
我不知道我做了什麼錯誤M2 +任何幫助?
它只是一個虛擬的「abcdef1234567890」。我在這裏使用了它... – 2012-07-31 10:12:28
你的應用程序中是否有錯誤日誌?代碼本身對我來說很好。 – RajPara 2012-07-31 16:00:02
無錯誤日誌.. :-( – 2012-08-01 11:10:59