Sign inGet started
Learn

ROAS by ad

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

How your agent shows spend, orders, revenue and ROAS for each Meta and Google ad, and the one setting Meta needs so a visit names its ad.

Updated

ROAS by ad tells you which ad inside a campaign paid back and which didn't. Your agent sets each ad's spend against the orders and revenue attribution credits to it. Google needs no setup. Meta needs one line on every ad.

What can your agent answer?

Ask for ROAS by ad, or by ad set (Meta) or ad group (Google). For each Meta and Google ad, your agent reads:

NumberWhat it is
SpendWhat the ad cost in the period
Orders and revenueWhat our attribution credits to the ad
ROASRevenue divided by spend
Cost per orderSpend divided by orders
Platform purchases and ROASWhat Meta or Google claims for the same days, beside ours
Days with spendHow long the ad ran, so you can judge the sample

Revenue that never reached an ad stays in its campaign, in a row of its own:

  • <campaign>, ad unknown is revenue from visits we couldn't tie to an ad.
  • <campaign>, no ads is spend no ad carries, such as Performance Max and other campaigns without ads.

Neither row is a bad ad. Campaign and account totals don't change because of them. Your agent also sees, for each campaign with ads, the share of its revenue that reached an ad: a campaign at 30% is missing the parameter, not running bad ads.

How do you set up Meta?

A Meta visit names its ad through its utm_content, which Meta fills in when someone clicks. Meta keeps URL parameters on each ad, so paste the line on every ad:

  1. Open Ads Manager and select all the ads in the account.
  2. Open the bulk edit for URL parameters.
  3. Paste this line, then publish the change.
utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_content=ad_{{ad.id}}

The bulk edit covers the ads you have now. Add the line to each new ad too, or duplicate an ad that has it. Your agent lists the ones still missing it.

Keep the ad_ before {{ad.id}}. Our tag and edge remove any run of 13 to 19 digits as a long number, and a bare ad id is one. With ad_ in front, the id arrives whole.

Without the parameter, a visit whose utm_content is exactly the name of one ad in that account still reaches that ad. Two ads with the same name reach neither, so use the line above.

How do you find the Meta ads still missing it?

Ask your agent. It lists the ads that delivered in the last 7 days without utm_content=ad_{{ad.id}} in their link, by campaign, with the line to paste (it reads them from get_context). The list is at most one sync old. Their orders stay at campaign level until you add the parameter.

The list reads each ad's URL parameters field. An ad with the line written into its website URL instead, or a dynamic or Advantage+ creative that leaves the field empty, shows as missing. Put the line in the URL parameters field.

What does Google need?

Nothing. Google adds a click id (gclid) to the link, and your agent resolves it to the ad that was clicked.

  • Only clicks from visits to your site are kept. Other people's clicks on your ads are never stored.
  • Click ids resolve up to 90 days back. An older visit stays at campaign level.
  • Performance Max and other campaigns without ads stay at campaign level, as <campaign>, no ads.
  • App campaigns don't give click ids, so their visits stay at campaign level.

Does it change my ad account?

No. We only read reports. We never pause an ad, change a budget or write a URL parameter. Your agent tells you what to change, and you do it.

How do you judge an ad with few orders?

Read the ad's orders and days with spend beside its ROAS. Under a few orders, your agent says "too early" and doesn't call the ad good or bad. Compare an ad's ROAS with its ad account's and with your break-even, not with another ad that has 2 orders.

What can you ask your agent?

Which of my Meta ads paid back last month, and which should I turn off? Show the orders each one has.

Next steps

Related
  • How to check your website traffic: Four ways to check your website's traffic, from analytics to Search Console and server logs, what each one counts, and how to ask your agent instead.
  • Bounce rate: What bounce rate means, how it's calculated in nextanalytica and in GA4, why the two differ, and how to find the pages people leave.
  • UTM tags: What UTM tags are, the parameters and which ones to always set, naming rules that keep reports clean, and how to read campaigns by UTM with your agent.
  • Revenue tracking: Track revenue on your website so every order ties to the visit, channel and campaign it came from, from the browser, your server or WooCommerce.
  • Attribution models: How your agent credits each order to the visits before it, by last click, first click or linear, with ROAS by ad account and LTV by channel.
  • How to track website traffic: How to set up website tracking that tells you where visitors come from and what they do: the tag, events, UTM tags, consent, search data and AI crawlers.
Still have questions?
Was this page useful?