Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.Reward
Describes a reward credited to a user for interacting with rewarded ads.
Summary
Inheritance
Inherits from: EventArgs
Public attributes
|
Amount
|
double
The reward amount.
|
Type
|
string
The type of the reward.
|
Public attributes
Public functions
Reward
Reward(
Reward reward
)
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\u003eGoogleMobileAds.Api.Reward\u003c/code\u003e describes a reward given to a user for engaging with rewarded ads, containing information about the reward amount and type.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eAmount\u003c/code\u003e (a double representing the reward value) and \u003ccode\u003eType\u003c/code\u003e (a string describing the reward type).\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this class to access reward details after a user interacts with a rewarded ad, such as the amount and type of reward earned.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors to create a new \u003ccode\u003eReward\u003c/code\u003e object, including one that copies data from an existing \u003ccode\u003eReward\u003c/code\u003e instance.\u003c/p\u003e\n"]]],["The `Reward` class, inheriting from `EventArgs`, represents a user's reward from ad interactions. It holds information about the reward through two public attributes: `Amount` (a double representing the reward value) and `Type` (a string specifying the reward type). The class provides two constructors: a default constructor and one that accepts an existing `Reward` object. These components define how the reward's value and kind are accessed and constructed.\n"],null,["GoogleMobileAds.Api.Reward\n\nDescribes a reward credited to a user for interacting with rewarded ads.\n\nSummary\n\nInheritanceInherits from: EventArgs\n\n| Constructors and Destructors ||\n|---|---|\n| [Reward](#class_google_mobile_ads_1_1_api_1_1_reward_1a84c0f4127c77a4791bdafbcf09809344)`()` ||\n| [Reward](#class_google_mobile_ads_1_1_api_1_1_reward_1ab160f7c283372aa1a10a5a6562e5ad4f)`(`[Reward](/admob/unity/reference/class/google-mobile-ads/api/reward#class_google_mobile_ads_1_1_api_1_1_reward)` reward)` ||\n\n| Public attributes ||\n|------------------------------------------------------------------------------------------|----------------------------------|\n| [Amount](#class_google_mobile_ads_1_1_api_1_1_reward_1ae1f28cd63d59220091f90a9231b50fc0) | `double` The reward amount. |\n| [Type](#class_google_mobile_ads_1_1_api_1_1_reward_1a26b8e6d2d8a39acb9256d269c4ef3444) | `string` The type of the reward. |\n\nPublic attributes \n\nAmount \n\n```c#\ndouble Amount\n``` \nThe reward amount. \n\nType \n\n```c#\nstring Type\n``` \nThe type of the reward.\n\nPublic functions \n\nReward \n\n```c#\n Reward()\n``` \n\nReward \n\n```c#\n Reward(\n Reward reward\n)\n```"]]