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

AdMediaInfo

Kotlin |Java

class AdMediaInfo


The minimal information required to play an ad. Note that multiple AdMediaInfo objects may resolve to the same content, but refer to different ads. Thus when comparing AdMediaInfo objects one should use the identity equality check, as opposed to comparing their URLs.

Summary

Public properties

String!
url

Public properties

url

val url: String!

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
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어