Type-Definitions

The following type definitions are available globally.

  • 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
  • Native ad custom click handler block. |assetID| is the ID of asset that has received a click.

    Declaration

    Objective-C

    typedef void (^GADNativeAdCustomClickHandler)(NSString *_Nonnull)