Common Log Errors - RedTroops/IOS-SDK GitHub Wiki

Initializing a session is still in progress, please delay the Ad request

This error shows up when your trying to show an AD before the session id is obtained. All you have to do is to create a timer to show the AD after 2-3 seconds

Put the timer in the place you want your AD to be shown

NSTimer* timer = [NSTimer scheduledTimerWithTimeInterval:2.0 
                              target:self 
                              selector:@selector(showAd:) 
                              userInfo:nil
                              repeats:NO];

ad this method anywhere in the same class

- (void)showAd:(NSTimer*)theTimer {

    NSLog (@"Add here the AD method");

}