GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADBannerSignalRequest
A banner signal request that can be used as input in server-to-server signal generation.
-
Indicates that 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;
-
The banner ad size. Use one of the predefined standard ad sizes (such as GADAdSizeBanner), or
create one using the GADAdSizeFromCGSize method. Never create your own GADAdSize directly.
Declaration
Swift
var adSize: AdSize { get set }
Objective-C
@property (nonatomic) GADAdSize adSize;
-
Array of NSValue encoded GADAdSize structs, specifying all valid sizes that are
appropriate for this slot. Use one of the predefined
standard ad sizes (such as GADAdSizeBanner), or create one using the GADAdSizeFromCGSize
method. Never create your own GADAdSize directly.
Example:
\code
NSArray *adSizes = @[
NSValueFromGADAdSize(GADAdSizeBanner),
NSValueFromGADAdSize(GADAdSizeLargeBanner)
];
signalRequest.adSizes = adSizes;
\endcode
Declaration
Swift
var adSizes: [NSValue]? { get set }
Objective-C
@property (nonatomic, copy, nullable) NSArray<NSValue *> *adSizes;
-
Video ad options. Defaults to nil.
Declaration
Swift
@NSCopying var videoOptions: VideoOptions? { get set }
Objective-C
@property (nonatomic, copy, nullable) GADVideoOptions *videoOptions;
-
Returns an initialized banner signal request.
Declaration
Swift
init(signalType: String)
Objective-C
- (nonnull instancetype)initWithSignalType:(nonnull NSString *)signalType;
Parameters
signalType
|
The type of signal to request.
|
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.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eGADBannerSignalRequest\u003c/code\u003e is used for server-side signal generation for banner ads.\u003c/p\u003e\n"],["\u003cp\u003eIt allows publishers to specify the desired ad size and optionally multiple ad sizes.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can manually record impressions and set video ad options.\u003c/p\u003e\n"],["\u003cp\u003eInitialization requires specifying the signal type.\u003c/p\u003e\n"]]],[],null,["# GoogleMobileAds Framework Reference\n\nGADBannerSignalRequest\n======================\n\n\n @interface GADBannerSignalRequest : ../Classes/GADSignalRequest.html\n\nA banner signal request that can be used as input in server-to-server signal generation.\n- `\n ``\n ``\n `\n\n ### [manualImpressionEnabled](#/c:objc(cs)GADBannerSignalRequest(py)manualImpressionEnabled)\n\n `\n ` \n Indicates that the publisher will record impressions manually when the ad becomes visible to the\n 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;\n\n- `\n ``\n ``\n `\n\n ### [adSize](#/c:objc(cs)GADBannerSignalRequest(py)adSize)\n\n `\n ` \n The banner ad size. Use one of the predefined standard ad sizes (such as GADAdSizeBanner), or\n create one using the GADAdSizeFromCGSize method. Never create your own GADAdSize directly. \n\n #### Declaration\n\n Swift \n\n var adSize: AdSize { get set }\n\n Objective-C \n\n @property (nonatomic) ../Structs/GADAdSize.html adSize;\n\n- `\n ``\n ``\n `\n\n ### [adSizes](#/c:objc(cs)GADBannerSignalRequest(py)adSizes)\n\n `\n ` \n Array of NSValue encoded GADAdSize structs, specifying all valid sizes that are\n appropriate for this slot. Use one of the predefined\n standard ad sizes (such as GADAdSizeBanner), or create one using the GADAdSizeFromCGSize\n method. Never create your own GADAdSize directly.\n\n Example:\n\n \\\\code\n NSArray \\*adSizes = @\\[\n NSValueFromGADAdSize(GADAdSizeBanner),\n NSValueFromGADAdSize(GADAdSizeLargeBanner)\n \\];\n\n signalRequest.adSizes = adSizes;\n \\\\endcode \n\n #### Declaration\n\n Swift \n\n var adSizes: [NSValue]? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSArray\u003cNSValue *\u003e *adSizes;\n\n- `\n ``\n ``\n `\n\n ### [videoOptions](#/c:objc(cs)GADBannerSignalRequest(py)videoOptions)\n\n `\n ` \n Video ad options. Defaults to nil. \n\n #### Declaration\n\n Swift \n\n @NSCopying var videoOptions: VideoOptions? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) ../Classes/GADVideoOptions.html *videoOptions;\n\n- `\n ``\n ``\n `\n\n ### [-initWithSignalType:](#/c:objc(cs)GADBannerSignalRequest(im)initWithSignalType:)\n\n `\n ` \n Returns an initialized banner signal request. \n\n #### Declaration\n\n Swift \n\n init(signalType: String)\n\n Objective-C \n\n - (nonnull instancetype)initWithSignalType:(nonnull NSString *)signalType;\n\n #### Parameters\n\n |--------------------|--------------------------------|\n | ` `*signalType*` ` | The type of signal to request. |"]]