Class NativeAdUnitBeaconExtKt
-
- All Implemented Interfaces:
public final class NativeAdUnitBeaconExtKt
-
-
Method Summary
Modifier and Type Method Description final static ResponseBeaconDataprepareResponseBeaconData(NativeAdUnitComponent $self)Prepares the response beacon data for a native ad unit component. final static VideoResponseBeaconDataprepareVideoResponseBeaconData(NativeAdUnitComponent $self)Prepares the video response beacon data for a native ad unit component. final static VideoBeaconProcessorprepareVideoBeaconProcessor(NativeAdUnitComponent $self, VastBeaconData vastBeaconData)Prepares a VideoBeaconProcessor for a native ad unit component. -
-
Method Detail
-
prepareResponseBeaconData
final static ResponseBeaconData prepareResponseBeaconData(NativeAdUnitComponent $self)
Prepares the response beacon data for a native ad unit component.
This function extracts the video trackers from the JSON response and combines them with the trackers from the AdResponse to create a ResponseBeaconData object.
- Returns:
The ResponseBeaconData containing response tracking information.
-
prepareVideoResponseBeaconData
final static VideoResponseBeaconData prepareVideoResponseBeaconData(NativeAdUnitComponent $self)
Prepares the video response beacon data for a native ad unit component.
This function extracts video trackers from the media object in the JSON response and creates a VideoResponseBeaconData object for video tracking purposes.
- Returns:
The VideoResponseBeaconData containing video tracking information.
-
prepareVideoBeaconProcessor
final static VideoBeaconProcessor prepareVideoBeaconProcessor(NativeAdUnitComponent $self, VastBeaconData vastBeaconData)
Prepares a VideoBeaconProcessor for a native ad unit component.
This function creates a VideoBeaconProcessor using the provided vastBeaconData, the ad lifecycle data from the ad component, and the response beacon data prepared by prepareResponseBeaconData.
- Parameters:
vastBeaconData- The VastBeaconData for the video.- Returns:
The VideoBeaconProcessor instance.
-
-
-
-