Skip to main content
  • Interactive Media Ads SDKs
  • IMA SDK for Android
/
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
Guides Reference Resources Download
  • Interactive Media Ads SDKs
  • IMA SDK for Android
  • Guides
  • Reference
  • Resources
  • Download
  • Interactive Media Ads SDK
    • api
      • Overview
      • Interfaces
        • Ad
        • AdDisplayContainer
        • AdErrorEvent
        • AdErrorEvent.AdErrorListener
        • AdEvent
        • AdEvent.AdEventListener
        • AdPodInfo
        • AdProgressInfo
        • AdsLoader
        • AdsLoader.AdsLoadedListener
        • AdsManager
        • AdsManagerLoadedEvent
        • AdsRenderingSettings
        • AdsRequest
        • BaseDisplayContainer
        • BaseManager
        • BaseRequest
        • CompanionAd
        • CompanionAdSlot
        • CompanionAdSlot.ClickListener
        • CuePoint
        • FriendlyObstruction
        • ImaSdkSettings
        • StreamDisplayContainer
        • StreamManager
        • StreamRequest
        • UiElement
        • UniversalAdId
      • Classes
        • ImaSdkFactory
        • VersionInfo
      • Enums
        • AdError.AdErrorCode
        • AdError.AdErrorType
        • AdEvent.AdEventType
        • FriendlyObstructionPurpose
        • StreamRequest.StreamFormat
      • Exceptions
        • AdError
    • api.player
      • Overview
      • Interfaces
        • AdProgressProvider
        • ContentProgressProvider
        • ResizablePlayer
        • VideoAdPlayer
        • VideoAdPlayer.VideoAdPlayerCallback
        • VideoStreamPlayer
        • VideoStreamPlayer.VideoStreamPlayerCallback
        • VolumeProvider
      • Classes
        • AdMediaInfo
        • VideoProgressUpdate
    • api.signals
      • Overview
      • Interfaces
        • SecureSignalsAdapter
        • SecureSignalsCollectSignalsCallback
        • SecureSignalsInitializeCallback
      • Classes
        • SecureSignals
  • Google User Messaging Platform
    • com.google.android.ump
      • Overview
      • Interfaces
        • ConsentForm
        • ConsentForm.OnConsentFormDismissedListener
        • ConsentInformation
        • ConsentInformation.OnConsentInfoUpdateFailureListener
        • ConsentInformation.OnConsentInfoUpdateSuccessListener
        • UserMessagingPlatform.OnConsentFormLoadFailureListener
        • UserMessagingPlatform.OnConsentFormLoadSuccessListener
      • Classes
        • ConsentDebugSettings
        • ConsentDebugSettings.Builder
        • ConsentRequestParameters
        • ConsentRequestParameters.Builder
        • FormError
        • UserMessagingPlatform
      • Enums
        • ConsentInformation.PrivacyOptionsRequirementStatus
      • Annotations
        • ConsentDebugSettings.DebugGeography
        • ConsentInformation.ConsentStatus
        • FormError.ErrorCode
  • Home
  • Products
  • Interactive Media Ads SDKs
  • IMA SDK for Android
  • Reference
Stay organized with collections Save and categorize content based on your preferences.

AdEvent.AdEventListener

Kotlin |Java

interface AdEvent.AdEventListener


Listener interface for ad events.

Summary

Public functions

Unit
onAdEvent(event: AdEvent!)

Respond to an occurrence of an AdEvent.

Public functions

onAdEvent

fun onAdEvent(event: AdEvent!): Unit

Respond to an occurrence of an AdEvent.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-01-22 UTC.

  • Connect

    • Blog
    • Instagram
    • LinkedIn
    • X (Twitter)
    • YouTube
  • Programs

    • Google Developer Groups
    • Google Developer Experts
    • Accelerators
    • Women Techmakers
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
    • Google Home Developer Console
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • Google AI
  • All products
  • Terms
  • Privacy
  • Manage cookies
  • Sign up for the Google for Developers newsletter Subscribe
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어