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 Slobdell · Apr 09, 2014 at 02:41 PM · c#adssdkinstallrevmob

Setting up RevMob

So it was admittedly late last night when I was trying this. But following the instructions here http://sdk.revmobmobileadnetwork.com/unity.html For setting up Revmob in a Unity app, can't get it to work.

I downloaded the SDK, imported the custom package and see all the files in my assets. Then it seems I should just be able to use the classes in my code, but when I try to instantiate a RevMob object it tells me it doesn't know what that class is.

What am I missing, I'm sure it's stupid. In the example code on that site they aren't adding any additional using statements. Thanks in advance

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 Slobdell · May 01, 2014 at 11:35 PM

Alright so I'm not sure this is a resolution exactly but it's a workaround. For some reason when importing the packages the necessary files and folders don't get added in the project in mono develop. So the way I "fixed" it is to right click the solution -> Add -> Existing folder. Then I add the folder Plugins and everything inside it and magically it builds just fine.

The reason I said "fix" is because when mono refreshes the project which it does periodically, I have to go through that import again. So something is still messed up but I can get it to work and build with working ads no problem.

It's pretty wonky though I starte this project on my mac and moved the project onto a windows machine and I had even more issues with rev mob and an admob plugin. Luckily they can't be used on Windows Phone anyway so I don't need them but I had to delete all the add stuff out of my project just so I could get it to build. Pretty annoying

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 vickygroups · Apr 30, 2014 at 07:08 AM

I got mine to work. I was missing some lines in the header. Note the Extra line after MonoBehaviour, as well as the extra system collection vs. the typical blank script. There's a sample script in my download folder that had these!

using System; using System.Collections; using System.Collections.Generic;

using UnityEngine;

public class RevMobScript : MonoBehaviour, IRevMobListener

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

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

22 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

Related Questions

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

Revmob only showing test ads. 1 Answer

Admob ads not showing when using Unity 2018 0 Answers

How do i get an ad cooldowner? 0 Answers


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