If you want to measure ad revenue with the AppLovin MAX SDK, you can use the SDK-to-SDK integration to pass this information to Adjust’s servers.
If you have any questions about ad revenue measurement with AppLovin MAX, please contact your dedicated Technical Account Manager or send an email to support@adjust.com.
Examples
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];}
To see how this integration works in context, check out AppLovin’s example iOS application.
If you want to measure ad revenue with the AppLovin MAX SDK, you can use the SDK-to-SDK integration to pass this information to Adjust’s servers.
If you have any questions about ad revenue measurement with AppLovin MAX, please contact your dedicated Technical Account Manager or send an email to support@adjust.com.
Requirements
- Adjust iOS SDK v4.29.2 and later
Examples
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];}
To see how this integration works in context, check out AppLovin’s example iOS application.