GoogleMobileAds Framework Reference

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;