Some basic info/help please? [SOLVED]

I just learned some stuff about Unity Adds hours ago…

  1. Found conflicting info about this : Do you recommend to use the Adds SDK from the asset store OR the integrated one from the services panel?

  2. My android build would not complete when I used Adds. When I did an empty add application it worked fine

  3. Testing this empty add app it took around 10 seconds to show first add (is this normal?)

  4. I unchecked test-adds to see how it really works, made it show 10 adds, nothing changed in the panel (is that normal?)

PS. The docs about adds are non-linear I can browse info about Unity Adds on MANY unity pages
just a small fact I don’t get too fond of!

Thank you for your time!

We realize the confusion on this, but as we still have publishers on older versions of Unity, we are releasing Unity Ads both through the engine and asset store. General rule: engine should be easiest, asset store can have a more recent version (which then will rolled into next engine version)

Exception: Ads doesn’t work on Unity 5.5.1 (EDITED) and iOS. We’re testing a fix now, and should be fixed soon. More info will follow. But in this case, you need to use Asset Store version for now.

What error message do you get?

Correct, some time to contact backend, cache the video etc.

Expect some delay in updating the numbers. Are they updated now?

If you have specific pages which you find confusion, please share urls here.

Thanks,
Rasmus

  1. Thank you, I’ve also seen the report on 5.5.1 (I think you ment 5.5.1 and not 5.1.1)
    Using SDK from now on
  2. Error message in existing app had something to do with manifest (I think it was “unable to merge”)
  3. Just realised this could get me in trouble, moving on to test mode from now on. Saw 10 impressions and nothing more
    not a single cent. Was that normal?

PS. Wanted to try existing app with assets SDK to see if I still have the problem… my phone just gone bad (oh no!) and it’s USB port does not work at all, I will soon check with my wife’s phone and report back

CommandInvokationFailure: Unable to merge android manifests. See the Console for more details.
C:/Program Files/Java/jdk1.8.0_112\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir=“D:/PROJECTS/AndroidStudioProjects/sdk\tools” -Dfile.encoding=UTF8 -jar “C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -

stderr[

]
stdout[
Warning: [Temp\StagingArea\AndroidManifest-main.xml:14, E:\Kleart-01\Temp\StagingArea\android-libraries\UnityAds\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion=‘23’
]
exit code: 1
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[ ] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[ ] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

— This is the 2rd Error on console —

KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
UnityEditor.Android.PostProcessor.PostProcessorContext.Get[String] (System.String key)
UnityEditor.Android.PostProcessor.Tasks.PublishPackage.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessAndroidPlayer.Launch (BuildTarget target, System.String installPath)
UnityEditor.Android.AndroidBuildPostprocessor.LaunchPlayer (BuildLaunchPlayerArgs args)
UnityEditor.PostprocessBuildPlayer.Launch (BuildTarget target, System.String path, System.String productName, BuildOptions options) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:151)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

— This is the 3rd Error on console —
KeyNotFoundException: The given key was not present in the dictionary.

— Analysis —
It’s a VR app (GVR SDK 1.03 targeting Carboard android), I have API 19 as target so the first lines look weird : “Main manifest has but library uses targetSdkVersion=‘23’”

I had the manifest merge error when I used the services ads way to get ads, when I un-ticked it and removed my ad manager script the error vanished. Now I was using the Unity Ads SDK 2.0.8

Looked more into it, it seems Unity Ads lib is the one that asks for SDK 23 targer. Isn’t that thing… wrong?

I just upgraded my Google SDK to 1.20 and this seems to solve the problem