Class AdContext

  • All Implemented Interfaces:
    com.inmobi.media.ads.context.AdManagerContext

    
    public final class AdContext
     implements AdManagerContext
                        

    Comprehensive context object containing all information required for ad rendering and lifecycle management.

    This class serves as the primary data container for ad-related information throughout the ad processing pipeline. It aggregates configuration, metadata, tracking information, and contextual data required for proper ad rendering, measurement, and reporting. The context is immutable once created and should be generated using AdContextGenerator.generate.

    The context includes:

    • Ad set and creative identification

    • Markup type and rendering configuration

    • Tracking and measurement parameters

    • Viewability and MRC compliance settings

    • Quality control and expiration management

    • Transaction and telemetry metadata

    Use AdContextGenerator.generate to create an instance of this class with proper validation and default value assignment.