Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by carmanroofer93 · Nov 03, 2020 at 02:23 AM · scripting problemadsstuckunityadsbegginer

unity ads help

hey guys so im using this script to manage my advertising, I had it working before but now its giving me the error Scripts\Modules\Advertising\NetworkClients\UnityAdsClientImpl.cs(327,17): warning CS0618: 'ShowOptions.resultCallback' is obsolete: 'Implement IUnityAdsListener and call Advertisement.AddListener()', I've tried implementing , it seems pretty straight forward however i keep getting more errors so i revert it back and keeo trying but im at the point where i need to ask for some help. i under stand i need to implement iunityadslistener and replace the old outdated call functions with the new, but ive been away and im just confused to the max and the harder i try to figure it out the more confused i make myself, ive watched tutorials , but they all have different ways of doing things and it confuses me even further, i usually just study to codes i see find out what they mean and memorize . anyways any help would be greatly appreciated, sorry for lack of proper punctuation, just too tired..

 var showOptions = new ShowOptions
         {
             resultCallback = (result) =>
             {
                 InternalRewardedAdCallback(result, placement);
             }
         };
         Advertisement.Show(id, showOptions);
 #else
         Advertisement.Show(id);
 
 --------------------------------------------------------------------------------------------------
 
 var showOptions = new ShowOptions
             {
                 resultCallback = (result) =>
                 {
                     InternalInterstitialAdCallback(result, placement);
                 }
             };
             Advertisement.Show(id, showOptions);
 #else
             Advertisement.Show(id);






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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by SaveTheWorldDotGames · Nov 03, 2020 at 01:03 PM

Hi, Sorry to ask, but in my experience, the error you mentioned actually lets everything continue working, and just bugs you to update the code. Is this the case here? If so, you might want to just let it continue working? (I am assuming that this is not the case, but just wanting to clarify)

Keep on Creating!

Justin of JustinTime Studio http://unity3d.expert

Comment
Add comment · 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
0

Answer by carmanroofer93 · Nov 03, 2020 at 08:05 PM

I have to be honest, first. I appreciate the answer as I didn't expect anything lol, 2. I am unsure I know when I went to fix issue I could add obsolete and the errors would go away but I had this strange feeling it wouldn't work so I reverted it back, I'm pretty sure they were warnings instead of errors I just wanted to know how I would go about changing if required to. 3. I left it as is.. went to bed and I woke up and everything was gone, seems like everything is fine.. I still haven't touched unity just noticed they disappeared without me clearing or anything... like I did it in my sleep or something lol If anymore issues I will of course ask, but for now I feel like I wasted a page on the internet. however others that see this might realize they were trying too hard like myself. thanks a bunch @SaveTheWorldDotGames

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 jtok4j · Nov 03, 2020 at 08:37 PM 0
Share

...magic... :)

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.

Follow this Question

Answers Answers and Comments

253 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 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 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

How to create custom inspector from my script (dropdown from list) 1 Answer

Not sure how to get OnUnityAdsShowClick working. Please help. 1 Answer

Unity ads folder being created 1 Answer

Admob reward player after watching video 0 Answers

is there an advantage of creating multiple Ad units/ Placement of same type in Unity, Admob etc? 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