Class NativeAdTelemetryHelper
-
- All Implemented Interfaces:
public final class NativeAdTelemetryHelper extends AdTelemetryHelper
A helper class for submitting telemetry events specific to native ads.
This class extends AdTelemetryHelper and provides methods for submitting telemetry events related to native ad viewability, tracking, expiration, and view state. It leverages the base class for common ad telemetry events.
-
-
Constructor Summary
Constructors Constructor Description NativeAdTelemetryHelper(AdContext adContext, AdLifecycleData adLifecycleData)
-
Method Summary
Modifier and Type Method Description final UnitsubmitMRC50ServiceStarted()Submits a telemetry event indicating that the MRC 50% viewable service has started. final UnitsubmitMRC50EventOccurred()Submits a telemetry event indicating that the MRC 50% viewable event has occurred. final UnitsubmitRegisterViewForTracking()Submits a telemetry event indicating that the ad view is being registered for tracking. final UnitsubmitAdExpiredEvent()Submits a telemetry event indicating that the ad has expired. final UnitsubmitViewStateOnParentAttached(PublisherNativeViewData publisherNativeViewData)Submits a telemetry event indicating the view state when the ad is attached to its parent. -
Methods inherited from class com.inmobi.media.ads.common.telemetry.AdTelemetryHelper
submitBlockAutoRedirectionFraudEvent, submitLoadSuccessEvent, submitOnAdImpression -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NativeAdTelemetryHelper
NativeAdTelemetryHelper(AdContext adContext, AdLifecycleData adLifecycleData)
-
-
Method Detail
-
submitMRC50ServiceStarted
final Unit submitMRC50ServiceStarted()
Submits a telemetry event indicating that the MRC 50% viewable service has started.
This event is triggered when the process of tracking MRC 50% viewability begins.
-
submitMRC50EventOccurred
final Unit submitMRC50EventOccurred()
Submits a telemetry event indicating that the MRC 50% viewable event has occurred.
This event is triggered when the ad becomes 50% viewable according to MRC standards.
-
submitRegisterViewForTracking
final Unit submitRegisterViewForTracking()
Submits a telemetry event indicating that the ad view is being registered for tracking.
This event is triggered when the ad view is registered for impression and click tracking.
-
submitAdExpiredEvent
final Unit submitAdExpiredEvent()
Submits a telemetry event indicating that the ad has expired.
This event is triggered when the ad's validity period has ended.
-
submitViewStateOnParentAttached
final Unit submitViewStateOnParentAttached(PublisherNativeViewData publisherNativeViewData)
Submits a telemetry event indicating the view state when the ad is attached to its parent.
-
-
-
-