Google Mobile Ad - PlayMaker Actions

Hello.
First implementation of Playmaker actions just added to the Google Mobile Ad plugins

I would appreciate any comments and feedback.
Feel free to post:

Bug Reports
Feature Request
General Thoughts - how to improve Playmaker actions implementation for Google Mobile Ad plugin

The current actions list is:

  • GAD_InitGoogleAd
  • GAD_SetAdTargeting
  • GAD_SetAdTestDevices
  • GAD_CreateBanner
  • GAD_ShowBanner
  • GAD_HideBanner
  • GAD_RefreshBanner
  • GAD_DestroyBanner
  • GAD_StartInterstisialAd
  • GAD_LoadInterstisialAd
  • GAD_ShowInterstisialAd

Hi,
I’ve got both playmaker and Google Mobile Ads but can’t seem to see these actions.

Hello. Here is instruction how to get PM action.

Cheers!

Hello,

I have both plugin : iOs Native and Androïd Native.
In a way to use GoogleMobileAd instead of AndroidAdMobController as said in the androidNative documentation
I can find the GooglePlayCommon folder in Extensions, but not the CrossPlateform Playmaker Actions ( GAD_InitGoogleAd, GAD_SetAdTargeting, GAD_SetAdTestDevices…)

Can we use the Android Playmaker actions to target both plateform ( iOs and Android) or could you provide us a way to get the crossplateform component.

Thanks a lot,

Raphaël

Hello. I ma not sure what you mean.
But of you own Android Native and IOS Native you may use Google Ad in Android and iAd on IOS.
If you looking for crossplatfrom Google Ad solution. I would suggest to look at the Google Mobile Ad plugin.

Cheers!

First of all, thanks for this great asset with playmaker actions!

I have a few questions / problems, hope you can help me with these:

  1. Interstisial maybe not to working correctly !?
  • I use the following actions: GAD_Init Google Ad, GAD_Load Interstisial Ad, loading works just fine!
  • after that I use “GAD_Show Interstisial Ad” to show Interstisial, works!
  • but Interstisial stays forever! shouldn’t it get closed automatically (after defined time on admob)?
  • only way to close Interstisial is the close-button (x)!
  • if I would like to show one Interstisial more than one time (f.e at start and at the end of game), what is the best way to get this working?
  • takes verly long time until loaded (Banners are much faster)
  1. Interstisial portrait-mode?
  • dont know the correct behavior, but it seems that Interstisial shows in portrait mode if auto rotation is turned of! I tested a landscape app but all Interstisials showed up in portrait mode (auto-rotate off).
  1. “GAD_Show Interstisial Ad” behavior unclear
  • this action offers 2 events: success and fail event. when exaclty these events will be triggerd?
  • if a Interstisial closes after defined time (on admob) is there a event to recognize that it dissapeared?
  • if a user closes the ad via close button, how can this interaction detected?
  1. “GAD_Set Ad Test Devices”
  • how will this action behave? Is it possible to test the app ad without breaking admob rights (clicking clicking the ads, etc.)?
  • how to ensure running as test device? I set my test device ID, but still getting normal ads, saw some videos where developers got “test-ads” instead of normal ads.
  1. permissions
  • at the moment lots of permissions are needed (gps-position, network, contacts, usb storage, stand by)
  • could you please provide a AndriodManifest.xml with premissions only needed for Google Ads?
    (others commented out) or tell which permissions exactly are needed?
  1. “GAD_Init Google Ad”
  • Does it make sense to use multiple actions “GAD_Init Google Ad”? (f.e. using 2 Interstisial and 3 Banner IDs, each ID need a new init action)

Sorry for asking lots of questions!
Thanks in advance!

Interstitial can be close only buy touching close button. I will try to add programatically close to in in the next versions.
I havent found what is timeout actually mean in admob settings
What does Interstitial timeout mean in admob?

Interstitial can be showed only once - google restriction.

Yep that’s why I implemented Load and Show function in addition to Start. It make you able to preload interstisial and show to your user with no delay.
Cheers!

Can not say much about it. I guess interstitial orientation depends of interstitial content. Any way I haven’t found any API to specify interstitial orientation.

It’s all available with coding. I will extend playmaker actions for this.

Sorry for inconvenience this is done due to plugins compatibility.
But all lines in manifest is commented so you can remove all unnecessary stuff if you wish.

Why would you need 2 Interstitial id? Currently one id per platform. the same for banners.

No problem :slight_smile:

Thank you a lot for answering my questions!

I assume Interstitial should close automatically after timeout, would make sense…

good to know, that is why I wanted to know if multiple Interstitial IDs would make sense (admob can hold multiple ids per app)

this is working just fine!

sounds promising! I am looking forward for the next release.

That’s no problem, just wanted to know! But I can confirm: interstitial orientation depends on device auto-rotation (same ad content showed portrait while app running in landscape, with auto-orientation content showed correctly)

regarding to 4.)
I have tested playmaker actions and scripts as well, adding a test device id seem to have no influence! I am not sure, but I think if test device id works only “test” ads shows up…
maybe something for the next update :wink:

But it’s not :slight_smile:

Yep it was my fail. This bug is fixed. Update with bug fix was submitted yesterday and should be live shortly.

Cheers!

Cool! Thanks!

Hi,

Do you plan to update the Admob SDK for iOS ?

You’re in 6.9.2 and the 6.10.0 is available. Thanks !

Thanks for letting me know. Will submit new version with updates SDK this weekends.

Could you do a video about how to use the PlayMaker actions?
In this video

, you don’t enter Play mode to show that the ads appear. For the 2 example scenes, when I enter Play mode in Unity, no ads appear. What do I need to do to make the ads appear?

Hello.
I will do the guide for PlayMaker action. Bu basically you will only need to use CreateBanner Action to make banner appear.

The banner will not appear in Unity editor in play mode. banners will work only on real device.
Cheers!

In Unity, I build the “NoCodingExample” scene to XCode.
After following all the steps in “Setup for iOS” at Google Mobile Ad - Google Docs, I still get error when building the game from Xcode to my device.

Picture of the errors: https://drive.google.com/file/d/0B88PdDsyVgCqYWdxNnZVeTdFbHM/edit?usp=sharing

Please help me fix this.

Hello. Please follow the set up guide here:

this step will be automatic after starting from v3.2

I successfully transferred the “NoCodingExample” to my iPod Touch. While my iPod is connected to Wifi, I open the app but don’t see anything. Xcode gives me this error:
2014-08-13 09:24:39.844 ProductName[964:60b] Failed to receive ad with error: Request Error: No ad to show.

2014-08-13 09:24:45.077 ProductName[964:60b] Failed to receive ad with error: Request Error: No ad to show.

Please help me fix this error.

Where do I specify my Ad Unit ID? For the PlayMaker action “GAD_Create Banner”, I can’t enter my Ad Unit ID: “ca-app-pub-7009609453504017/5807259686” to the “Banner ID” field because this field is int32.
In this video,

, you enter your Ad Unit ID in the “iOS Banner Unity Id” field in the “Ad Mob Banner” file. In the version I’m using, there’s no “iOS Banner Unity Id” field in the “Ad Mob Banner” file.

Yep in new version all id’s should be set under Windows ->Google Mobile Ad → Settings

This is pretty common error.
Make sure that your publisher id’s are correct, with you should specify under Windows ->Google Mobile Ad → Settings.
Some times there is simply no ad for your platform / region, that’s why it’s recommended to test in test mode, instead of real add.
Cheers!

After entering my Ad Unit ID in Windows->Google Mobile Ad->Settings, the ad now appears correctly on my iPod Touch.

I don’t see where I can enter my publisher’s id in Windows ->Google Mobile Ad → Settings? The ad works fine on my iPod Touch without I enter my publisher’s id in Windows ->Google Mobile Ad → Settings.

In new admob publisher’s id was replaced by Ad Unit ID. So you good with only Ad Unit ID.
Cheers!