Search code examples
iosobjective-cdelegatesadcolony

Adcolony delegate not getting called


I am trying to add Adcolony in my app. Here is my code:

[AdColony configureWithAppID:myAppID
                         zoneIDs:@[myZoneID]
                        delegate:self
                         logging:YES];
[AdColony playVideoAdForZone:myZoneID withDelegate:self withV4VCPrePopup:YES andV4VCPostPopup:YES];

-(void)onAdColonyV4VCReward:(BOOL)success currencyName:(NSString *)currencyName currencyAmount:(int)amount inZone:(NSString *)zoneID
{  
    if (success) {
        // some code
    }
}

The problem is the delegate method onAdColonyV4VCReward: is never getting called.


Solution

  • The solution for us was to set the app to "client side" on the Dashboard.