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

# Widget Configuration

> Configure sponsorship widgets and ad placements

Configure widgets that display sponsor logos, ads, and promotional content.

## Widget Types

| Type             | Description                       |
| ---------------- | --------------------------------- |
| Logo Banner      | Sponsor logos in horizontal strip |
| Sidebar Ad       | Vertical ad placement             |
| Featured Sponsor | Highlighted sponsor block         |
| Rotating Banner  | Cycling sponsor ads               |

## Configuration Options

* Widget dimensions
* Rotation interval
* Display rules (pages, sections)
* Click tracking
* Impression limits

## Embed Code

Generate embed code for:

* WordPress (shortcode)
* Generic HTML (iframe)
* JavaScript widget

## Features

### Widget Configuration

#### Acceptance Criteria

##### Frontend

* [ ] UI supports the workflows described in this feature.

##### Backend / API

* [ ] Backend behavior supports this feature as documented.

##### Permissions

* [ ] Access is restricted per the Capabilities matrix on this page (or equivalent role rules).

##### Business Rules

* [ ] All business rules for this feature are enforced.

##### Error Handling

* [ ] Error states return clear messages and appropriate HTTP status codes.

## Implementation Contracts

### Backend (API)

```
GET    /api/sponsorship/widgets              # List widgets
POST   /api/sponsorship/widgets              # Create widget
PUT    /api/sponsorship/widgets/{id}         # Update widget
GET    /api/sponsorship/widgets/{id}/embed   # Get embed code

GET    /api/sponsorship/widgets/{id}/stats   # Widget analytics
```
