Skip to content

Daily or weekly

Get a Meta Ads report with commentary by email

Each Monday you get an email with last week's Meta ad results by campaign and a few lines on what they mean.

Runs
Daily or weekly
Apps
Facebook Pages, Gmail
AI
Yes, uses the built-in AI allowance
Access
ads_read; gmail.send

Send this to your assistant

Create a ClickRuntime automation: every Monday at 8, get last week's Meta Ads results by campaign, write a short commentary on what worked and what didn't, and email it to me from Gmail.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A marketing consultant manages ads for a few small clients and sends each a weekly update. Pulling numbers from Ads Manager and writing the commentary takes a couple of hours every Monday.

The report now arrives by itself: a table of last week's results by campaign and a short commentary on what changed and why it matters, ready to forward to the client.

What you get out of it

  • Numbers with meaning

    Commentary explains what the figures say, not just what they are.

  • Ready to forward

    The email is clear enough to send to a client or partner as it is.

  • Same day every week

    A steady rhythm keeps everyone informed.

  • No logging into Ads Manager

    The key results come to you.

How it works

What happens, step by step

  1. Every Monday, ClickRuntime gets last week's results for each campaign from Meta.

  2. It puts them in a short table.

  3. AI writes a few sentences on what worked, what didn't and what to try next.

  4. The report is emailed from your Gmail.

Before it runs live

  • Connect Facebook Pages
  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail

What you get

RunsDaily or weekly
Get a Meta Ads report with commentary by emailtoday, 9:00Succeeded
Gmail · Meta Ads, last weekRetargeting did the heavy lifting: 60% of sales at half the cost. The new video ad hasn't found its audience yet.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Facebook Pages and Gmail steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
meta_ads_report_by_email.pyexample
import base64
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, ai

AD_ACCOUNT = "act_1234567890"

@on_trigger
def run(event):
    data = http.get(f"https://graph.facebook.com/v21.0/{AD_ACCOUNT}/insights",
                    params={"level": "campaign", "date_preset": "last_week_mon_sun", "access_token": credentials.connection("facebook", "work"),
                            "fields": "campaign_name,spend,clicks,ctr,cost_per_action_type"}).json()["data"]
    table = "\n".join(f"{d['campaign_name']}: spend {d['spend']}, clicks {d['clicks']}, CTR {float(d['ctr']):.2f}%" for d in data)
    comment = ai.generate(f"Weekly Meta Ads results:\n{table}\nWrite 4 sentences: what worked, what didn't, what to try.",
                          max_output_tokens=300).text
    gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    raw = f"To: me\r\nSubject: Meta Ads, last week\r\n\r\n{comment}\n\n{table}"
    gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(raw.encode()).decode()}).execute()
    return {"campaigns": len(data)}

FAQ

Common questions

Can it send daily instead?
Yes. Choose daily in the prompt and it reports yesterday's results each morning.
Which metrics are included?
Spend, results, cost per result, clicks and click rate by campaign, with the change from the previous period.
Can it email a client directly?
Yes. Add their address in the prompt, though sending to yourself first is a good way to start.
What permissions does it need?
ads_read; gmail.send. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (daily or weekly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Get a Meta Ads report with commentary by email” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.