AppLovin MAX SDK 集成 如果您想使用 AppLovin MAX 监测广告收入,可以借助 SDK 到 SDK 集成,将数据发送到 Adjust 服务器。 示例 func didPayRevenue(_ ad: MAAd){ let adRevenue = ADJAdRevenue(source: "applovin_max_sdk") adRevenue.setRevenue(ad.revenue, currency: "USD") adRevenue?.adRevenueNetwork = ad.networkName adRevenue?.adRevenueUnit = ad.adUnitIdentifier adRevenue?.adRevenuePlacement = ad.placement // ... Adjust.trackAdRevenue(adRevenue)} - (void)didPayRevenueForAd:(MAAd *)ad { ADJAdRevenue *adRevenue = [[ADJAdRevenue alloc] initWithSource:@"applovin_max_sdk"]; [adjustAdRevenue setRevenue: ad.revenue currency: @"USD"]; [adjustAdRevenue setAdRevenueNetwork: ad.networkName]; [adjustAdRevenue setAdRevenueUnit: ad.adUnitIdentifier]; [adjustAdRevenue setAdRevenuePlacement: ad.placement]; //... [Adjust trackAdRevenue: adjustAdRevenue];} 要了解此集成在具体情境中如何工作,请查看 AppLovin 的示例 iOS 应用。