/**
 * Normalized Campaign Insight
 * رؤى الحملة الموحدة
 * 
 * This is our internal representation of an ad campaign performance.
 * هذا هو تمثيلنا الداخلي لأداء حملة إعلانية.
 * 
 * Using this instead of raw API responses makes our system "Multi-platform ready".
 * استخدام هذا بدلاً من استجابات API الخام يجعل نظامنا "جاهزاً لمنصات متعددة".
 */
export interface NormalizedCampaignInsight {
  campaignId: string;
  campaignName: string;
  impressions: number;
  clicks: number;
  spend: number;
  ctr: number;
  cpc: number;
  cpm: number;
  dateStart: string;
  dateStop: string;
  source: 'meta' | 'google' | 'tiktok';
  status: string;
  platform?: string; // e.g., facebook, instagram, google, tiktok
  imageUrl?: string;
  adCopy?: string;
  aiRecommendation?: string;
  // Extra metrics for AI
  conversions?: number;
  costPerResult?: number;
  objective?: string;
  frequency?: number;
  reach?: number;
  hookRate?: number;
  thumbStopRate?: number;
  landingPageViews?: number;
}
