Type-Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Swift

    struct GADAdLoaderAdType : RawRepresentable, _SwiftNewtypeWrapper, Equatable, Hashable, Comparable, _ObjectiveCBridgeable

    Objective-C

    typedef NSString *GADAdLoaderAdType
  • A valid GADAdSize is considered to be one of the predefined GADAdSize constants or a GADAdSize constructed by GADAdSizeFromCGSize, GADAdSizeFullWidthPortraitWithHeight, GADAdSizeFullWidthLandscapeWithHeight.

    Do not create a GADAdSize manually. Use one of the kGADAdSize constants. Treat GADAdSize as an opaque type. Do not access any fields directly. To obtain a concrete CGSize, use the function CGSizeFromGADAdSize().

    Declaration

    Objective-C

    typedef struct GADAdSize GADAdSize
  • Undocumented

    Declaration

    Swift

    struct GADNativeAppInstallAssetID : RawRepresentable, _SwiftNewtypeWrapper, Equatable, Hashable, Comparable, _ObjectiveCBridgeable

    Objective-C

    typedef NSString *GADNativeAppInstallAssetID
  • Undocumented

    Declaration

    Swift

    struct GADNativeContentAdAssetID : RawRepresentable, _SwiftNewtypeWrapper, Equatable, Hashable, Comparable, _ObjectiveCBridgeable

    Objective-C

    typedef NSString *GADNativeContentAdAssetID
  • Native ad custom click handler block. |assetID| is the ID of asset that has received a click.

    Declaration

    Swift

    typealias GADNativeAdCustomClickHandler = (String) -> Void

    Objective-C

    typedef void (^GADNativeAdCustomClickHandler)(NSString *_Nonnull)