interstitialAd will not show up

2019-09-05 15:38发布

i´ve created a SK Game with one viewController and want to view full screen ads but they don´t show up.

in ViewController.m: (viewWillAppear)

self.interstitialPresentationPolicy = ADInterstitialPresentationPolicyManual;
[self requestInterstitialAdPresentation];

inAppDelegate.m:

[ViewController prepareInterstitialAds];

1条回答
爷、活的狠高调
2楼-- · 2019-09-05 16:14

Your approach looks correct, and you are right that you only need those method calls, You may just need to move:

[self requestInterstitialAdPresentation];

into viewDidAppear, rather than viewWillAppear.

It could be that you are asking for an ad to be shown over a view controller that isn't fully on screen yet and hence it doesn't work.

查看更多
登录 后发表回答