My unity adverts aren't working
I'm trying to set up Unity ads and I'm checking out the different types.
I can add regular advert fine. The problem is with the banner advert.
The Banner advert gives me an error in;
Advertisement.Banner.Show(placementId);
Error CS0117 'Advertisement' does not contain a definition for 'Banner'
Now the tutorial I'm using is the unity tutorial and I've copied it word for word and I don't know why it's not working.
Also when I try and do reward adverts, they work with the basic code but when I add the code for rewards "AddListener" doesn't have a definition:
Error CS0117 'Advertisement' does not contain a definition for 'AddListener'
I've attached an image of the code and a screenshot and YT link of the tutorials. I just want to know why it's correct on the tutorial but incorrect on my version.
Your answer
Follow this Question
Related Questions
Unity Ads Stop Playing On Mobile 0 Answers
I would like to move the banner ad location of Unity AdMob to the location I want. 0 Answers
Destroy an Object through rewarded video. 0 Answers
Unity Ads Error 0 Answers
HeyZap Network Failure 0 Answers