// // GADAdMetadata.h // Google Mobile Ads SDK // // Copyright 2017 Google LLC. All rights reserved. // #import /// Ad metadata key type. typedef NSString *GADAdMetadataKey NS_TYPED_ENUM; @protocol GADAdMetadataDelegate; /// Protocol for ads that provide ad metadata. @protocol GADAdMetadataProvider /// The ad's metadata. Use adMetadataDelegate to receive ad metadata change messages. @property(nonatomic, readonly, nullable) NSDictionary *adMetadata; /// Delegate for receiving ad metadata changes. @property(nonatomic, weak, nullable) id adMetadataDelegate; @end /// Delegate protocol for receiving ad metadata change messages from a GADAdMetadataProvider. @protocol GADAdMetadataDelegate /// Tells the delegate that the ad's metadata changed. Called when an ad loads and when a loaded /// ad's metadata changes. - (void)adMetadataDidChange:(nonnull id)ad; @end