To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleMobileAds Framework Reference

  • GAMBannerViewOptions is used to configure options for loading banner ads within the Google Mobile Ads SDK.

  • Publishers can manually record ad impressions when they become visible by setting enableManualImpressions to true.

  • By default, the SDK automatically handles impression recording if enableManualImpressions is not enabled or set to false.

GAMBannerViewOptions


@interface GAMBannerViewOptions : GADAdLoaderOptions 

Ad loader options for banner ads.

  • Whether the publisher will record impressions manually when the ad becomes visible to the user.

    Declaration

    Swift

    var isManualImpressionEnabled: Bool { get set }

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
     getter=isManualImpressionEnabled) BOOL manualImpressionEnabled;

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 2025年08月20日 UTC.