Represents the options for customizing ad requests, including content ratings and regulatory compliance settings. More...
Public Member Functions | |
| void | SetContentRatingBasedOnAge (int age) |
| Sets the ContentRating field based on the user's age. | |
| void | OnBeforeSerialize () |
| void | OnAfterDeserialize () |
Public Attributes | |
| ContentRating | ContentRating = ContentRating.Unspecified |
| Specifies the maximum allowed ad content rating, based on ESRB classifications. | |
| AgeRestrictedTreatment | AgeRestrictedTreatment = AgeRestrictedTreatment.Unspecified |
| Specifies whether ad requests require child, teen, or unspecified age-restricted treatment. | |
Properties | |
| MaxAdContentRating | MaxAdContentRating [get] |
| Converts the selected content rating to a format recognized by the ad service. | |
Represents the options for customizing ad requests, including content ratings and regulatory compliance settings.
Definition at line 11 of file RequestOptions.cs.