GoogleMobileAds. Api. RequestConfiguration
Global configuration used for every AdRequest.
Summary
Constructors and Destructors |
|
---|---|
RequestConfiguration()
|
|
RequestConfiguration(RequestConfiguration requestConfiguration)
|
Public attributes |
|
---|---|
MaxAdContentRating
|
A maximum ad content rating.
|
SameAppKeyEnabled
|
bool
Controls whether the Google Mobile Ads SDK Same App Key is enabled.
|
TagForChildDirectedTreatment
|
This property allows you to specify whether you would like your app to be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - http://business.ftc.gov/privacy-and-security/childrens-privacy
.
|
TagForUnderAgeOfConsent
|
Indicates the publisher specified that the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.
|
TestDeviceIds = new List
|
List< string >
The test device IDs corresponding to test device that will always request test ads.
|
Public functions |
|
---|---|
ToBuilder()
|
Classes |
|
---|---|
GoogleMobileAds. |
Public attributes
MaxAdContentRating
MaxAdContentRating MaxAdContentRating
A maximum ad content rating.
AdMob ads returned for these requests have a content rating at or below the level set.
SameAppKeyEnabled
bool SameAppKeyEnabled
Controls whether the Google Mobile Ads SDK Same App Key is enabled.
The value set persists across app sessions. The key is enabled by default.
TagForChildDirectedTreatment
TagForChildDirectedTreatment TagForChildDirectedTreatment
This property allows you to specify whether you would like your app to be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - http://business.ftc.gov/privacy-and-security/childrens-privacy
.
If you set this property to True, you will indicate that your app should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).
If you set this property to False, you will indicate that your app should not be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).
If you do not set this property, or set this method to Unspecified ad requests will include no indication of how you would like your app treated with respect to COPPA.
By using this property, you certify that this notification is accurate and you are authorized to act on behalf of the owner of the app. You understand that abuse of this setting may result in termination of your Google account.
Note: it may take some time for this designation to be fully implemented in applicable Google services.
TagForUnderAgeOfConsent
TagForUnderAgeOfConsent TagForUnderAgeOfConsent
Indicates the publisher specified that the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.
TestDeviceIds
List< string > TestDeviceIds = new List()
The test device IDs corresponding to test device that will always request test ads.
Returns an empty list if test device IDs were not previously set.
Public functions
RequestConfiguration
RequestConfiguration()
RequestConfiguration
RequestConfiguration( RequestConfiguration requestConfiguration )
ToBuilder
Builder ToBuilder()