Transcript
Page 1: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

ADSINTEGRATIONDOCUMENTATION

(iAD,Admob,UnityAds,Chartboost,ADColony)

AdsManager.cs:ScriptattachedtotheGameObjectAdsManager,andresponsibletodisplaybanners,interstitials,andrewardedvideosinthegame.

Pleasechangetheexempleidsandputyours.OniOS(iPhoneandiPad),bannerandinterstitialarereadywithiAd,andyouhavenothingtodo.

Page 2: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

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:

Page 3: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

AddtheScriptingDefineSymbol«GOOGLE_MOBILE_ADS»here:

Page 4: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,
Page 5: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

ADMOB-AndroidNativePlugin(Stan’sAsset)GetAndroidNativePluginfromStan’sAssetontheAssetstoreandinstallthepackage.AddtheScriptingDefineSymbol«STAN_ASSET_ANDROIDNATIVE»here:

Page 6: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,
Page 7: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

ADMOB–GOOGLEMOBILEADSSDK(Stan’sAsset)GetGoogleMobileAdsSDKfromStan’sAssetontheAssetstoreandinstallthepackage.AddtheScriptingDefineSymbol«STAN_ASSET_GOOGLEMOBILEADS»here:

Page 8: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,
Page 9: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

iADYouhavenothingtodo.

CHARTBOOSTwww.chartboost.comIfyouwanttouseChartboost,pleaseimporttheChartboostUnityplugin.Andtoactivateitinthegamepleaseadd«CHARTBOOST»inthe«ScriptingDefineSymbols»:

Page 10: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,
Page 11: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

AndyouwillbeabletouseChartboostinterstitialsatgameoverandrewardedvideostounlocklevel.(pleaserefertotheChartboostwebsitetoConfigureyourChartboostids).

UNITYADSIfyouhaveUnity5.2orabove,justactiovateUnityServices:

Page 12: Ads Integration Documentation - Zendesk...ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager,

IfyouhaveUnityversionabove5.2,getUnityAdsfromtheassetstore.

ADCOLONY:www.adcolony.comAddADCOLONYinthe«ScriptingDefineSymbols»andyoucanuseAdColonyinyourgame.


Top Related