GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADServerSideVerificationOptions
@interface GADServerSideVerificationOptions : NSObject <NSCopying>
Options for server-side verification callbacks for a rewarded ad.
-
A unique identifier used to identify the user when making server-side verification reward
callbacks. This value will be passed as a parameter of the callback URL to the publisher’s
server.
Declaration
Swift
var userIdentifier: String? { get set }
Objective-C
@property (nonatomic, copy, nullable) NSString *userIdentifier;
-
Optional custom reward string to include in the server-side verification callback.
Declaration
Swift
var customRewardText: String? { get set }
Objective-C
@property (nonatomic, copy, nullable) NSString *customRewardString;
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\u003e\u003ccode\u003eGADServerSideVerificationOptions\u003c/code\u003e provides a way to verify rewarded ad callbacks on your server.\u003c/p\u003e\n"],["\u003cp\u003eThese options include a \u003ccode\u003euserIdentifier\u003c/code\u003e for user identification during callbacks and an optional \u003ccode\u003ecustomRewardString\u003c/code\u003e for custom rewards.\u003c/p\u003e\n"],["\u003cp\u003eBoth properties are passed as parameters to the publisher's server via the callback URL.\u003c/p\u003e\n"]]],["GADServerSideVerificationOptions allows setting parameters for server-side reward verification callbacks. It includes a `userIdentifier`, a unique string to identify the user during callbacks, passed as a parameter to the publisher's server. Additionally, it features an optional `customRewardString`, which can be included in the verification callback. Both properties are nullable, and are modifiable in both Swift and Objective-C. They can be used in a server-side verification callback for a rewarded ad.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADServerSideVerificationOptions\n================================\n\n\n @interface GADServerSideVerificationOptions : NSObject \u003cNSCopying\u003e\n\nOptions for server-side verification callbacks for a rewarded ad.\n- `\n ``\n ``\n `\n\n ### [userIdentifier](#/c:objc(cs)GADServerSideVerificationOptions(py)userIdentifier)\n\n `\n ` \n A unique identifier used to identify the user when making server-side verification reward\n callbacks. This value will be passed as a parameter of the callback URL to the publisher's\n server. \n\n #### Declaration\n\n Swift \n\n var userIdentifier: String? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSString *userIdentifier;\n\n- `\n ``\n ``\n `\n\n ### [customRewardString](#/c:objc(cs)GADServerSideVerificationOptions(py)customRewardString)\n\n `\n ` \n Optional custom reward string to include in the server-side verification callback. \n\n #### Declaration\n\n Swift \n\n var customRewardText: String? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSString *customRewardString;"]]