ImpressionListener /5.7.0

public interface ImpressionListener

An interface exposing a callback where impression data is exposed to publishers. Refer to our article on integrating impression-level revenue data (ILRD) for additional usage instructions.

Public Methods

public void /onImpression(String adUnitId, ImpressionData impressionData) /+5.7.0

  • Description: Called by the MoPub SDK once the ad becomes visible for the first time.

  • Parameters:

    • adUnitId: A String containing the ad unit ID of the current creative.
    • impressionData: Extended information about the ad, including revenue per impression. This value can be null if impression-level revenue data (ILRD) is not enabled for this MoPub account.

Last updated August 28, 2021

TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.

© 2021 MoPub (a division of Twitter, Inc.)