Example Scenes

Example

This example scene can be found at Assets/Extensions/GoogleMobileAd/Example/Scenes/Example

Scene will demonstrate usage of Google Mobile Ad API

The controller script GoogleAdsExample.cs is attached to the 

GoogleAdUseExample gameobject and provides example for API calls.

[Setup]

Scene will work out of the box after plugin installation. However example scene will use unity_id’s from my test account.

Get your own ids after google ad account set up. Open the Window-> GoogleMobileAds -> Edit Settings and enter id’s in following lines.

//replace with your ids
BannerAdUnitAd ="ca-app-pub-6101605888755494/1824764765"; 
InterstitialsAdUnitAd= "ca-app-pub-6101605888755494/3301497967";

NoCodingExample.

This example scene can be found at Assets/Extensions/GoogleMobileAd/Example/Scenes/NoCodingExample.

Scene will demonstrate usage of Google Mobile Ad API without any actions.

The controller scripts for Banner AdMobBanner.cs and for Interstitial

AdMobBannerInterstitial.cs are attached to the MyBanner/MyInterstitial gameobjects and provides examples for API calls.

[Setup]

Scene will work out of the box after plugin installation. However example scene will use unity_id’s from my test account.

 

User replies

No replies yet