Prior to loading Pangle ads, initializing Pangle SDK is necessary and should ideally be done only once during the App Launch stage, preferably in the AppDelegate method.
PAGConfig.Builder | description |
@property (nonatomic, assign) PAGPAConsentType PAConsent; | Indicates whether the user agrees to the delivery of personalized ads. If not passed, it is assumed to be agreed.(v7.1.0.4 added) PAGPAConsentTypeNoConsent = 0, ///< User doesn't grant consent , PAGPAConsentTypeConsent = 1, ///< User has granted the consent. |
@property (nonatomic, assign) PAGGDPRConsentTypeConsent GDPRConsent; | Set the configuration of GDPR, 0:User doesn't grant consent, 1: User has granted the consent |
@property (nonatomic, assign) PAGChildDirectedTypeNonChild childDirected; | Set the configuration of COPPA, 0:adult, 1:child(v7.1.0.4 removed) |
@property (nonatomic, assign) PAGDoNotSellTypeSell doNotSell; | Set the configuration of CCPA, 0: "sale" of personal information is permitted, 1: user has opted out of "sale" of personal information(v7.1.0.4 removed) |
To set PAGConfig, please utilize the method outlined below.
The meaning of PAGConfig value
You also could check the initialization status with the method PAGSdk.SDKVersion