> ## Documentation Index
> Fetch the complete documentation index at: https://docs.1-news.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Turn ads on or off

> Turn ad serving on or off for a newsroom.

Turn serving on or off. Serving can be turned on only when a custom domain is connected and an account is active. You need the ads tool.

**projectId** `string` *required*

The newsroom id.

**enabled** `boolean` *required*

True turns serving on. False turns it off.

**ok** `boolean`

True when the setting was saved.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.