Top Banner
ADS INTEGRATION DOCUMENTATION (iAD, Admob, Unity Ads, Chartboost, ADColony) AdsManager.cs : Script attached to the GameObject AdsManager, and responsible to display banners, interstitials, and rewarded videos in the game. Please change the exemple ids and put yours. On iOS (iPhone and iPad), banner and interstitial are ready with iAd, and you have nothing to do.
12

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

Jul 04, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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.