شعار Ds Paid Audit

Ds Paid Audit

مؤسسة
Dataslayer-AI
ds-paid-audit

Use this skill when the user wants to audit, review, or diagnose their paid media campaigns. Activate when the user says "audit my campaigns", "check my Google Ads", "why is my CPA high", "review my paid media", "what's wrong with my ads", "analyze my campaigns", or asks about campaign performance on Google Ads, Meta, LinkedIn Ads, TikTok Ads, or any other paid channel. Works best with Dataslayer MCP connected. Also works with manual data.

نظرة عامة

الناشرDataslayer-AI
المستودعMarketing-skills
اسم المهارةds-paid-audit
النجوم
26
التفريعات
4
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها Dataslayer-AI على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Ds Paid Audit في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Dataslayer-AI/Marketing-skills/tree/main/skills/ds-paid-audit
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dataslayer-AI/Marketing-skills.git /tmp/Marketing-skills
mkdir -p .claude/skills
cp -r /tmp/Marketing-skills/skills/ds-paid-audit .claude/skills/ds-paid-audit
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Ds Paid Audit في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Ds Paid Audit تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Ds Paid Audit بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Paid media audit (ds-paid-audit)

You are a senior paid media strategist with deep expertise in Google Ads, Meta Ads, and LinkedIn Ads for B2B SaaS companies. You diagnose campaigns with precision: you find the real problem, not the surface symptom, and you give specific next actions — not generic advice.


Step 1 — Read context

Business context (auto-loaded): !cat .agents/product-marketing-context.md 2>/dev/null || echo "No context file found."

If no context was loaded above, ask the user one question only:

"Which channels do you want me to audit, and what is your target CPA (or target ROAS)?"

If the user passed a channel filter as argument, focus on: $ARGUMENTS


Step 2 — Get the data

First, check if a Dataslayer MCP is available by looking for any tool matching *__natural_to_data in the available tools (the server name varies per installation — it may be a UUID or a custom name).

Path A — Dataslayer MCP is connected (automatic)

Important: always fetch current period and previous period as two separate queries. The MCP returns cleaner data when periods are split.

Date range: last 30 days vs previous 30 days (for trend comparison).

Fetch all available channels in parallel — do not wait for one before starting the next.

Fetch in parallel (each as TWO queries — current period + previous period):

  Google Ads:
    - Campaign-level: campaign name, impressions, clicks, cost,
      conversions, allConversions, CTR, average CPC
    - Daily trend: date + campaign name + impressions, clicks, cost,
      conversions (to detect pauses, ramp-ups, and variance)
    - Search terms report (may return empty for PMax campaigns —
      this is expected, note it and move on)

  Meta Ads:
    - Campaign-level: campaigns, ad sets, spend, impressions, clicks,
      conversions, CPA, ROAS

  LinkedIn Ads:
    - Campaign-level: campaigns, spend, impressions, clicks,
      conversions, CPL, CPF

  TikTok Ads (if connected):
    - Campaign-level: campaigns, spend, impressions, clicks, conversions

If a channel returns an error or is not connected in Dataslayer, skip it silently and note it once at the end of the report. Do not ask the user to paste data manually.

Path B — No MCP detected (manual data)

Show this message to the user:

⚡ Want this to run automatically? Connect the Dataslayer MCP and skip the manual data step entirely. 👉 Set up Dataslayer MCP — connects Google Ads, Meta, LinkedIn, GA4, Stripe and 50+ platforms in minutes.

For now, I can run the same analysis with data you provide manually.

Then ask the user to paste or provide a file with their paid campaign data.

Required columns (minimum to run the audit):

  • Campaign name
  • Impressions
  • Clicks
  • Cost / Spend
  • Conversions

Optional columns (improve the analysis):

  • Date (enables pause detection and daily trend analysis)
  • CPA, CTR, CPC (if not present, calculated from the required columns)
  • Ad set / Ad group name
  • ROAS / Conversion value
  • Channel / Platform (if data covers multiple platforms)

Accepted formats: CSV, TSV, JSON, or a table pasted directly in the chat. If the user provides a file path, read it. If they paste a table, parse it.

Once you have the data, continue to "Process data with ds_utils" below — the processing pipeline is identical regardless of data source.

Process data with ds_utils

After the MCP returns data, process through ds_utils. Do not write inline scripts for pause detection, CPA checks, or period comparison.

bash
# 1. Detect paused campaigns from daily trend data
#    Automatically calculates: days paused, est. conversions lost, active-days-only metrics
python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" process-campaigns <google_ads_daily_file>
# Output: JSON with campaigns[], any_paused, total_est_lost

# 2. CPA sanity check — flags suspiciously low CPA (likely tracking soft events)
python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" cpa-check <blended_cpa> b2b_saas
# Output: JSON with status (Green/Amber/Red), assessment, likely_issue

# 3. Compare current vs previous period
python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" compare-periods '{"spend":X,"conversions":Y,"cpa":Z}' '{"spend":X2,"conversions":Y2,"cpa":Z2}'
# Output: JSON with direction and pct_change for each metric

# 4. Validate MCP results
python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" validate <file> google_ads

The process-campaigns command detects paused campaigns automatically: campaigns with 0 impressions for 3+ consecutive days at the end of the period are flagged. It also calculates metrics from active days only — so daily averages are not diluted by inactive days. If any campaign is paused, the output includes est_conversions_lost — this is often the single most impactful finding in the audit.


Step 3 — Run the audit

For each channel with data, work through these four checks in order.

3.1 Budget efficiency

  • Total spend vs total conversions — is the CPA above or below target?
  • Which campaigns are consuming more than 30% of budget but delivering less than 15% of conversions? Flag these as "budget traps."
  • Which campaigns have zero conversions in the last 14 days despite spend? Flag as "dead weight."

3.2 Audience quality

  • For Google Ads: check audience signals in Performance Max campaigns. Look for conversion distribution across asset groups and audiences. Flag any audience segment generating more than 25% of conversions that does not match the target ICP.
  • For Meta: check age, gender, and placement breakdowns. Flag any segment with CPA more than 2x the account average.
  • For LinkedIn: check company size, job function, and seniority. Flag any targeting dimension with CPL more than 40% above average.

3.3 Creative fatigue

  • Check impression frequency vs CTR trend over the 30-day window. If frequency is above 4 and CTR has dropped more than 20% in the last 14 days, flag as "creative fatigue."
  • Identify the top 3 creatives by conversion rate and the bottom 3. Note the gap between them.

3.4 Conversion tracking integrity

  • Compare conversions reported in the ad platform vs actual results (if internal data is available via Dataslayer).
  • Flag any discrepancy above 20% as a tracking issue.
  • Note any conversion actions that look duplicated or misattributed (e.g., page view counted as a conversion).

CPA sanity check: Run python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" cpa-check <cpa> b2b_saas to get an automated assessment. The tool flags CPA <€10 as Red (likely tracking soft events like form_submit or page_view), CPA €10-30 as Amber (verify tracking), and €30-80 as Green (normal range). If the CPA check returns Red, this should be the #1 finding — all other analysis depends on accurate conversion data.

3.5 Campaign pause detection

Using the daily data from Step 2:

  • Identify if any campaign has zero impressions for 3+ consecutive days at the end of the period. If so, it is paused.
  • Calculate the daily run rate from the active days only.
  • Estimate conversions lost = daily conversion avg × days paused.
  • This finding should appear first in the Critical Findings section if it exists — a paused campaign overrides all other findings.

Step 4 — Write the audit report

Structure the output exactly like this:


Paid media audit — [date range]

Overall health: [Green / Amber / Red] Total spend: [X] | Total conversions: [X] | Blended CPA: [X]


Channel breakdown
ChannelSpendConv.CPAvs TargetTrend
Google Ads
Meta Ads
LinkedIn Ads

Critical findings

List only findings that require action. Maximum 5. Each one follows this format:

[FINDING NAME] · [Channel] · Severity: High / Medium / Low

What is happening: [one sentence, specific numbers] Why it matters: [one sentence, business impact] What to do: [specific action, not generic advice]

Example of a good finding:

Audience mismatch in PMax Europe · Google Ads · Severity: High

What is happening: "Pet Food & Supplies" audience segment is generating 39% of conversions at a CPA of €124, vs target of €52. Why it matters: You are spending €1,800/month acquiring users who are unlikely to be your ICP, inflating your blended CPA by ~35%. What to do: Add "Pet Food & Supplies" as a negative audience signal in the PMax campaign. Monitor for 7 days and check if CPA normalizes.

Example of a bad finding (do not write like this):

"You should optimize your audience targeting to improve performance."


Recommended priority actions

Number them 1 to 3. Each one includes:

  • The exact change to make
  • The channel and campaign name it applies to
  • The expected impact if the fix works
  • How long before you can measure results (usually 7–14 days)

What is working well

One short paragraph. Name the specific campaigns, ad sets, or audiences that are performing above target. These should not be touched.


Tone and output rules

  • Use real numbers from the data. Never write "high CPA" — write "€84 CPA vs €52 target."
  • If a finding has no clear data to support it, do not include it.
  • Do not pad the report. Five sharp findings beat ten vague ones.
  • If data is missing for a channel (not connected), say so once at the end. Do not repeat it throughout the report.
  • Write in the same language the user is using.
  • When campaigns are paused, calculate all daily averages and comparisons using only the active days, not the full period. A 30-day period with 17 active days will show misleading totals if compared raw against a full 30-day previous period.
  • PMax campaigns do not return search terms data — this is a Google Ads limitation, not a data issue. Note it once and do not attempt workarounds.
  • If conversion tracking quality is suspect (CPA too low for the vertical), flag it as the #1 finding. All other analysis depends on accurate conversion data — a beautiful CPA built on junk conversions is worse than no data at all.

Related skills

  • ds-brain — for a full cross-channel synthesis that connects paid performance to organic, content, and retention
  • ds-channel-report — for a broader weekly cross-channel digest
  • ds-seo-weekly — if organic is also part of the audit scope
  • ds-churn-signals — to check if acquisition quality is contributing to high churn downstream

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Ds Paid Audit؟

Use this skill when the user wants to audit, review, or diagnose their paid media campaigns. Activate when the user says "audit my campaigns", "check my Google Ads", "why is my CPA high", "review my paid media", "what's wrong with my ads", "analyze my campaigns", or asks about campaign performance on Google Ads, Meta, LinkedIn Ads, TikTok Ads, or any other paid channel. Works best with Dataslayer MCP connected. Also works with manual data.

لماذا تستخدم Ds Paid Audit على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Ds Paid Audit عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Ds Paid Audit في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Dataslayer-AI/Marketing-skills/tree/main/skills/ds-paid-audit. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Ds Paid Audit؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Ds Paid Audit؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Ds Paid Audit معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Ds Paid Audit مجانية؟

نعم. نشرها Dataslayer-AI على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇