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, potentially with multiple instances referencing the same content."],["Identity equality should be used when comparing AdMediaInfo objects, not URL comparison."],["The class contains a `url` property, which is a String representing the ad's URL."]]],[]]