• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by skurto · Dec 03, 2018 at 01:40 PM · unity ads

Unity Banner ads do not work in build

Hi guys,

So i have doing a bit of work on the implementation of Unity ads by following the integration guide - https://unityads.unity3d.com/help/unity/integration-guide-unity#implementing-banner-ads

I followed it to a T and got the non-consumable ads working great however the banner ads only seem to appear in the editor as a grey box at the bottom saying "This would be your banner ad" and this does not appear in the build.

My question is whether or not anything is supposed to appear in the build for banner ads when the game is in Test Mode.

Could anyone shed some light on the situation in relation to banner ads please? I have searched and searched and everything i have found on banner ads is either outdated or implemented using AdMob.

Many Thanks everybody

using UnityEngine.Advertisements;

public class bannerAd : MonoBehaviour {

 #if UNITY_IOS
 public const string store_id = "1234567";
 #elif UNITY_ANDROID
 public const string store_id = "1234567";
 #endif
 private string bannerPlacement = "bannerAdd";

 void Awake () {

     #if UNITY_IOS || UNITY_ANDROID
     Advertisement.Initialize (store_id, false);
     StartCoroutine (ShowBannerWhenReady ());
     #endif

 }

 IEnumerator ShowBannerWhenReady () {
     while (!Advertisement.IsReady (bannerPlacement)) {
         yield return null;
     }
     Debug.Log ("showin!");
     Advertisement.Banner.Show (bannerPlacement);
 }
 public void HideBanner (){
     Advertisement.Banner.Hide ();
 }

}

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

6 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by k234234w · Dec 04, 2018 at 12:49 AM

You have to go into your dashboard and actually create the placement for banner ads. Can you verify that you created the placement?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image skurto · Dec 04, 2018 at 01:48 PM 0
Share

Hi @k234234w

yep, all that was done :)

avatar image
-1

Answer by Bynar1M4n · Mar 21, 2019 at 03:37 PM

Same here. I followed the official unity docs and nothing happends in production.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rsodre · May 10, 2020 at 02:44 AM 0
Share

this is not an answer! this should a comment on the question.

avatar image
-1

Answer by zackblack · Mar 28, 2019 at 04:17 PM

Reporting the same. In my Xcode console I get "Could not show banner due to No placements found in realtime V5 campaign json."

I also have to state my displeasure in how fractured and inconsistent the advertising SDK is now. It used to be that you installed Unity Ads from the asset store and included "UnityEngine.Advertising". Then came the Package Manager and it seemed like things were going the right direction and this would be the way moving forward with 1st party Unity SDKs. Wonderful! But here comes Unity Monetization and it's back in the asset store? Even weirder is that they added banner support but to the old Advertising namespace! So now you have to include "UnityEngine.Advertising" AND "UnityEngine.Monetization" namespaces and deal with conflicting classes. I even saw a Unity rep post to DISABLE Ads in the Services tab because that is for the old system. What the heck is going on?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rsodre · May 10, 2020 at 02:44 AM 0
Share

this is not an answer! this should a comment on the question.

avatar image
-1

Answer by davidhritz · Apr 24, 2019 at 01:51 AM

Anybody make any progress on this?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rsodre · May 10, 2020 at 02:44 AM 0
Share

this is not an answer! this should a comment on the question.

avatar image
-1

Answer by karajohnnies · Jun 13, 2019 at 09:32 PM

same here videos are working but the banners dont show up in a device.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rsodre · May 10, 2020 at 02:44 AM 0
Share

this is not an answer! this should a comment on the question.

  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

102 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

'This organization has been suspended' unity ads not showing 1 Answer

Ad units from Unity Ads appear very rarely 0 Answers

UnityAds and LevelLoad Problem 0 Answers

Unity Ads test mode false but it is showing test ad every time 0 Answers

Problem with Unity Ads 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges