Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Difference between unityengine.advertisement and unityengine.monetization

Discussion in 'Unity Ads & User Acquisition' started by spadhi077, Jan 28, 2019.

Thread Status:
Not open for further replies.
  1. spadhi077

    spadhi077

    Joined:
    Sep 20, 2016
    Posts:
    45
    Hi

    I have been using UnityEngine.Advertisement in my app script to monetize my app. Today for the first time, I came across a tutorial on youtube in which the narrator included unityengine.monetization package and also included unity ads 3.0 sdk.

    I am curious to know the difference between unityengine.advertisement and unityengine.monetization. And also please share information on benefit of using sdk.

    For app development I am using Unity engine. Thanks in advance.
     
    IgorAherne and volleygo like this.
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @spadhi077,

    The Advertisements namespace was the original namespace you could use to show ads. The Monetization namespace was added in the latest version of the SDK (3.0.0). Since we were making some API changes to how ads were shown, we added a new namespace to help maintain backwards compatibility. The only change to the Advertisements namespace in 3.0.0 (aside from any bug fixes) was the addition of the Banner API.

    Here are few features of each namespace:

    Advertisements
    • Works with all versions of Unity after version 4.6
    • Can show video, display, and playable ads (rewarded and non-rewarded)
    • Can show IAP Promo ads (requires Unity IAP) (added in version 2.3)
    • Supports Personalized Placements (requires Unity IAP) (added in version 2.3)
    • Can show banner ads (added in version 3.0)
    Monetization
    • Works with all versions of Unity after version 5.0.1
    • Can show video, display, and playable ads (rewarded and non-rewarded)
    • Can show IAP Promo ads (with any IAP solution)
    • Can show Native IAP Promo (with any IAP solution)
    • Supports Personalized Placements (with any IAP solution)
    • Can show AR ads
     
    pansoul, IgorAherne, jsra15 and 2 others like this.
  3. Zaine7673

    Zaine7673

    Joined:
    Feb 15, 2018
    Posts:
    238
    does this imply that monetization cannot dhow banner ads?

    also, will advertisements eventually become deprecated/obsolete?
     
    yuriSGVM and itayganor like this.
  4. the_lemur

    the_lemur

    Joined:
    Apr 3, 2013
    Posts:
    104
    This is all confusing as hell. The documentation that COMES with the latest UnityStore ad extension lists ONLY UnityEngine.Advertisements classes.

    And the online documentation refers to an IMonetizationListener which does not appear to exist at all.
    It's impossible to know what we're suppose to be doing.
     
    Menion-Leah and Zaine7673 like this.
  5. Zaine7673

    Zaine7673

    Joined:
    Feb 15, 2018
    Posts:
    238

    AGREED.

    documentation on this is terrible.

    I ended up using advertisements in script but had to remove advertisements from package manager to get it to work. IT took me way longer than it should have to get that sorted.

    i hope that helps you somehow.
     
    Skoufakis likes this.
  6. DemonPawi97

    DemonPawi97

    Joined:
    Sep 5, 2018
    Posts:
    2
    I've used UnityEngine.Advertisement too but should I switch to UnityEngine.Monetization?
     
  7. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    UnityEngine.Monetization is deprecated and will be removed in a future version.

    UnityEngine.Advertisement is the recommended namespace and eventually, to alleviate any confusion, it will be the only one.
     
  8. cyrusmasta

    cyrusmasta

    Joined:
    Mar 20, 2019
    Posts:
    11
    Advertisement is different to Monetization in implementation.. theres a good tutorial thats shows, how to switch?
     
  9. cyrusmasta

    cyrusmasta

    Joined:
    Mar 20, 2019
    Posts:
    11
Thread Status:
Not open for further replies.