Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 943 Bytes

mopub.md

File metadata and controls

24 lines (16 loc) · 943 Bytes

Track MoPub ad revenue with Adjust SDK

Adjust Android SDK README

MoPub Android documentation

Minimal SDK version required for this feature:

  • Adjust SDK v4.18.0
  • MoPub SDK v5.7.0

Inside of your MoPub SDK onImpression callback method implementation, make sure to invoke trackAdRevenue method of Adjust SDK like this:

public void onImpression(@NonNull final String adUnitId, @Nullable final ImpressionData impressionData) {
    // Pass impression data JSON to Adjust SDK.
    Adjust.trackAdRevenue(AdjustConfig.AD_REVENUE_MOPUB, impressionData.getJsonRepresentation());
}

In case you have any questions about ad revenue tracking with MoPub, please contact your dedicated account manager or send an email to [email protected].