{
 "id": "ads-media-plan-budget",
 "file": "softwiro-ads-media-plan-budget.xlsx",
 "title": "شيت خطة ميزانية الإعلانات على المنصات",
 "language": "ar",
 "direction": "rtl",
 "how_it_works": "White cells are typed input; cells whose kind is \"formula\" are calculated and must not be overwritten. Add one record per row under the header row of a record table, keeping the columns in order.",
 "sheets": [
  {
   "name": "ابدأ هنا",
   "formula_cells": 0
  },
  {
   "name": "الإعدادات",
   "formula_cells": 1,
   "settings": [
    {
     "label": "اسم النشاط",
     "cell": "B4",
     "value": "متجر النور للأزياء (مثال)"
    },
    {
     "label": "شهر الخطة",
     "cell": "B5",
     "value": "نوفمبر 2026"
    },
    {
     "label": "إجمالي ميزانية الإعلانات (جنيه)",
     "cell": "B6",
     "value": 50000
    },
    {
     "label": "متوسط قيمة الطلب (جنيه)",
     "cell": "B7",
     "value": 600
    },
    {
     "label": "هامش الربح الإجمالي %",
     "cell": "B8",
     "value": 0.4
    },
    {
     "label": "هدف ROAS (مرات)",
     "cell": "B9",
     "value": 3
    }
   ],
   "results": [
    {
     "label": "حد التعادل لـ ROAS = 1 ÷ الهامش",
     "cell": "B10",
     "formula": "=IF(N(B8)>0,1/B8,\"\")"
    }
   ]
  },
  {
   "name": "الخطة",
   "formula_cells": 120,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 12,
     "capacity_last_row": 21,
     "columns": [
      {
       "column": "A",
       "header": "الحملة",
       "kind": "input",
       "examples": [
        "مبيعات المتجر - ريتارجتنج",
        "رسائل واتساب - عروض الموسم",
        "بحث جوجل - كلمات الشراء"
       ]
      },
      {
       "column": "B",
       "header": "المنصة",
       "kind": "input",
       "examples": [
        "Meta (فيسبوك وإنستجرام)",
        "Meta (فيسبوك وإنستجرام)",
        "Google Ads"
       ],
       "allowed_values": [
        "Meta (فيسبوك وإنستجرام)",
        "Google Ads",
        "يوتيوب",
        "تيك توك",
        "سناب شات",
        "لينكدإن",
        "X (تويتر)"
       ]
      },
      {
       "column": "C",
       "header": "الهدف",
       "kind": "input",
       "examples": [
        "مبيعات",
        "رسائل واتساب",
        "مبيعات"
       ],
       "allowed_values": [
        "وعي",
        "زيارات",
        "رسائل واتساب",
        "عملاء محتملون",
        "مبيعات"
       ]
      },
      {
       "column": "D",
       "header": "حصة الميزانية %",
       "kind": "input",
       "examples": [
        0.3,
        0.15,
        0.2
       ]
      },
      {
       "column": "E",
       "header": "CPM افتراض (جنيه)",
       "kind": "input",
       "examples": [
        85,
        70,
        250
       ]
      },
      {
       "column": "F",
       "header": "CTR افتراض",
       "kind": "input",
       "examples": [
        0.016,
        0.02,
        0.05
       ]
      },
      {
       "column": "G",
       "header": "CVR افتراض",
       "kind": "input",
       "examples": [
        0.03,
        0.04,
        0.045
       ]
      },
      {
       "column": "H",
       "header": "الميزانية (جنيه)",
       "kind": "formula",
       "formula_row_1": "=IF(D6&\"\"=\"\",\"\",D6*'الإعدادات'!$B$6)"
      },
      {
       "column": "I",
       "header": "الظهور",
       "kind": "formula",
       "formula_row_1": "=IF(OR(H6=\"\",N(E6)<=0),\"\",H6/E6*1000)"
      },
      {
       "column": "J",
       "header": "النقرات",
       "kind": "formula",
       "formula_row_1": "=IF(I6=\"\",\"\",I6*N(F6))"
      },
      {
       "column": "K",
       "header": "التحويلات",
       "kind": "formula",
       "formula_row_1": "=IF(J6=\"\",\"\",J6*N(G6))"
      },
      {
       "column": "L",
       "header": "CPA (جنيه)",
       "kind": "formula",
       "formula_row_1": "=IF(N(K6)>0,H6/K6,\"\")"
      },
      {
       "column": "M",
       "header": "الإيراد (جنيه)",
       "kind": "formula",
       "formula_row_1": "=IF(K6=\"\",\"\",K6*'الإعدادات'!$B$7)"
      },
      {
       "column": "N",
       "header": "ROAS",
       "kind": "formula",
       "formula_row_1": "=IF(M6=\"\",\"\",IF(H6>0,M6/H6,\"\"))"
      },
      {
       "column": "O",
       "header": "الربح بعد الإعلان",
       "kind": "formula",
       "formula_row_1": "=IF(M6=\"\",\"\",M6*'الإعدادات'!$B$8-H6)"
      },
      {
       "column": "P",
       "header": "الحالة",
       "kind": "formula",
       "formula_row_1": "=IF(H6=\"\",\"\",IF(C6=\"وعي\",\"وعي: لا يُقاس بالعائد\",IF(N6=\"\",\"\",IF(N6>='الإعدادات'!$B$9,\"يحقق الهدف\",IF(N6*'الإعدادات'!$B$8>=1,\"فوق التعادل\",\"تحت التعادل\")))))"
      }
     ]
    }
   ]
  },
  {
   "name": "المقارنة",
   "formula_cells": 166,
   "record_tables": [
    {
     "header_row": 11,
     "first_record_row": 12,
     "sample_rows_filled": 20,
     "capacity_last_row": 34,
     "columns": [
      {
       "column": "A",
       "header": "المؤشر",
       "kind": "input",
       "examples": [
        "الإنفاق (جنيه)",
        "التحويلات",
        "الإيراد (جنيه)"
       ]
      },
      {
       "column": "B",
       "header": "الخطة الحالية",
       "kind": "formula",
       "formula_row_1": "=SUM(C23:C34)"
      },
      {
       "column": "C",
       "header": "زيادة أفضل منصة",
       "kind": "formula",
       "formula_row_1": "=SUM(F23:F34)"
      },
      {
       "column": "D",
       "header": "تخفيض أضعف منصة",
       "kind": "formula",
       "formula_row_1": "=SUM(I23:I34)"
      },
      {
       "column": "E",
       "header": "فرق السيناريو 2",
       "kind": "formula",
       "formula_row_1": "=IF(OR(C12=\"\",B12=\"\"),\"\",C12-B12)"
      },
      {
       "column": "F",
       "header": "فرق السيناريو 3",
       "kind": "formula",
       "formula_row_1": "=IF(OR(D12=\"\",B12=\"\"),\"\",D12-B12)"
      }
     ]
    }
   ],
   "settings": [
    {
     "label": "نسبة زيادة ميزانية أفضل منصة (ROAS)",
     "cell": "B4",
     "value": 0.2
    },
    {
     "label": "نسبة تخفيض ميزانية أضعف منصة (100% = إيقافها)",
     "cell": "B5",
     "value": 1
    }
   ],
   "results": [
    {
     "label": "أفضل حملة بالـ ROAS",
     "cell": "B6",
     "formula": "=IF(B8=0,\"\",INDEX('الخطة'!$A$6:$A$17,B8))"
    },
    {
     "label": "أضعف حملة بالـ ROAS",
     "cell": "B7",
     "formula": "=IF(B9=0,\"\",INDEX('الخطة'!$A$6:$A$17,B9))"
    },
    {
     "label": "ترتيب أفضل حملة",
     "cell": "B8",
     "formula": "=IFERROR(MATCH(MAX('الخطة'!$N$6:$N$17),'الخطة'!$N$6:$N$17,0),0)"
    },
    {
     "label": "ترتيب أضعف حملة",
     "cell": "B9",
     "formula": "=IF(IFERROR(MATCH(MIN('الخطة'!$N$6:$N$17),'الخطة'!$N$6:$N$17,0),0)=B8,0,IFERROR(MATCH(MIN('الخطة'!$N$6:$N$17),'الخطة'!$N$6:$N$17,0),0))"
    }
   ]
  },
  {
   "name": "لماذا ما زلت على إكسل؟",
   "formula_cells": 0
  }
 ]
}