UnityEngine.Advertisements Unity Ads. Controls the amount of logging output from the advertisement system. Controls the amount of logging output from the advertisement system. Returns the game identifier for the current platform. Returns whether the advertisement system is initialized successfully. Returns whether an advertisement is currently being shown. Returns if the current platform is supported by the advertisement system. Returns whether the testing mode is enabled. Returns the current Unity Ads version. Player debug message level. Prints all debugging messages. Prints all error messages. Prints all informational messages. Prints out no debugging output. Prints out warnings. Returns the placement state. Placement identifier. Placement state. Returns the placement state. Placement identifier. Placement state. Manually initializes the advertisement system. Normally this is done from editor, and you should only call this method if you are using UnityAds with automatic initialization disabled. Your game id. You can see a list of your registered games at the UnityAds admin site. In test mode, you will see test advertisement. Can be overruled by settings in the admin site for game. Manually initializes the advertisement system. Normally this is done from editor, and you should only call this method if you are using UnityAds with automatic initialization disabled. Your game id. You can see a list of your registered games at the UnityAds admin site. In test mode, you will see test advertisement. Can be overruled by settings in the admin site for game. Returns whether an advertisement is ready to be shown. Placements are configured per game in the UnityAds admin site, where you can also set your default placement. Optional placement identifier. If not specified, your default placement specified in UnityAds server-side admin settings will be used. If the placement is ready. Returns whether an advertisement is ready to be shown. Placements are configured per game in the UnityAds admin site, where you can also set your default placement. Optional placement identifier. If not specified, your default placement specified in UnityAds server-side admin settings will be used. If the placement is ready. Sets various metadata for Unity Ads. MetaData to be set. Show an advertisement in your project. Optional placement identifier. If not specified, your default placement specified in the admin settings will be used. Specify e.g. callback handler to be called when video has finished. Show an advertisement in your project. Optional placement identifier. If not specified, your default placement specified in the admin settings will be used. Specify e.g. callback handler to be called when video has finished. Show an advertisement in your project. Optional placement identifier. If not specified, your default placement specified in the admin settings will be used. Specify e.g. callback handler to be called when video has finished. Show an advertisement in your project. Optional placement identifier. If not specified, your default placement specified in the admin settings will be used. Specify e.g. callback handler to be called when video has finished. Class for sending various metadata to UnityAds. Metadata category. Metadata key. Stored metadata. Sets new metadata fields. Metadata key. Metadata value, needs to be JSON serializable. Stored metadata dictionary. Various states that Unity Ads placements can be in. Placement has been disabled. Placement has no advertisements to show. Placement is not available. Placement is ready to be shown an advertisement from. Placement is waiting to be ready. Collection of options that can be passed to Advertisements.Show to modify advertisement behaviour. Add a string to specify an identifier for a specific user in the game. Callback to recieve the result of the advertisement. ShowResult is passed to ShowOptions.resultCallback after the advertisement has completed. Indicates that the advertisement failed to complete. Indicates that the advertisement completed successfully. Indicates that the advertisement was skipped.