Stay organized with collections
Save and categorize content based on your preferences.
firebase::gma::RewardedAd::ServerSideVerificationOptions
#include <rewarded_ad.h>
Options for RewardedAd server-side verification callbacks.
Summary
Set options on a RewardedAd object using the SetServerSideVerificationOptions method.
Public attributes
|
custom_data
|
std::string
Custom data to be included in server-side verification callbacks.
|
user_id
|
std::string
User id to be used in server-to-server reward callbacks.
|
Public attributes
custom_data
std::string firebase::gma::RewardedAd::ServerSideVerificationOptions::custom_data
Custom data to be included in server-side verification callbacks.
user_id
std::string firebase::gma::RewardedAd::ServerSideVerificationOptions::user_id
User id to be used in server-to-server reward callbacks.
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\u003eServerSideVerificationOptions\u003c/code\u003e configures server-side verification for \u003ccode\u003eRewardedAd\u003c/code\u003e objects in Firebase GMA.\u003c/p\u003e\n"],["\u003cp\u003eIt allows setting \u003ccode\u003ecustom_data\u003c/code\u003e for inclusion in server-side verification callbacks.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can also specify a \u003ccode\u003euser_id\u003c/code\u003e for server-to-server reward callbacks.\u003c/p\u003e\n"]]],["The `RewardedAd::ServerSideVerificationOptions` allows setting options for server-side verification callbacks on a `RewardedAd` object. These options are configured using the `SetServerSideVerificationOptions` method. Two attributes can be set: `custom_data`, a string included in callbacks, and `user_id`, a string representing the user ID utilized in server-to-server reward callbacks. Both the user ID and custom data are string type parameters.\n"],null,["# firebase::gma::RewardedAd::ServerSideVerificationOptions Struct Reference\n\nfirebase::gma::RewardedAd::ServerSideVerificationOptions\n========================================================\n\n\n`#include \u003crewarded_ad.h\u003e`\n\nOptions for [RewardedAd](/admob/cpp/reference/class/firebase/gma/rewarded-ad#classfirebase_1_1gma_1_1_rewarded_ad) server-side verification callbacks.\n\nSummary\n-------\n\nSet options on a [RewardedAd](/admob/cpp/reference/class/firebase/gma/rewarded-ad#classfirebase_1_1gma_1_1_rewarded_ad) object using the [SetServerSideVerificationOptions](/admob/cpp/reference/class/firebase/gma/rewarded-ad#classfirebase_1_1gma_1_1_rewarded_ad_1adf51013c5c2a54f1e69c781b3809175e) method.\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [custom_data](#structfirebase_1_1gma_1_1_rewarded_ad_1_1_server_side_verification_options_1aabbdcb0ee1ea64726a25f31c77d294f0) | `std::string` Custom data to be included in server-side verification callbacks. |\n| [user_id](#structfirebase_1_1gma_1_1_rewarded_ad_1_1_server_side_verification_options_1a5e13c3058a47f9d23f8231e94083696a) | `std::string` User id to be used in server-to-server reward callbacks. |\n\nPublic attributes\n-----------------\n\n### custom_data\n\n```c++\nstd::string firebase::gma::RewardedAd::ServerSideVerificationOptions::custom_data\n``` \nCustom data to be included in server-side verification callbacks. \n\n### user_id\n\n```c++\nstd::string firebase::gma::RewardedAd::ServerSideVerificationOptions::user_id\n``` \nUser id to be used in server-to-server reward callbacks."]]