Monetization Platform userId Setup
This API is only available for products integrated with the ironSource monetization advertising platform.
Description
Some products integrate the ironSource monetization advertising platform. To facilitate ad data statistics, call the ironSource API for setting the userId in the callback after login succeeds.
Call changeUserId only after ironSource has been initialized successfully and the userId has been obtained after successful login.
Example code
objective-c
[GamedreamerManager.shareInstance gamedreamerLoginV2WithSuperView:nil andCompletion:^(NSDictionary * _Nonnull userInfo, NSError * _Nonnull error) {
NSString *userid = [NSString stringWithFormat:@"%@",[userInfo objectForKey:@"userId"]];
[IronSourceAdQuality.getInstance changeUserId:userid];
}];