Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Monetizing for mobile suggestions?

Discussion in 'General Discussion' started by jmgek, Apr 7, 2024.

  1. jmgek

    jmgek

    Joined:
    Dec 9, 2012
    Posts:
    177
    I'm exploring other ways for my products to bring in money, is there a specific package / system built for unity I should consider when implementing ads / subscription based?

    • Is there a default extension for ads that unity supports, or a package you would recommend, how are those compared to third party?
    • Is there anything for subscriptions or would I just roll my own gateway for user accounts?
     
  2. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    9,066
    Subscriptions for mobile are typically done though the marketplaces, and in some cases, like the App Store, you are not really allowed to use anything else. And even when you can, like through some of the android marketplaces, outside options tend to turn off potential customers.

    For ads, UnityAds is popular and from what I understand fairly easy to use.
    https://unity.com/products/unity-ads
     
    jmgek and Ryiah like this.
  3. PizzaPie

    PizzaPie

    Joined:
    Oct 11, 2015
    Posts:
    107
    Unity ads and in general Unity analytics (required for ads) last time I checked didn't comply with GDPR requirements, been a year though so they might have fixed it?

    We use iron source and iron source mediation (again owned?! by unity and can still use unity ads through it) which allows manual initialization with user preferences. (Get plugin from iron source site)
     
    MadeFromPolygons and AcidArrow like this.
  4. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,667
    To my knowledge we have been compliant with GDPR since it was rolled out. What makes you think we aren't/weren't?
     
  5. PizzaPie

    PizzaPie

    Joined:
    Oct 11, 2015
    Posts:
    107
    There was no way to pass player preferences as allow tracking/ age etc on initialization or change later.

    When first ad would be played you would get native consent screen but thats too late and no way to change given preferences after first time pop up from inside the app, according to our lawyer consultant that was a no go.

    Apart from legal perspective, inability to assign/ change consents directly would require use of multiple consent pop ups to cover other third party services we use.

    If I remember correctly there is a forum post on the matter discussing the issues with it more thoroughly.
     
    MadeFromPolygons and marcoantap like this.
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,994
    MadeFromPolygons likes this.
  7. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,667
    I'm no expert in our Ads SDK, but I asked the team, who pointed me at this page. You can see a code snippet of how to do this:

    Code (CSharp):
    1. // If the user opts in to targeted advertising:
    2. MetaData gdprMetaData = new MetaData("gdpr");
    3. gdprMetaData.Set("consent", "true");
    4. Advertisement.SetMetaData(gdprMetaData);
    5.  
    6. // If the user opts out of targeted advertising:
    7. MetaData gdprMetaData = new MetaData("gdpr");
    8. gdprMetaData.Set("consent", "false");
    9. Advertisement.SetMetaData(gdprMetaData);
    However, the MetaData type and the Advertisement.SetMetaData() methods are missing from the API reference page, so I can easily see someone concluding that there's no way to do it. I've flagged it with the team and they'll get the API reference fixed.