Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Google Mobile Ad - PlayMaker Actions

Discussion in 'Assets and Asset Store' started by stanislav-osipov, Jun 2, 2014.

  1. Demonith88

    Demonith88

    Joined:
    Jun 30, 2014
    Posts:
    215
    Ok easy alex no need to rush

    1.No i did not test it i did not search it but i will test it
     
  2. AlexRay

    AlexRay

    Joined:
    Jul 9, 2014
    Posts:
    993
    You have strange Banner ID variable name.
    strangeVarName.png
    Please, choose the normal variable name and set proper value on the Variables tab.
    At first, you have very strange variable. Second - give it a default value exactly as your Banner Id

    That's the reason of the error you get in your application.
    Please, follow these instructions to get all the issues fixed.

    Cheers!
     
  3. Demonith88

    Demonith88

    Joined:
    Jun 30, 2014
    Posts:
    215
    I use AdMob so how i can get my ID from the banner if may i ask ?
     
  4. AlexRay

    AlexRay

    Joined:
    Jul 9, 2014
    Posts:
    993
    Please, see Google Mobile Ad Playmaker Sample scene included in the plugin package.
    Try to implement the same logic in your project.

    If you will need any of my comments about Ad Sample Scene - I am open to the conversation.

    Cheers!
     
  5. Djaydino

    Djaydino

    Joined:
    Aug 19, 2012
    Posts:
    47
    Hi, are there actions for Rewarded Ads? i can't seem to find any.
     
  6. Djaydino

    Djaydino

    Joined:
    Aug 19, 2012
    Posts:
    47
    Hmm i don't think it is the same...
    When i look to the action code and the snipet code for the rewarded videos.

    Code (CSharp):
    1. public override void OnEnter() {
    2.             AndroidAdMobController.Instance.LoadInterstitialAd();
    3.  
    4.             AndroidAdMobController.Instance.OnInterstitialLoaded += OnReady;
    5.             AndroidAdMobController.Instance.OnInterstitialFailedLoading += OnFail;
    6.  
    7.  
    8.         }
    Code (CSharp):
    1. oid Start() {
    2.     AndroidAdMobController.Instance.OnRewardedVideoLoaded += HandleOnRewardedVideoLoaded;
    3.     AndroidAdMobController.Instance.OnRewardedVideoAdClosed += HandleOnRewardedVideoAdClosed;
    4.  
    5.     AndroidAdMobController.Instance.LoadRewardedVideo();
    6. }
    i am using Admob's mediation btw and not directly Unity Ads
     
  7. AlexRay

    AlexRay

    Joined:
    Jul 9, 2014
    Posts:
    993
    Hello,
    Unfortunately, there is no Playmaker action for Rewarded Video Ads.
    You may contact our support team and request for this new action.
    Most likely, it will be implemented in a couple of days.
     
  8. Djaydino

    Djaydino

    Joined:
    Aug 19, 2012
    Posts:
    47
    Hi,
    i just got the nuew update from android native, but the actions for Rewarded Video Ads are not there yet and i need then very hard.
    So i am trying to make the actions my self...but i am having problems with this part :

    public event Action<int> OnRewardedVideoAdFailedToLoad

    i mainly just took the AN_LoadInterstisialAd action converted and renemed it to load the reward video.
    greetings,
    Dino
     
  9. AlexRay

    AlexRay

    Joined:
    Jul 9, 2014
    Posts:
    993
    Hello,
    I can see, that this task has status resolved in our bug-tracker.
    Please, contact our support team and ask about e status of this case.
    Most likely you will get the new Playmaker actions set in the archive via e-mail.
    So, please, go ahead and you will get the features you are looking for.
     
  10. Djaydino

    Djaydino

    Joined:
    Aug 19, 2012
    Posts:
    47
    i guess that is for the Google Mobile Ads plugin and not android native...
    android native does not have the actions yet,
    but i made them myself already but i can't get :
    OnRewardedVideoAdFailedToLoad to work
     
  11. AlexRay

    AlexRay

    Joined:
    Jul 9, 2014
    Posts:
    993
    Yes, of course, for Google Mobile Ads. So, please, contact our support engineer for further communications.
     
  12. qaz1243qaz

    qaz1243qaz

    Joined:
    Oct 28, 2014
    Posts:
    3
    Google Mobile Ads SDK

    Version: 9.5/17

    I use the test ad ID and scene to import android can not show reward ads

    I bought your plugin $20 ,But can not use the reward video ads.

    It makes me very disappointed.

    Is there a problem with the plugin?Or what's wrong
     
    Last edited: Feb 26, 2017
  13. AlexRay

    AlexRay

    Joined:
    Jul 9, 2014
    Posts:
    993
    Hello,
    The most common way of using Google Mobile Ads plugin for rewarded video of Google AdMob is to set up the mediation.
    So, the very first step after integrating Google Mobile Ads is to perform the mediation configuration in your Google AdMob Dashboard. That's just the basic config - all the App Ids/App Signatures etc.
    Second, you have to provide all the required resources for AdMob mediation to work in your Unity project.
    Great guide for each advertising network provider you can find here.
    Hope, you made all this setup on your own.

    If you have any kind of difficulties with all this stuff, please, feel free to contact our support engineer via support@stansassets.com Please, go ahead, you will get great assistance in a short time.
    Thank you for your patience and understanding!
     
  14. dlmrky

    dlmrky

    Joined:
    Nov 26, 2013
    Posts:
    13
    Hi, I've been trying for two days to get this to work but it always fails to load the Ad on Device.

    What am I doing wrong?

    Unity 5.4.2/Android. Stan's Ultimate Mobile. I've unpacked the UM_ Playmaker Actions and GAD_ actions.

    I load the GoogleAdPlaymakerUseExample.

    Set up my Ad unit ID in the Ultimate Mobile - Advertisement settings

    Deploy to my Nexus 7, click Create Banner and it fails every time.

    (The console says most the Playmaker actions are obsolete - is this the problem?)
     

    Attached Files:

    • 1.PNG
      1.PNG
      File size:
      142.2 KB
      Views:
      714
    • 2.PNG
      2.PNG
      File size:
      136.9 KB
      Views:
      761
    Last edited: Apr 9, 2017
  15. AlexRay

    AlexRay

    Joined:
    Jul 9, 2014
    Posts:
    993
    Hello,
    The screenshots of your Console window from Unity Editor are not helpful for this case.
    Most likely you have the wrong Google AdMob config or wrong plugin settings.

    My advice for you is to contact our support team for further assistance.
    Please, provide as much detailed information as you can. Of course, the best way is to provide the LogCat logs from your Android device. Please, save it as the txt file and attach to your e-mail.
    Please, go ahead and you will get great assistance in a short time! You are welcome!