> For the complete documentation index, see [llms.txt](https://docs.connected.events/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.connected.events/cookbook/elevate-your-community/monetization-within-your-community/delete-an-advertisement.md). Agents can also search and read this documentation through its [MCP server](https://docs.connected.events/~gitbook/mcp).

# Delete an Advertisement

Permanently delete an advertisement when it is no longer needed or disable the visibility to hide the advertisement.

## Introduction

Maintain a relevant and clutter-free promotional space by easily managing your active advertisements. If a campaign has concluded, you may consider permanently **Deleting the Advertisement;** however, keep in mind that deleting an advertisement will permanently remove its configuration and click history from the platform. If you wish to simply remove an advertisement from the client view without permanently deleting its data, you can easily disable its visibility instead of permanently deleting the advertisement. Whether you need to completely delete an outdated promotion or just temporarily pause its visibility, this guide will walk you through the necessary steps to manage your advertisements.

## Disable Visibility for an Advertisement

{% stepper %}
{% step %}

#### Navigate to Advertisement Visibility

* Select the waffle icon (<img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2F0XbXnlX25yGrDe9qGywc%2FUntitled%20(100%20x%20100%20px)%20(2).png?alt=media&amp;token=0266f5e9-62b2-45ff-bd47-a970b2354353" alt="" data-size="line">) at the top of the Admin Portal.
* Select **"Advertisements"** under the Monetization and Finance column.
* Select the ad you wish to edit.
* Select **"Details"** from the left-hand menu.
* Select **"Visibility"** from the top menu.
  {% endstep %}

{% step %}

#### Disable Visibility

Start and end dates will be overridden and the ad will be automatically disabled and removed from the client view.

* Toggle **"Enabled"** to false.
* Select **"Update"** to finalize the edit.&#x20;

<figure><img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2F3DjNQzSofBtF3jO9L3PU%2Fadvisibility.gif?alt=media&amp;token=3d830e68-2a42-4b34-904f-787d39c60686" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Permanently Delete an Advertisement

Permanently deleting an advertisement will delete all information, configurations and click data. This is an irreversible action; proceed with caution. We recommend following the steps above and disabling visibility instead of permanently deleting an advertisement.&#x20;

{% stepper %}
{% step %}

#### Navigate to the Advertisement

* Select the waffle icon (<img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2F0XbXnlX25yGrDe9qGywc%2FUntitled%20(100%20x%20100%20px)%20(2).png?alt=media&amp;token=0266f5e9-62b2-45ff-bd47-a970b2354353" alt="" data-size="line">) at the top of the Admin Portal.
* Select **"Advertisements"** under the Monetization and Finance column.
* Select the ad you wish to delete.
  {% endstep %}

{% step %}

#### Delete Advertisement

* Select the 3 vertical dots icon **(⋮)** on the top right of the page.
* Select **"Delete."**&#x20;
* Follow the deletion confirmation prompt.
* Select **"Delete"** to permanently delete the ad.&#x20;

<figure><img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2FvogUXV5tIeAC9VXcAgkq%2Fdeletead.gif?alt=media&amp;token=536e94c7-9300-458a-a51b-e68a89a1c143" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.connected.events/cookbook/elevate-your-community/monetization-within-your-community/delete-an-advertisement.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
