To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleMobileAds Framework Reference

  • GADAdMetadataDelegate is a delegate protocol for receiving ad metadata change messages.

  • The adMetadataDidChange: method is called when an ad loads and when a loaded ad's metadata changes, informing the delegate of the change.

GADAdMetadataDelegate

@protocol GADAdMetadataDelegate <NSObject>

Delegate protocol for receiving ad metadata change messages from a GADAdMetadataProvider.

  • Tells the delegate that the ad’s metadata changed. Called when an ad loads and when a loaded ad’s metadata changes.

    Declaration

    Swift

    func adMetadataDidChange(_ ad: any AdMetadataProvider)

    Objective-C

    - (void)adMetadataDidChange:(nonnull id<GADAdMetadataProvider>)ad;

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年08月20日 UTC.