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 void /onImpression(String adUnitId, ImpressionData impressionData)
Description: Called by the MoPub SDK once the ad becomes visible for the first time.
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 March 04, 2020
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.
© 2020 MoPub (a division of Twitter, Inc.)