AdSettings contains global settings for all ad controls.
Adds a test device.
The id of the device to use test mode, can be obtained from debug log
addTestDevice:(nonnull NSString *)deviceHash;
Copy the current device Id from debug log and add it as a test device to get test ads. Apps running on emulator will automatically get test ads. Test devices should be added before loadAd is called.
Add a collection of test devices. See
+addTestDevices: for details.
The array of the device id to use test mode, can be obtained from debug log
addTestDevices:(nonnull NSArray *)devicesHash;
Clear all the added test devices
Gets the current SDK logging level
Configures the ad control for treatment as child-directed.
Indicates whether you would like your ad control to be treated as child-directed
Note that you may have other legal obligations under the Children's Online Privacy Protection Act (COPPA). Please review the FTC's guidance and consult with your own legal counsel.
Sets the current SDK logging level
Sets the url prefix to use when making ad requests.
setUrlPrefix:(nonnull NSString *)urlPrefix;
This method should never be used in production.