1. Home
  2. Docs
  3. Publisher Guidelines
  4. Ready to Code
  5. Initialization

Initialization

ConsoliAds Marketplace needs to be explicitly initialized, using the following code, once the  prefab is active:

ConsoliAdsSDK.Instance.Initialize(userConsent);

userConsent: TRUE if the user agrees to share his data and opts for personalized ads, FALSE otherwise. This flag is used for GDPR and CCPA compliance both. 

NOTE: all initialize params cannot be modified once ConsoliAdsSDK is initialized

How can we help?