Package | com.distriqt.extension.adverts |
Class | public class RequestConfiguration |
Inheritance | RequestConfiguration Object |
Method | Defined By | ||
---|---|---|---|
RequestConfiguration | |||
fromObject(data:Object):RequestConfiguration [static] | RequestConfiguration | ||
setMaxAdContentRating(contentRating:String):RequestConfiguration
Set a maximum ad content rating for ad requests
| RequestConfiguration | ||
setTagForChildDirectedTreatment(tagForChildDirectedTreatment:int):RequestConfiguration
Indicate whether you want Google to treat your content as child-directed when you make an ad request
For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called
"tag for child-directed treatment". | RequestConfiguration | ||
setTagForUnderAgeOfConsent(tagForUnderAgeOfConsent:int):RequestConfiguration
Mark your ad requests to receive treatment for users in the European Economic Area (EEA)
under the age of consent. | RequestConfiguration | ||
setTestDeviceIds(testDeviceIds:Array):RequestConfiguration
https://developers.google.com/admob/android/test-ads#add_your_test_device_programmatically
| RequestConfiguration | ||
toJSONString():String | RequestConfiguration | ||
toObject():Object | RequestConfiguration | ||
toString():String | RequestConfiguration |
Constant | Defined By | ||
---|---|---|---|
MAX_AD_CONTENT_RATING_G : String = G [static]
| RequestConfiguration | ||
MAX_AD_CONTENT_RATING_MA : String = MA [static]
| RequestConfiguration | ||
MAX_AD_CONTENT_RATING_PG : String = PG [static]
| RequestConfiguration | ||
MAX_AD_CONTENT_RATING_T : String = T [static]
| RequestConfiguration | ||
MAX_AD_CONTENT_RATING_UNSPECIFIED : String [static]
| RequestConfiguration | ||
TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE : int = 0 [static]
Indicate that you don't want your content treated as child-directed for purposes of COPPA
| RequestConfiguration | ||
TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE : int = 1 [static]
Indicate that you want your content treated as child-directed for purposes of COPPA
| RequestConfiguration | ||
TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED : int = -1 [static]
Don't indicate how you would like your content treated with respect to COPPA
| RequestConfiguration | ||
TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE : int = 0 [static]
Indicate that you want the ad request to not receive treatment for users in the European Economic Area (EEA) under the age of consent
| RequestConfiguration | ||
TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE : int = 1 [static]
Indicate that you want the ad request to receive treatment for users in the European Economic Area (EEA) under the age of consent
| RequestConfiguration | ||
TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIED : int = -1 [static]
Indicate that you have not specified whether the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent
| RequestConfiguration |
RequestConfiguration | () | Constructor |
public function RequestConfiguration()
fromObject | () | method |
public static function fromObject(data:Object):RequestConfiguration
Parameters
data:Object |
RequestConfiguration |
setMaxAdContentRating | () | method |
public function setMaxAdContentRating(contentRating:String):RequestConfiguration
Set a maximum ad content rating for ad requests
Parameters
contentRating:String |
RequestConfiguration — RequestConfiguration instance for chaining calls
|
setTagForChildDirectedTreatment | () | method |
public function setTagForChildDirectedTreatment(tagForChildDirectedTreatment:int):RequestConfiguration
Indicate whether you want Google to treat your content as child-directed when you make an ad request For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called "tag for child-directed treatment". By setting this tag, 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.
Parameters
tagForChildDirectedTreatment:int |
RequestConfiguration — RequestConfiguration instance for chaining calls
|
setTagForUnderAgeOfConsent | () | method |
public function setTagForUnderAgeOfConsent(tagForUnderAgeOfConsent:int):RequestConfiguration
Mark your ad requests to receive treatment for users in the European Economic Area (EEA) under the age of consent.
Parameters
tagForUnderAgeOfConsent:int |
RequestConfiguration — RequestConfiguration instance for chaining calls
|
setTestDeviceIds | () | method |
public function setTestDeviceIds(testDeviceIds:Array):RequestConfiguration
https://developers.google.com/admob/android/test-ads#add_your_test_device_programmatically
Parameters
testDeviceIds:Array |
RequestConfiguration — RequestConfiguration instance for chaining calls
|
toJSONString | () | method |
public function toJSONString():String
ReturnsString |
toObject | () | method |
public function toObject():Object
ReturnsObject |
toString | () | method |
public function toString():String
ReturnsString |
MAX_AD_CONTENT_RATING_G | Constant |
public static const MAX_AD_CONTENT_RATING_G:String = G
MAX_AD_CONTENT_RATING_MA | Constant |
public static const MAX_AD_CONTENT_RATING_MA:String = MA
MAX_AD_CONTENT_RATING_PG | Constant |
public static const MAX_AD_CONTENT_RATING_PG:String = PG
MAX_AD_CONTENT_RATING_T | Constant |
public static const MAX_AD_CONTENT_RATING_T:String = T
MAX_AD_CONTENT_RATING_UNSPECIFIED | Constant |
public static const MAX_AD_CONTENT_RATING_UNSPECIFIED:String
TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE | Constant |
public static const TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE:int = 0
Indicate that you don't want your content treated as child-directed for purposes of COPPA
TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE | Constant |
public static const TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE:int = 1
Indicate that you want your content treated as child-directed for purposes of COPPA
TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED | Constant |
public static const TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED:int = -1
Don't indicate how you would like your content treated with respect to COPPA
TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE | Constant |
public static const TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE:int = 0
Indicate that you want the ad request to not receive treatment for users in the European Economic Area (EEA) under the age of consent
TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE | Constant |
public static const TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE:int = 1
Indicate that you want the ad request to receive treatment for users in the European Economic Area (EEA) under the age of consent
TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIED | Constant |
public static const TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIED:int = -1
Indicate that you have not specified whether the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent