I then did Placement code:
// Add a function in your View Controller that initializes the interstitialAd:
- (void)loadInterstitial
{
FBInterstitialAd *interstitialAd =
[[FBInterstitialAd alloc] initWithPlacementID:@"MY_PLACEMENT_ID"];
interstitialAd.delegate = self;
[interstitialAd loadAd];
}
// Now that you have added the code to load the ad, add the following functions
// to display the ad once it is loaded and to handle loading failures:
- (void)interstitialAdDidLoad:(FBInterstitialAd *)interstitialAd
{
NSLog(@"Interstitial ad is loaded and ready to be displayed");
// You can now display the full screen ad using this code:
[interstitialAd showAdFromRootViewController:self];
}
- (void)interstitialAd:(FBInterstitialAd *)interstitialAd
didFailWithError:(NSError *)error
{
NSLog(@"Interstitial ad is failed to load with error: %@", error);
}
"I see the Facebook Ads fine."
My question is why I don't see facebook Ads with mediation. I only see Admob Interstitial Ads.
Appreciate any help!