Stay organized with collections
Save and categorize content based on your preferences.
public final class AdLoadResult.Success<AdT extends Ad> implements AdLoadResult
Result for when an AdT
successfully loads.
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-03-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-22 UTC."],[[["`AdLoadResult.Success` signals a successful ad load operation."],["It provides access to the loaded `Ad` object through the `getAd()` method."],["This class is a part of the AdMob's next generation SDK for Android."],["It's used when implementing custom ad loading logic with the SDK."]]],["`AdLoadResult.Success` represents the outcome when an `AdT` successfully loads. It's a final class implementing `AdLoadResult`. The constructor, `Success(@NonNull AdT ad)`, takes a non-null `AdT` object. The `getAd()` method, returning a non-null `AdT`, provides access to the successfully loaded ad. This structure signifies that when loading is successful, a specific ad object is made available.\n"]]