GoogleMobileAds Framework Reference

  • Globally available structures include GADAdSize for defining ad dimensions and GADVersionNumber for accessing version information.

  • GADAdSize provides a way to specify the width and height of an ad unit using the GADAdSize type.

  • GADVersionNumber allows developers to retrieve information about the version of the Google Mobile Ads SDK.

Structures

The following structures are available globally.

  • Ad size.

    See

    typedef GADAdSize

    Declaration

    Swift

    struct AdSize

    Objective-C

    struct GADAdSize {}
  • Version number information.

    Declaration

    Swift

    struct VersionNumber

    Objective-C

    struct GADVersionNumber {}