Ad Manager interstitial appears twice

34 views
Skip to first unread message

Yarden Katz

unread,
Aug 4, 2020, 6:21:03 AM8/4/20
to Google Mobile Ads SDK Developers
We have implemented DFPInterstitial in our app. When an add is received which has an 'x' button in the upper corner the ad is displayed fine, 
but when the ad has 'close' / 'open' buttons in the bottom of the ad, the ad shows up and then immediately shows up again. Attached are examples of the 2 behaviours.

Issue was reported on several devices, including:
iPhone XR - iOS 13.5.1, Wi-FiiPhone 6 - iOS 12.4.7 , Wi-Fi
iPhone 7 - iOS 13.6, Wi-Fi
Apple iPhone XS Max - iOS 13.4.1

We were using Google-Mobile-Ads-SDK v.7.61.0 and updated to 7.63.0. The issue is still happening.

Following is the code of the implementation:

@interface ViewController : UIViewController<Notify, GADInterstitialDelegate, GADBannerViewDelegate,AVPlayerViewControllerDelegate, KYDrawerControllerDelegate, PlayerFinishListener, MobizDelegate, PlayerDelegate, BlueKaiOnDataPostedListener/*, CLLocationManagerDelegate*/>

@property(nonatomic, strong) DFPInterstitial *interstitial;

@end


@implementation ViewController


- (void)viewDidLoad {

[self createAndLoadInterstitial];

}


- (void)createAndLoadInterstitial {

    self.interstitial = [[DFPInterstitial alloc] initWithAdUnitID:[[AppData sharedInstance] dataConfiguration].adsAdmin.generalAdUrl];

    [self.interstitial setDelegate:self];

    DFPRequest *request = _currentItem != nil ? [Utilities generateRequestWithTargetingDictionary:_currentItem] : [DFPRequest request];

    [self.interstitial loadRequest:request];

}



Later this method is being called:


- (void)showInterstitial {

    if (self.interstitial.isReady) {

        [self.interstitial presentFromRootViewController:self];

    } else {

        [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(showInterstitialAfterTimer:) userInfo:nil repeats:NO];

    }

}


- (void)showInterstitialAfterTimer: (NSTimer *)timer {

    [self showInterstitial];

}



-(void)interstitialDidDismissScreen:(GADInterstitial *)ad{

    _shouldHideStatusBar = NO;

    [self createAndLoadInterstitial];

}


I'll appreciate your help.



RPReplay_Final1596532520.mov
RPReplay_Final1596532367.mov

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 4, 2020, 10:00:26 AM8/4/20
to kya...@cambium.co.il, google-adm...@googlegroups.com
Hi Yarden,

Thank you for bringing this double showing of a modified close button interstitial to our attention. From what you are presenting to us this may be bad creatives for which this forum can't provide support. It's more probable if you have limited inventory. We would advise you to post your concern on Ad Manager Community forum. This forum can only support implementing the Mobile Ads SDK into apps.

You may also want to check out our response info object that you can use in the Ad Review Center to weed out bad creatives.

On the other hand there is a possibility that this is an implementation issue or there may be an issue with the SDK. Although there are other delegates doing things, I didn't see anything noticeable in your code. For us to investigate that we would need the following:
  • a Charles log of a bad and good creative being loaded
  • an example project based on our sample app with minimum code added to reliably replicate the double showing behavior
  • steps to take to replicate your issue
If you need to give your own ad unit Id to replicate then please give us that ad unit Id via reply privately to author.  You can give us a link to the hosted project so that we may download it.

Kind regards,
Aryeh Baker
Mobile Ads SDK Team

ref:_00D1U1174p._5004Q23HP25:ref
Reply all
Reply to author
Forward
0 new messages