Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. We're running great holiday deals on subscriptions, swag and Asset Store packages! Take a peek at this blog for more information!
    Dismiss Notice
  3. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  4. Unity 2017.2 is now released.
    Dismiss Notice
  5. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  6. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  8. Unity 2017.3 beta is now available for download.
    Dismiss Notice
Dismiss Notice
Get paid on mobile. As a mobile developer, get started with In-App Purchases and Ads on our new solution page! Check it out here.

Issues in migrating to 5.2

Discussion in 'Unity Ads' started by Aurigan, Sep 9, 2015.

  1. Antony-Blackett


    Feb 15, 2011
    Not that much time. They have really good tutorials. The additional network plugins take a few minutes, they only really require you to add things to an android manifest, iOS is automatic. Integrating the mediator plugin is exactly the same amount of work as setting up a single ad network like Unity Ads in Unity.

    The portals take about 30 minutes to setup and sure a little longer if something goes wrong, but we're only talking a day of work at the most and the result is far better revenue from ads at no cost to your user experience.
  2. unity-nikkolai


    Unity Technologies

    Sep 18, 2014
    The BuildProcess script above is just one way to disable auto initialization of ads. These days I actually recommend using menu items so that you can set these manually. The benefit of the script above is that it always ensures auto initialization is disabled.

    Note: The enabled property determines if the built in Ads extension is loaded. Set AdvertisementSettings.enabled depending on whether you're using the built in extension vs the asset package. It doesn't have any control over whether the ads service is enabled. If you look in the Services window, you can have the Ads service enabled (recommended in either case), and then under the Advanced settings foldout you can see a checkbox for enabling the extension. That checkbox correlates to this enabled property.

    To initialize Unity Ads manually within your own game code, simply call the Advertisement.Initialize method, passing in values for your game ID and whether test mode should be enabled. The rest of your code is the same regardless of whether you allow Unity to initialize Unity Ads, or if you do so manually via this method.

    See for more details

    Also see the Quick Start guide for showing ads
    JohnGate likes this.
  3. JohnGate


    Oct 22, 2013
    Thank you for your detailed reply, shows great support :)
    unity-nikkolai likes this.