Version: 2017.2

AdvertisementSettings

class in UnityEditor.Advertisements

Switch to Manual

Description

Editor API for the Unity Services editor feature. Normally UnityAds is enabled from the Services window, but if writing your own editor extension, this API can be used.

Static Variables

enabledGlobal boolean for enabling or disabling the advertisement feature.
initializeOnStartupControls if the advertisement system should be initialized immediately on startup.
testModeControls if testing advertisements are used instead of production advertisements.

Static Functions

GetGameIdGets the game identifier specified for a runtime platform.
GetPlatformGameIdGets the game identifier specified for a runtime platform.
SetGameIdSets the game identifier for the specified platform.
SetPlatformGameIdSets the game identifier for the specified platform.