- Home /
Problem with Unity Ads
Hi everyone. I followed the live training for adding unity ads at my project. Now, when I build my script It has no error naturally but pop up other two scripts Advertisement.cs and UnityAds.cs ana they have 8 error. After that I tried Playing my game and it works but I can't see any ads displayed. The console says: On fetch completed but when I click my button nothing happens. I checked and I'm in an android project in build settings. These are the lines of code that cause the errors:
public static void Initialize(string appId, bool testMode = false){
static public void Show(string zoneId = null, ShowOptions options = null) {
static public bool IsReady(string zoneId = null) {
and so on.. Every error is : predefined parameters indicator are not permitted
I'm working with unity free 5.1.1f1
AnyBody? I tried reimporting unity ads but there are the same errors....
I really need to solve this error. I'm the only one with this problem?
Answer by rajavamsidhar_gvs · Sep 04, 2015 at 08:42 AM
i've searched for ur problem. here is the links
i'm sorry if it not enough.coz i'm not familiar with android+unity3d.
link1--> http://answers.unity3d.com/questions/176305/default-parameter-specifiers-are-not-permitted.html link2--> http://forum.unity3d.com/threads/ads-on-android.229143/ a tutorial for this link3--> https://www.youtube.com/watch?v=q1xtwttWImU
Thank you for answering but I Can't see any ads on screen yet. Neither in the editor or in my phone...