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

# MarketingBanner

> A Host-authored promotional banner shown to targeted members, with a call to action.



**Kind**: `object`

## Implements

- `DatabaseRecord`
- `Node`

## Fields

**`buttonText`**: `String`

Label of the call-to-action button.

---

**`buttonUrl`**: `String`

URL the call-to-action button links to.

---

**`createdAt`**: `ISO8601DateTime`

When the Banner was created.

---

**`creator`**: `Member`

The Host who created the Banner.

---

**`descriptionHtml`**: `String`

The Banner's body as sanitized HTML.

---

**`endsAt`**: `ISO8601DateTime`

When the Banner stops showing. Null when it never expires.

---

**`id`**: `ID!`

ID of the object.

---

**`isActive`**: `Boolean`

Whether the Host has turned the Banner on.

---

**`lastEditedAt`**: `ISO8601DateTime`

When the Banner's content last changed. Turning the Banner on or off does not
move it. Pass it as `expectedLastEditedAt` to `updateMarketingBanner` to
refuse a write that would overwrite someone else's change.

---

**`marketingAudience`**: `MarketingAudience`

The Marketing Audience the Banner is targeted at.

---

**`name`**: `String`

The Banner's internal name, shown only to Hosts.

---

**`permanentlyDismissible`**: `Boolean!`

Whether a member can permanently dismiss the Banner.

---

**`resourceId`**: `ID!`

Resource ID for this object, for interop with the Admin API.

---

**`startsAt`**: `ISO8601DateTime`

When the Banner starts showing. Null when it starts immediately.

---

**`status`**: `MarketingBannerStatus`

Lifecycle status of the Banner.

---

**`targetPlatforms`**: `MarketingBannerTargetPlatform`

The platforms the Banner is shown on.

---

**`targetable`**: `MarketingBannerTargetable`

The entity the Banner links to (a Payment Plan). Null when the Banner uses a custom button URL instead.

---

**`title`**: `String!`

The Banner's headline shown to members.



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