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
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.
[null,null,["Last updated 2025-01-22 UTC."],[[["AdMediaInfo is the minimum data needed to play an ad, where multiple objects might point to the same ad content."],["Comparing AdMediaInfo instances should be done using identity checks, not by comparing their URLs."],["The primary public property of AdMediaInfo is `url`, which is a String type."]]],[]]