Files
helix-engage/src/mocks/ads.ts
2026-03-17 08:59:13 +05:30

244 lines
8.7 KiB
TypeScript

import type { Ad } from '@/types/entities';
import { inr, daysAgo } from './factories';
import { CAMPAIGN_ID_WD, CAMPAIGN_ID_GH, CAMPAIGN_ID_IVF, CAMPAIGN_ID_SN } from './campaigns';
// Fixed ad IDs for lead cross-references
export const AD_ID_WD_1 = 'ad-wd-1';
export const AD_ID_WD_2 = 'ad-wd-2';
export const AD_ID_WD_3 = 'ad-wd-3';
export const AD_ID_GH_1 = 'ad-gh-1';
export const AD_ID_GH_2 = 'ad-gh-2';
export const AD_ID_GH_3 = 'ad-gh-3';
export const AD_ID_IVF_1 = 'ad-ivf-1';
export const AD_ID_IVF_2 = 'ad-ivf-2';
export const AD_ID_IVF_3 = 'ad-ivf-3';
export const AD_ID_SN_1 = 'ad-sn-1';
export const AD_ID_SN_2 = 'ad-sn-2';
export const AD_ID_SN_3 = 'ad-sn-3';
export const mockAds: Ad[] = [
// Women's Day campaign ads
{
id: AD_ID_WD_1,
createdAt: daysAgo(29),
updatedAt: daysAgo(1),
adName: "Women's Day — Full Checkup Package",
externalAdId: 'WD-123-A01',
adStatus: 'ACTIVE',
adFormat: 'IMAGE',
headline: 'Free Health Checkup This Women\'s Day',
adDescription: 'Complete women\'s health checkup at Global Hospital. Book now — limited slots available.',
destinationUrl: 'https://globalhospital.com/womens-day-checkup',
previewUrl: null,
impressions: 58000,
clicks: 1540,
conversions: 18,
spend: inr(42000),
campaignId: CAMPAIGN_ID_WD,
},
{
id: AD_ID_WD_2,
createdAt: daysAgo(28),
updatedAt: daysAgo(1),
adName: "Women's Day — Carousel Benefits",
externalAdId: 'WD-123-A02',
adStatus: 'ACTIVE',
adFormat: 'CAROUSEL',
headline: 'Your Health, Our Priority — Women\'s Day Special',
adDescription: 'Swipe to explore what\'s included in our comprehensive Women\'s Day Health Package.',
destinationUrl: 'https://globalhospital.com/womens-day-checkup',
previewUrl: null,
impressions: 47000,
clicks: 1290,
conversions: 12,
spend: inr(38000),
campaignId: CAMPAIGN_ID_WD,
},
{
id: AD_ID_WD_3,
createdAt: daysAgo(27),
updatedAt: daysAgo(2),
adName: "Women's Day — Testimonial Video",
externalAdId: 'WD-123-A03',
adStatus: 'ACTIVE',
adFormat: 'VIDEO',
headline: 'Real Stories. Real Care. Global Hospital.',
adDescription: 'Watch how our patients experienced the Women\'s Day Health Checkup at Global Hospital.',
destinationUrl: 'https://globalhospital.com/womens-day-checkup',
previewUrl: null,
impressions: 37000,
clicks: 1010,
conversions: 8,
spend: inr(38000),
campaignId: CAMPAIGN_ID_WD,
},
// Cervical Cancer Screening campaign ads
{
id: AD_ID_GH_1,
createdAt: daysAgo(24),
updatedAt: daysAgo(1),
adName: 'Cervical Screening — Awareness Image',
externalAdId: 'GH-456-A01',
adStatus: 'ACTIVE',
adFormat: 'IMAGE',
headline: 'Cervical Cancer Is Preventable — Get Screened Today',
adDescription: 'Early detection saves lives. Book your cervical cancer screening at Global Hospital.',
destinationUrl: 'https://globalhospital.com/cervical-screening',
previewUrl: null,
impressions: 42000,
clicks: 960,
conversions: 11,
spend: inr(29000),
campaignId: CAMPAIGN_ID_GH,
},
{
id: AD_ID_GH_2,
createdAt: daysAgo(23),
updatedAt: daysAgo(2),
adName: 'Cervical Screening — GMB Lead Form',
externalAdId: 'GH-456-A02',
adStatus: 'ACTIVE',
adFormat: 'LEAD_FORM',
headline: 'Schedule Your Cervical Screening — It Takes 2 Minutes',
adDescription: 'Fill in your details and our team will call you within 24 hours to confirm your appointment.',
destinationUrl: 'https://globalhospital.com/cervical-screening/form',
previewUrl: null,
impressions: 32500,
clicks: 780,
conversions: 7,
spend: inr(24000),
campaignId: CAMPAIGN_ID_GH,
},
{
id: AD_ID_GH_3,
createdAt: daysAgo(22),
updatedAt: daysAgo(3),
adName: 'Cervical Screening — Doctor Video',
externalAdId: 'GH-456-A03',
adStatus: 'ACTIVE',
adFormat: 'VIDEO',
headline: 'Dr. Kavitha Explains Cervical Cancer Prevention',
adDescription: 'Watch our Senior Gynaecologist explain everything you need to know about cervical cancer screening.',
destinationUrl: 'https://globalhospital.com/cervical-screening',
previewUrl: null,
impressions: 24000,
clicks: 470,
conversions: 4,
spend: inr(19000),
campaignId: CAMPAIGN_ID_GH,
},
// IVF Consultation campaign ads
{
id: AD_ID_IVF_1,
createdAt: daysAgo(19),
updatedAt: daysAgo(1),
adName: 'IVF — Free First Consultation Image',
externalAdId: 'IVF-789-A01',
adStatus: 'ACTIVE',
adFormat: 'IMAGE',
headline: 'Free IVF Consultation — Your Journey to Parenthood Starts Here',
adDescription: 'Book a free first consultation with our IVF specialists at Global Hospital. No obligation.',
destinationUrl: 'https://globalhospital.com/ivf-free-consultation',
previewUrl: null,
impressions: 88000,
clicks: 2340,
conversions: 24,
spend: inr(62000),
campaignId: CAMPAIGN_ID_IVF,
},
{
id: AD_ID_IVF_2,
createdAt: daysAgo(18),
updatedAt: daysAgo(1),
adName: 'IVF — Success Stories Carousel',
externalAdId: 'IVF-789-A02',
adStatus: 'ACTIVE',
adFormat: 'CAROUSEL',
headline: '500+ IVF Successes at Global Hospital',
adDescription: 'Read the stories of families who trusted Global Hospital for their IVF journey.',
destinationUrl: 'https://globalhospital.com/ivf-success-stories',
previewUrl: null,
impressions: 76000,
clicks: 2010,
conversions: 18,
spend: inr(54000),
campaignId: CAMPAIGN_ID_IVF,
},
{
id: AD_ID_IVF_3,
createdAt: daysAgo(17),
updatedAt: daysAgo(2),
adName: 'IVF — WhatsApp Lead Gen',
externalAdId: 'IVF-789-A03',
adStatus: 'ACTIVE',
adFormat: 'LEAD_FORM',
headline: 'Chat With Our IVF Team on WhatsApp — Free & Confidential',
adDescription: 'Have questions about IVF? Our specialists are available on WhatsApp for a free, confidential chat.',
destinationUrl: 'https://wa.me/919876543210',
previewUrl: null,
impressions: 46000,
clicks: 1250,
conversions: 12,
spend: inr(40000),
campaignId: CAMPAIGN_ID_IVF,
},
// Senior Health Package campaign ads (paused)
{
id: AD_ID_SN_1,
createdAt: daysAgo(59),
updatedAt: daysAgo(10),
adName: 'Senior Package — Wellness Image',
externalAdId: 'SN-101-A01',
adStatus: 'PAUSED',
adFormat: 'IMAGE',
headline: 'Complete Senior Health Package — ₹3,999 Only',
adDescription: 'Comprehensive health checkup for seniors at Global Hospital. 40+ tests included.',
destinationUrl: 'https://globalhospital.com/senior-health-package',
previewUrl: null,
impressions: 31000,
clicks: 680,
conversions: 8,
spend: inr(26000),
campaignId: CAMPAIGN_ID_SN,
},
{
id: AD_ID_SN_2,
createdAt: daysAgo(58),
updatedAt: daysAgo(10),
adName: 'Senior Package — Family Carousel',
externalAdId: 'SN-101-A02',
adStatus: 'PAUSED',
adFormat: 'CAROUSEL',
headline: 'Give Your Parents the Gift of Good Health',
adDescription: 'Book the Senior Health Package for a loved one. Includes cardiac, diabetes, and joint health screenings.',
destinationUrl: 'https://globalhospital.com/senior-health-package',
previewUrl: null,
impressions: 26000,
clicks: 570,
conversions: 6,
spend: inr(22000),
campaignId: CAMPAIGN_ID_SN,
},
{
id: AD_ID_SN_3,
createdAt: daysAgo(57),
updatedAt: daysAgo(11),
adName: 'Senior Package — Doctor Video',
externalAdId: 'SN-101-A03',
adStatus: 'PAUSED',
adFormat: 'VIDEO',
headline: 'Why Senior Health Checkups Matter — Global Hospital Doctors Explain',
adDescription: 'Hear from our specialists why regular health checkups are critical after 60.',
destinationUrl: 'https://globalhospital.com/senior-health-package',
previewUrl: null,
impressions: 18000,
clicks: 370,
conversions: 4,
spend: inr(15000),
campaignId: CAMPAIGN_ID_SN,
},
];