目的 同じような記事は多々ありそうですが、Unityで製作したAndroid/iOSのアプリにAdMobの広告を追加したので、自分のために忘備録として残して置きます。 環境 Unity 5.4.0f3 準備 AdMobの登録 AdMobに登録し、Androidの広告ユニットIDを用意 GoogleMobileAdsPluginの設定 こちらからGoogleMobileAds.unitypackageをダウンロードし、unityでインポート 実装 広告を表示したいsceneに空のGameObjectを追加します。今回はオブジェクト名はBannerとしました。 追加したオブジェクトに下記のスクリプトを追加します。 INSERT_ANDROID_BANNER_AD_UNIT_ID_HEREを用意した広告ユニットIDに置き換える。 テストバナーを表示したい場合は、INSERT_TEST_DEVIC