Peteris Ulmanis
Peteris Ulmanis

Reputation: 31

Admob does not work

I want to make something like in this video using https://www.youtube.com/watch?v=khlROw-PfNE , but I don't have using Admob, I've got GoogleMobileAds, and it doesn't allow me to use

Admob.Instance().initAdmob(BannerId,videoId);

And more , it even doesn't give the option to type Admob.Instance

Thanks for Help

Sorry For Bad English

enter image description here

Upvotes: 0

Views: 371

Answers (2)

Max_Power89
Max_Power89

Reputation: 1770

You have to import the framework into your class, you can do it buy using the

using admob;

keyword. Or you can directly access to the framework and do something like:

admob.Admob.Instance().initAdmob(BannerId,videoId);

Upvotes: 0

N Fard
N Fard

Reputation: 1099

You have to use admob namespace.

Write this line on above:

using admob;

Upvotes: 1

Related Questions