admob间质iOS测试?
我希望能够在模拟器的iOS上请求间隙测试广告 这是我正在使用的代码admob间质iOS测试?,ios,objective-c,admob,Ios,Objective C,Admob,我希望能够在模拟器的iOS上请求间隙测试广告 这是我正在使用的代码 interstitial_ = [[GADInterstitial alloc] init]; interstitial_.adUnitID = @"XXXXXXXXXXXXXXXX"; [interstitial_ loadRequest:[GADRequest request]]; interstitial_.delegate = self; 谢谢。不确定您的具体问题。但是,这个国家非常富有。下面是我经常使用的代码- -
interstitial_ = [[GADInterstitial alloc] init];
interstitial_.adUnitID = @"XXXXXXXXXXXXXXXX";
[interstitial_ loadRequest:[GADRequest request]];
interstitial_.delegate = self;
谢谢。不确定您的具体问题。但是,这个国家非常富有。下面是我经常使用的代码-
- (void)loadAdMobIntersBanner
{
interstitial_ = [[GADInterstitial alloc] init];
interstitial_.adUnitID = @"ca-app-pub-xxxxxxxxx/xxxxxxx";
interstitial_.delegate = self;
GADRequest *request = [GADRequest request];
[interstitial_ loadRequest:request];
}
- (void)interstitialDidReceiveAd:(GADInterstitial *)ad
{
[interstitial_ presentFromRootViewController:self];
}
谢谢你的回答,这是否要求(测试)广告?@user3685876当然,你可以看到这些广告,因为你将使用你独特的adUnitID“测试”可能不是这里最好的词,但你的问题的答案是肯定的。去试试你自己吧——如果你是这个意思的话。