GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GAMBannerViewOptions
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.
[[["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 2025-08-20 UTC."],[[["\u003cp\u003eGAMBannerViewOptions is used to configure options for loading banner ads within the Google Mobile Ads SDK.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can manually record ad impressions when they become visible by setting \u003ccode\u003eenableManualImpressions\u003c/code\u003e to \u003ccode\u003etrue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBy default, the SDK automatically handles impression recording if \u003ccode\u003eenableManualImpressions\u003c/code\u003e is not enabled or set to \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `GAMBannerViewOptions` class provides settings for banner ad loading. Key functionality includes the `manualImpressionEnabled` property, which determines whether ad impressions are recorded manually by the publisher. When set to `true`, impressions are not automatically recorded; the publisher must trigger them. This property can be accessed and modified using either Swift or Objective-C syntax. It is a boolean value that determines if impressions will be managed manually.\n"],null,["# GoogleMobileAds Framework Reference\n\nGAMBannerViewOptions\n====================\n\n\n @interface GAMBannerViewOptions : ../Classes.html#/c:objc(cs)GADAdLoaderOptions\n\nAd loader options for banner ads.\n- `\n ``\n ``\n `\n\n ### [manualImpressionEnabled](#/c:objc(cs)GAMBannerViewOptions(py)manualImpressionEnabled)\n\n `\n ` \n Whether the publisher will record impressions manually when the ad becomes visible to the user. \n\n #### Declaration\n\n Swift \n\n var isManualImpressionEnabled: Bool { get set }\n\n Objective-C \n\n @property (nonatomic, assign, unsafe_unretained, readwrite,\n getter=isManualImpressionEnabled) BOOL manualImpressionEnabled;"]]