Skip to content

Commit

Permalink
Introducing a compile time error to warn developers to switch to thei…
Browse files Browse the repository at this point in the history
…r own ad unit ID
  • Loading branch information
Eric Leichtenschlag committed Feb 21, 2014
1 parent 2257a5e commit 3b8e193
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ public class GoogleMobileAdsDemoScript : MonoBehaviour {
void Start()
{
print("Started");
GoogleMobileAdsPlugin.CreateBannerView("ca-app-pub-9380760713574559/3453176828",
#error Replace with your own ad unit ID and then remove this error.
GoogleMobileAdsPlugin.CreateBannerView("INSERT_YOUR_AD_UNIT_ID_HERE",
GoogleMobileAdsPlugin.AdSize.SmartBanner,
true);
print("Created Banner View");
Expand Down
Binary file modified unity/android/GoogleMobileAdsPlugin.unitypackage
Binary file not shown.

0 comments on commit 3b8e193

Please sign in to comment.