[ Web Proxy ]
URL:
Viewing: https://firebase.google.com/docs/reference/ios/googlemobileads/api/reference/Type-Definitions [Back]  [Original]

GoogleMobileAds Framework Reference  |  Firebase Skip to main content
Overview Fundamentals AI Build Run Reference Samples
Firebase [Firebase]
Send feedback

GoogleMobileAds Framework Reference Stay organized with collections Save and categorize content based on your preferences.

Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef NSString *GADAdLoaderAdType
  • Undocumented

    Declaration

    Objective-C

    typedef NSString *GADAdMetadataKey
  • 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)
  • Maximum ad content rating.

    Declaration

    Objective-C

    typedef NSString *GADMaxAdContentRating
  • A block to be executed when the ad request operation completes. If the load failed, the error object is non-null and provides failure information. On success, |error| is nil.

    Declaration

    Objective-C

    typedef void (^GADRewardedAdLoadCompletionHandler)(GADRequestError *_Nullable)
  • Undocumented

    Declaration

    Objective-C

    typedef struct GADVersionNumber GADVersionNumber
  • Completion handler for signal generation. Returns either signals or an error object.

    Declaration

    Objective-C

    typedef void (^GADRTBSignalCompletionHandler)(NSString *_Nullable,
                                                  NSError *_Nullable)
Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2021-03-03 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-03 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page