# enabled

> Global boolean for enabling or disabling the advertisement feature.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Advertisements](/engine/6000.0/script-reference/unityeditor/advertisements.md)
* **Assembly:** UnityEditor

```csharp
public static bool enabled { get; set; }
```
