--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/468ac496-e115-49b2-9afd-e6904cf12279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
I tried this sample("HelloWorld") but problem the same. At start game when initialize the SDK (MobileAds.Initialize(appId)) and get singleton revarded based video ad reference ( rewardedBasedVideo = rewardedBasedVideo Ad.Instance) I catch error. And after, when I touch to button wich show ad, I noticed that rewardedBasedVideo object equals null.
I doesn't know what now happend, about 3-4 month later in test project I integrate admob and it was working fine but at this project I have a lot of problems with this plugin
сб, 17 февр. 2018 г., 0:09 <mobileadssdk-advisor+support@google.com>:
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.
Hi Nikita,Thanks for providing the sample. Can you call this.rewardBasedVideo = RewardBasedVideoAd.Instance and RequestRewardedVideo() from the same callback? Instead of calling one from Awake() and other from Start(), make sure they are called from the same callback and try again. I suspect that this.rewardBasedVideo = RewardBasedVideoAd.Instance; is not being initialized before the AdRequest is being made. Let us know if this fixes the issue.Regards,Deepika UragayalaMobile Ads SDK Team=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
http://googleadsdeveloper.blogspot.com
https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Hmm... It works perfect, the application doesn't crash at launch, BUT in this modified sample app when I try to add button which on click will show the ad I has error at the building applicationCommandInvokationFailure: Unable to merge android manifests. See the Console for more details.C:/Program Files/Java/jdk1.8.0_131\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Program Files (x86)/Android/android-sdk\tools" -Dfile.encoding=UTF8 -jar "D:\_programs\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -stderr[]stdout[Warning: [Temp\StagingArea\AndroidManifest-main.xml:12, D:\$Desctope\MAD 3.1.1 Reward\MAD 3.1.1\Temp\StagingArea\android-libraries\adcolony-3.3.0.1\AndroidManifest.xml:3] Main manifest has <uses-sdk android:targetSdkVersion='25'> but library uses targetSdkVersion='26'Warning: [Temp\StagingArea\AndroidManifest-main.xml:12, D:\$Desctope\MAD 3.1.1 Reward\MAD 3.1.1\Temp\StagingArea\android-libraries\com.google.ads.mediation.applovin-7.7.0.0\AndroidManifest.xml:3] Main manifest has <uses-sdk android:targetSdkVersion='25'> but library uses targetSdkVersion='26'Warning: [Temp\StagingArea\AndroidManifest-main.xml:12, D:\$Desctope\MAD 3.1.1 Reward\MAD 3.1.1\Temp\StagingArea\android-libraries\com.google.ads.mediation.unity-2.1.2.0\AndroidManifest.xml:3] Main manifest has <uses-sdk android:targetSdkVersion='25'> but library uses targetSdkVersion='26']exit code: 1UnityEditor.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.HostView:OnGUI()
And I also doesn't understand, what the plugins or librarays you add to project. The standart admob plugin doesn't contain APPLOVIN, ADCOLONY librarys. Why admob plugin doesn't work whithout APPLOVIN, ADCOLONY librarys?
Hi Nikita,This is working with this modified sample app. Can you confirm the same on your end? You can also find implementation steps with our guidelines. Let us know if that helps.Regards,Deepika UragayalaMobile Ads SDK Team=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~Also find us on our blog and Google+ page:
http://googleadsdeveloper.blogspot.com
https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Hi Nikita,I have also been facing this issue.I get an exception at MobileAds.Initialize(appId) itself.
I have tried the same code mentioned above and get the same isue.
NullReferenceException: Object reference not set to an instance of an objectat GoogleMobileAds.Api.MobileAds.GetMobileAdsClient () [0x00016] in <1ec1d43b70e948ad8f07c11a7d63d57a>:0at GoogleMobileAds.Api.MobileAds..cctor () [0x00000] in <1ec1d43b70e948ad8f07c11a7d63d57a>:0Rethrow as TypeInitializationException: The type initializer for 'GoogleMobileAds.Api.MobileAds' threw an exception.at HelperAdMob.Start () [0x00000] in <1ec1d43b70e948ad8f07c11a7d63d57a>:0I saw someone else has also posted it here (https://github.com/googleads/googleads-mobile-unity/issues/854)Please help.Regards,
Harsh Mehta
Hi Nikita,
Thanks for getting back to us. For better tracking purposes, please continue the discussion on forum and use the "Reply Privately to Author" option only when sending sensitive information.
Regarding the issue with the project that you have shared, I'm unable to open the project for some reason. I don't notice any particular issue with your implementation and was wondering whether you are still noticing the same issue? Can you send us the device logs again?
Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
http://googleadsdeveloper.blogspot.com
https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
NullReferenceException: Object reference not set to an instance of an object
GoogleMobileAds.Api.RewardBasedVideoAd..ctor () (at Assets/Plugins/GoogleMobileAds/Api/RewardBasedVideoAd.cs:40)GoogleMobileAds.Api.RewardBasedVideoAd..cctor () (at Assets/Plugins/GoogleMobileAds/Api/RewardBasedVideoAd.cs:25)Rethrow as TypeInitializationException: An exception was thrown by the type initializer for GoogleMobileAds.Api.RewardBasedVideoAdAdvertisementTest.Start () (at Assets/Plugins/AdvertisementTest.cs:25)
Is there any reason this might be happening? I'm not sure where to begin looking, and i've searched everywhere and couldn't find a solution. I have plugin v3.8.0 running on Unity 2017.1.1p4
--
---
--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/12f6b6b0-69d3-47dc-9dcb-b9f38f40d5e2%40googlegroups.com.