ads integration documentation - zendesk...ads integration documentation (iad, admob, unity ads,...
TRANSCRIPT
ADSINTEGRATIONDOCUMENTATION
(iAD,Admob,UnityAds,Chartboost,ADColony)
AdsManager.cs:ScriptattachedtotheGameObjectAdsManager,andresponsibletodisplaybanners,interstitials,andrewardedvideosinthegame.
Pleasechangetheexempleidsandputyours.OniOS(iPhoneandiPad),bannerandinterstitialarereadywithiAd,andyouhavenothingtodo.
IfyouwanttouseAdmobinsteadiAd,pleasefollowtheinstructionsforAdmob(seebellow),andyouwillhaveanewparameterintheeditor:
CheckittooifyouwanttouseAdmobinsteadofiAd,orifyouwanttouseAdmobMediation.
Youhave3waystouseAdmobintheAsset:- GoogleMobileAds(FREE-providebyGoogleandavailableonGithub)
- AndroidNativePlugin(providebyStan’sAssetandavailableontheAssetStore)
- GoogleMobileAdsSDK(providebyStan’sAssetandavailableontheAssetStore)
GoogleMobileAdsYoucanfinditintheGooglePage:https://developers.google.com/admob/android/games OrdirectlyonGithub:https://github.com/googleads/googleads-mobile-unity/releases/tag/2.3.1 Youwillfindthestepbystepintegrationhere:https://github.com/googleads/googleads-mobile-unity/tree/master/unityDon’tforgettoaddthefolder«google-play-services_lib»underPlugins/Android:
AddtheScriptingDefineSymbol«GOOGLE_MOBILE_ADS»here:
ADMOB-AndroidNativePlugin(Stan’sAsset)GetAndroidNativePluginfromStan’sAssetontheAssetstoreandinstallthepackage.AddtheScriptingDefineSymbol«STAN_ASSET_ANDROIDNATIVE»here:
ADMOB–GOOGLEMOBILEADSSDK(Stan’sAsset)GetGoogleMobileAdsSDKfromStan’sAssetontheAssetstoreandinstallthepackage.AddtheScriptingDefineSymbol«STAN_ASSET_GOOGLEMOBILEADS»here:
iADYouhavenothingtodo.
CHARTBOOSTwww.chartboost.comIfyouwanttouseChartboost,pleaseimporttheChartboostUnityplugin.Andtoactivateitinthegamepleaseadd«CHARTBOOST»inthe«ScriptingDefineSymbols»:
AndyouwillbeabletouseChartboostinterstitialsatgameoverandrewardedvideostounlocklevel.(pleaserefertotheChartboostwebsitetoConfigureyourChartboostids).
UNITYADSIfyouhaveUnity5.2orabove,justactiovateUnityServices:
IfyouhaveUnityversionabove5.2,getUnityAdsfromtheassetstore.
ADCOLONY:www.adcolony.comAddADCOLONYinthe«ScriptingDefineSymbols»andyoucanuseAdColonyinyourgame.