Platforms to show: All Mac Windows Linux Cross-Platform
GADRequestConfigurationMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
The settings in this class will apply to all ad requests.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 5 properties
- property Handle as Integer
- property maxAdContentRating as String
- property publisherPrivacyPersonalizationState as Integer
- property tagForChildDirectedTreatment as Variant
- property tagForUnderAgeOfConsent as Variant
- 4 methods
- method Constructor Private
- method setSameAppKeyEnabled(enabled as boolean)
- method setTestDeviceIdentifiers(testDeviceIdentifiers() as string)
- method testDeviceIdentifiers as string()
- 5 shared methods
- shared method GADMaxAdContentRatingGeneral as String
- shared method GADMaxAdContentRatingMatureAudience as String
- shared method GADMaxAdContentRatingParentalGuidance as String
- shared method GADMaxAdContentRatingTeen as String
- shared method GADSimulatorID as String
- 3 constants
Privacy treatment personalization states
Constant | Value | Description |
---|---|---|
PublisherPrivacyPersonalizationStateDefault | 0 |
Indicates that ad requests should receive the default publisher privacy treatment. |
PublisherPrivacyPersonalizationStateDisabled | 2 |
Indicates that ad requests should receive non-personalized publisher privacy treatment. |
PublisherPrivacyPersonalizationStateEnabled | 1 |
Indicates that ad requests should receive personalized publisher privacy treatment. |
This class has no sub classes.
Some properties using for this class:
- GADMobileAdsMBS.requestConfiguration as GADRequestConfigurationMBS
Some examples using this class:
Blog Entries
Release notes
- Version 24.0
- Added tagForUnderAgeOfConsent and tagForChildDirectedTreatment properties for GADRequestConfigurationMBS class.
- Removed tagForUnderAgeOfConsent and tagForChildDirectedTreatment methods in GADRequestConfigurationMBS class.
The items on this page are in the following plugins: MBS iOS Plugin.
GADMobileAdsMBS - GADRequestMBS