2

In one of my application i need to show custom interstitial ad through admob mediation. I am using AdMarvel for getting my custom event interstitial ad. I have a class which creates admarvel interstitial ad and sends it to admob mediation.

In my custom class, i get these delegates called:

- (void)getInterstitialAdSucceeded
{
  [self.delegate customEventInterstitial:self didReceiveAd:adMarvelView];
}

After this, i get below delegate method called. In this i am trying to display the interstitial ad like below:

- (void)presentFromRootViewController:(UIViewController *)rootViewController
{
   [adMarvelView displayInterstitial];
}

But app is not showing any interstitial ad. Am i missing anything? Kindly let me know.

4

1 回答 1

0

是的,您需要将 self 添加为 adMarvelView 的 rootViewController。然后这将起作用。

于 2014-03-19T11:06:13.880 回答