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