-
Notifications
You must be signed in to change notification settings - Fork 0
Banner Integration For Unity_Eng
Banner ads are ads placed at the bottom, top of the Unity screen. Depending on the size of the inventory, you can place it as icon type advertisement or inline type advertisement.
To prepare for mounting banner ads, from the start guide below, It is necessary to install Geniee SDK Unity Plugin in the project. Start Guide
- Create an XCode project.
- File -> Build Settings -> iOS -> Build to generate the Xcode file.
- When you select SDK version of Player Setting, you can download files for actual machine or iPhone simulator You can choose to output. (Projects corresponding to both can not be output)
- Open xcode and open
xxxx.xcworkspace(replace xxxx with project name) in the created project's folder. - Add non-ARC configuration
- Grant
-fno-objc-arcoption to GNAdViewUnityController.mm in TARGETS -> Build Phases -> Compile Sources.
If properly set at this point, ads will be displayed at runtime.
Manual installation procedure (not recommended)
- Add
GNAdSDK.frameworkto theAssets/Plugins/iOSfolder. - Create an XCode project.
- File -> Build Settings -> iOS -> Build to generate the Xcode file.
- When you select SDK version of Player Setting, you can download files for actual machine or iPhone simulator You can choose to output. (Projects corresponding to both can not be output)
-
Open xcode and open
xxxx.xcodeproj(replace xxxx with project name) in the created project's folder. -
Add the necessary framework. Make sure the required framework has been added to the application project. To add a framework, open the project settings, select Build Phases, Expand Link Binary With Libraries and add the following framework.
AdSupport.frameworkCoreLocation.frameworkCoreTelephony.frameworklibxml2.dylibSystemConfiguration.framework
-
Add net connection confirmation library Reachability.
- If Reachability has already been included in the project, other libraries, no addition is necessary. Compiling conflicts will occur when you add them.
- Reachability If unused, add
Reachability.handReachability.mof Reachability under GenieeUnityPlugin/Libs/ios to the project.
-
Add non-ARC configuration
- Grant
-fno-objc-arcoption to GNAdViewUnityController.mm in TARGETS -> Build Phases -> Compile Sources.
If properly set at this point, ads will be displayed at runtime.
- Create an Android project.
- File -> Build Settings -> android -> Build to generate Android files.
- Checking Google Android Project outputs project for eclipse. When unchecked, an apk file will be created.
- Describe the Google Play Services SDK information used by the SDK.
-
Write it in
<application>of the manifest file.<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
If properly set at this point, ads will be displayed at runtime.
Manual installation procedure (not recommended)
- Add
GNAdSDK.jarto theAssets/Plugins/Androidfolder. - Create an Android project.
- File -> Build Settings -> android -> Build to generate Android files.
- Checking Google Android Project outputs project for eclipse. When unchecked, an apk file will be created.
- Describe the Google Play Services SDK information used by the SDK.
-
Write it in
<application>of the manifest file.<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
If properly set at this point, ads will be displayed at runtime.
If you want to display the banner's video properly, hardware acceleration must be set.
<application android:hardwareAccelerated="true">
</application>
or
<activity android:hardwareAccelerated="true"/>
バナー広告SDK Unity Plugin
DFPバナーメディエーション広告SDK Unity Pluginの実装
- DFPバナーメディエーション広告について
- DFPバナーメディエーション広告SDK Unity Pluginの導入
- DFPバナーメディエーション広告(Androidパッケージビルド手順)
- DFPバナーメディエーション広告(iOSパッケージビルド手順)
- DFPバナーメディエーション広告サンプルの実行確認
動画リワード広告SDK Unity Pluginの実装
- 動画リワード広告について
- 動画リワード広告SDK Unity Pluginの導入
- 動画リワード広告(Androidパッケージビルド手順)
- 動画リワード広告(iOSパッケージビルド手順)
- 動画リワード広告サンプルの実行確認
DFP動画リワードメディエーション広告SDK Unity Pluginの実装
- DFP動画リワードメディエーション広告について
- DFP動画リワードメディエーション広告SDK Unity Pluginの導入
- DFP動画リワードメディエーション広告(Androidパッケージビルド手順)
- DFP動画リワードメディエーション広告(iOSパッケージビルド手順)
- DFP動画リワードメディエーション広告サンプルの実行確認
全画面インタースティシャル広告SDK Unity Pluginの実装
- 全画面インタースティシャル広告について
- 全画面インタースティシャル広告SDK Unity Pluginの導入
- 全画面インタースティシャル広告(Androidパッケージビルド手順)
- 全画面インタースティシャル広告(iOSパッケージビルド手順)
- 全画面インタースティシャル広告サンプルの実行確認
DFP全画面インタースティシャルメディエーション広告SDK Unity Pluginの実装
- DFP全画面インタースティシャルメディエーション広告について
- DFP全画面インタースティシャルメディエーション広告SDK Unity Pluginの導入
- DFP全画面インタースティシャルメディエーション広告(Androidパッケージビルド手順)
- DFP全画面インタースティシャルメディエーション広告(iOSパッケージビルド手順)
- DFP全画面インタースティシャルメディエーション広告サンプルの実行確認
導入サポート