Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Priyanshu471/ad-management/llms.txt

Use this file to discover all available pages before exploring further.

The Advertiser portal is the central hub for managing your ad campaigns within the Ad Management System. Accessible at /advertiser, it provides authenticated advertisers with a real-time snapshot of campaign performance, live campaign cards, and quick-access controls for creating and managing campaigns. Only users with the advertiser role can access this portal — unauthenticated visitors are automatically redirected to the home page.

Dashboard Sections

The dashboard is organized into two primary areas — a statistics row at the top and a live campaigns grid below it.

Performance Stats

Four stat cards display aggregated metrics across all your campaigns: Total Views, Profit, Click Rate, and Total Users. Each card shows the current total and a percentage change with a trend indicator.

Live Campaign Grid

Active campaigns are rendered as CampaignCard components in a responsive grid. Each card surfaces the campaign title, description, and impression count, along with the remaining duration.

Create Campaign

The Create Campaign button in the top-right corner of the dashboard navigates to /advertiser/create, launching the multi-step campaign creation form.

View All Campaigns

The View All link below the live campaigns grid navigates to /advertiser/campaigns, where you can browse, edit, and delete every campaign you own.

Stats Cards

The four stat cards are sourced from the Stats array in lib/data.ts. Each card displays a headline total and a rate of change with an arrow indicating whether the metric is trending up or down.
StatTotalRateTrend
Total Views86,5680.43%↑ Up
Profit12,2364.03%↑ Up
Click Rate56.3%8%↑ Up
Total Users40,5680.83%↓ Down
The trend indicator renders a green upward arrow for levelUp: true and a red downward arrow for levelDown: true, giving you an immediate visual signal on metric health.

Live Campaign Cards

The dashboard shows up to four campaigns from campaignsData in a responsive grid. Clicking a campaign card opens the Campaign Modal, pre-filled with the campaign’s current details so you can edit or delete it inline. Each CampaignCard displays the following fields:
FieldSource
Titlecampaign.title
Descriptioncampaign.description
Impression countcampaign.impression
Durationcampaign.duration

Advertiser Sidebar Navigation

The left sidebar provides quick access to every section of the advertiser portal.
Menu ItemRoutePurpose
Dashboard/advertiserOverview stats and live campaigns
Create/advertiser/createCreate a new ad campaign
Campaigns/advertiser/campaignsManage all campaigns
Analytics/advertiser/analyticsPer-campaign analytics charts
Media Library/advertiser/libraryBrowse and filter media assets
Explore the rest of the advertiser portal documentation to get the most out of the Ad Management System.

Campaigns

Browse the full paginated campaigns table, edit campaign details, and delete campaigns.

Create Campaign

Step-by-step guide to building a new campaign with targeting, budget, and media uploads.

Analytics

Drill into per-campaign CTR trends and audience segment breakdowns.

Media Library

Browse and manage your campaign images, logos, and videos.

Build docs developers (and LLMs) love