Skip to main content
Google Dynamic Ad Insertion
  • Google Dynamic Ad Insertion
  • Home
  • Full service DAI
  • Pod serving DAI
  • Server guided DAI
SDKs
  • HTML5
  • Android
  • iOS
  • tvOS
  • Chromecast
  • Roku
  • Full service DAI
  • Pod serving DAI
  • Early ad break notification v1
  • Support
  • Terms of service
  • Developer (IMA SDK) forum
  • Ads developer blog
  • Test tools
  • Video Suite Inspector
  • Sample streams
/
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
  • IMA DAI SDK for Android
Guides Reference Download
Google Dynamic Ad Insertion
  • Google Dynamic Ad Insertion
  • Home
    • More
  • Solutions
    • More
  • SDKs
    • More
    • Guides
    • Reference
    • Download
  • APIs
    • More
  • Resources
    • More
  • 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
  • Full service DAI
  • Pod serving DAI
  • Server guided DAI
  • HTML5
  • Android
  • iOS
  • tvOS
  • Chromecast
  • Roku
  • Full service DAI
  • Pod serving DAI
  • Early ad break notification v1
  • Support
  • Terms of service
  • Developer (IMA SDK) forum
  • Ads developer blog
  • Test tools
  • Video Suite Inspector
  • Sample streams
  • Home
  • Products
  • Dynamic Ad Insertion
  • IMA DAI SDK for Android
  • Reference

CompanionAdSlot.ClickListener

Kotlin |Java

public interface CompanionAdSlot.ClickListener


Listener interface for click events.

Summary

Public methods

abstract void
onCompanionAdClick()

Respond to a click on this companion ad slot.

Public methods

onCompanionAdClick

abstract void onCompanionAdClick()

Respond to a click on this companion ad slot.

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.

  • 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 Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어