Class ExperienceResult
-
- All Implemented Interfaces:
public class ExperienceResultSealed class representing the result of loading a native ad experience.
This class encapsulates the various outcomes that can occur when attempting to load and prepare a native ad experience, including successful loading, unavailable content, and failure scenarios. Each result type provides specific information relevant to that outcome.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExperienceResult.SuccessRepresents a successful experience loading result.
This result indicates that the native ad experience was successfully loaded and is ready for display. It contains the media view that can be rendered and optional VAST beacon data for video tracking.
public final classExperienceResult.UnAvailableRepresents a result where the experience content is unavailable.
This result occurs when the ad content cannot be loaded but it's not necessarily an error - for example, when video content is not required and fails to load, or when optional media assets are not available. The ad can still potentially be displayed without the media content.
public final classExperienceResult.FailureRepresents a failed experience loading result.
This result indicates that a critical error occurred during the loading process that prevents the ad from being displayed. The error code provides specific information about the type of failure for debugging and telemetry purposes.
-