| CLASS info |
| public class RequestOptions extends Object |
| Setting directed to children, setting directed to users under the age of consent, and ad content rating. |
| Type | Name | Desc |
| Class | RequestOptions.Builder | Global configuration builder. |
| Return type | Method name |
| String | getAdContentClassification() Obtains the ad content rating. |
| String | getAppLang() Obtains the language in which an ad needs to be returned for an app. |
| String | getAppCountry() Obtains the country code corresponding to the language in which an ad needs to be returned for an app. |
| Integer | getTagForChildProtection() Obtains the child-directed setting. |
| Integer | getTagForUnderAgeOfPromise() Obtains the setting directed to users under the age of consent. |
| RequestOptions.Builder | toBuilder() Obtains a global request configuration builder. |
| Integer | getNonPersonalizedAd() Checks whether to request non-personalized ads. |
| Method |
| public String getAdContentClassification() |
| Obtains the ad content rating. |
Return
| type | desc |
| String | Ad content rating. |
| Method |
| public String getAppLang() |
| Obtains the language in which an ad needs to be returned for an app. |
Return
| type | desc |
| String | Language in which an ad needs to be returned for an app. |
| Method |
| public String getAppCountry() |
| Obtains the country code corresponding to the language in which an ad needs to be returned for an app. |
Return
| type | desc |
| String | Country code corresponding to the language in which an ad needs to be returned for an app. |
| Method |
| public Integer getTagForChildProtection() |
| Obtains the child-directed setting. |
Return
| type | desc |
| Integer | Child-directed setting. |
| Method |
| public Integer getTagForUnderAgeOfPromise() |
| Obtains the setting directed to users under the age of consent. |
Return
| type | desc |
| Integer | Directed to users under the age of consent setting. |
| Method |
| public RequestOptions.Builder toBuilder() |
| Obtains a global request configuration builder. |
Return
| type | desc |
| RequestOptions.Builder | Builder of a RequestOptions object. |
| Method |
| public int getNonPersonalizedAd() |
| Checks whether to request non-personalized ads. |
Return
| type | desc |
| Integer | Setting indicating whether to request non-personalized ads. |