Search Unity

Switch between COPA ads account and non COPA with age gate

Discussion in 'Unity Ads & User Acquisition' started by lmbarns, Jun 25, 2018.

  1. lmbarns

    lmbarns

    Joined:
    Jul 14, 2011
    Posts:
    1,628
    I have an age gate in my game when it opens. People under the COPA age currently don't get any ads, I'd like to permanently enable COPA compliant ads for those users, otherwise use my normal ads ID.

    The COPA flag is global for the project, so I don't see a way to enable the 2 different settings in 1 ads account. It'd be nice if the COPA flag was per ad ID....

    Advertisement.gameID is get only, can't switch between the 2 before initializing ads.

    Anyone have any ideas or workaround?
     
  2. rasmus-unity

    rasmus-unity

    Moderator

    Joined:
    Aug 15, 2014
    Posts:
    1,312
    Create two different projects (with and without COPPA), use Unity Ads SDK from asset store package, and initialize from code after user has selected age, with the corresponding Ads game id. See "Asset Package method" on https://unityads.unity3d.com/help/monetization/integration-guide-unity for examples of how to initialize Unity Ads SDK from code.

    Hope that solves your problem, otherwise feel free to write back ofc.

    /Rasmus
     
    lmbarns likes this.