# testMode

> Controls if testing advertisements are used instead of production advertisements.

## Definition

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

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