Search Unity

Unity Ads - change age restrictions from code

Discussion in 'Unity Ads & User Acquisition' started by WattyDev, Nov 28, 2018.

  1. WattyDev

    WattyDev

    Joined:
    Nov 28, 2018
    Posts:
    4
    Hi. I'm trying to implement UnityAds and I want to make popup on start of the game, where I can ask a user about his age and set restrictions accordingly his answer. Is it possible? I heard that I could probably use MetaData for this but I can't find any information about how can I use this for my situation.
     
  2. mikaisomaa

    mikaisomaa

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    365
    Currently the only way to achieve this is the following:
    - Ask this before initialising Ads
    - Initialise Ads with the game ID that has the appropriate age limit set
     
    WattyDev likes this.