adjust-icon

ironSource SDK 集成

如果您想使用 ironSource SDK 监测广告收入,可以借助 SDK 到 SDK 集成,将数据发送到 Adjust 服务器。

示例

- (void)impressionDataDidSucceed:(ISImpressionData *)impressionData {
ADJAdRevenue *adRevenue = [[ADJAdRevenue alloc]
initWithSource:@"ironsource_sdk"];
[adjustAdRevenue setRevenue:impressionData.revenue currency:@"USD"];
/// optional fields
[adjustAdRevenue setAdRevenueNetwork:impressionData.ad_network];
[adjustAdRevenue setAdRevenueUnit:impressionData.ad_unit];
[adjustAdRevenue setAdRevenuePlacement:impressionData.placement];
/// Send Adjust ad revenue
[Adjust trackAdRevenue:adjustAdRevenue];
}