GoogleMobileAds. Api. RequestConfiguration

Global configuration used for every AdRequest .

Summary

Constructors and Destructors

RequestConfiguration ( RequestConfiguration requestConfiguration)

Public attributes

A maximum ad content rating.
bool
Controls whether the Google Mobile Ads SDK publisher first-party ID, formerly known as the same app key, is enabled.
This property lets you specify the personalization treatment that applies to subsequent ad requests.
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
.
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 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.

PublisherFirstPartyIdEnabled

 bool 
  
 PublisherFirstPartyIdEnabled 

Controls whether the Google Mobile Ads SDK publisher first-party ID, formerly known as the same app key, is enabled.

The value set persists across app sessions once MobileAds.SetRequestConfiguration() is called.

PublisherPrivacyPersonalizationState

  PublisherPrivacyPersonalizationState 
 
  
 PublisherPrivacyPersonalizationState 

This property lets you specify the personalization treatment that applies to subsequent ad requests.

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 
 ) 
Design a Mobile Site
View Site in Mobile | Classic
Share by: