Shopify + Meta Ads
Shopify Meta Ads automation on your store's own sales
Adrails connects your Shopify store and your Meta ad accounts in one workspace. Orders arrive in real time next to what Meta spent and attributed, agents build campaigns from the catalogue, and automations pause the ads of products that sold out.
01
Judge Meta on the orders Shopify recorded
Meta reports the revenue it attributes to its ads; Shopify records the orders that were paid. Adrails reads both for the same period and keeps them apart, so you can see where they agree and where attribution windows, refunds or time zones pull them apart.
Ask which campaigns moved net sales last week, or reconcile the revenue Meta attributes with Shopify net sales for a month. Every figure in the answer quotes the source it came from.
- Gross, refunded and net Shopify revenue, with the order count
- Meta spend, results and attributed revenue per campaign
- Each store in its own currency, never converted
02
Stop paying for ads that send buyers to a sold-out product
Adrails reads Shopify inventory and finds the ads that still send traffic to products that are out of stock. It prepares the pause with the product, the ads and what they spent since the stock ran out.
Run it as an automation and the check happens on a schedule, so a sold-out bestseller does not keep spending overnight.
03
Build campaigns from the catalogue
Describe the launch or the promotion and name the products. The Campaign Manager returns a Meta draft with the campaign, ad sets and ads, using the product names, prices and assets you point it to.
What it creates starts paused, so nothing spends until someone switches it on, and every field stays editable at its own level.
04
A worked example: when Meta looks fine and the store does not
Take the second week in the table. Meta reports a ROAS of 2.64, comfortably above the 2.00 the margin needs. The store tells another story: the campaign's own orders brought $1,740 net of refunds for $1,000 of spend, a store ROAS of 1.74. The gap is attribution, views counted as sales, refunds Meta never hears about, and orders Meta claims that another channel also claims.
In Adrails both figures sit in the same row of Campaigns, Meta's ROAS and Store ROAS, for the same dates. The agent reads the same two figures when you ask which campaigns lost money last week. In this example the bestseller sold out on Wednesday: the ads kept spending on a product page nobody could buy from.
Pause ads of sold-out products catches that case. It asks to pause each ad whose products are all out of stock, and to resume only those ads when one comes back. A threshold automation on Store ROAS at 2.00, your break-even, posts the campaigns that fall under it every week, and Store ROAS guard asks to cut a campaign's daily budget by 20% when its 7-day Shopify net sales fall below its spend.
- Break-even ROAS = 1 divided by contribution margin: 2.00 at 50%
- Store ROAS = Shopify net sales from the campaign's orders, divided by its spend
- Sold-out ads paused, then resumed when stock is back
05
Send the sales Meta missed
With tracking on your store, Adrails sends signed purchases back to a Meta dataset through the Conversions API, so bidding learns from orders the pixel lost to blockers and consent.
Worked example
One week of a Meta campaign, read against the store
A store selling a $60 product. Each order costs $21 of product and $9 of shipping and payment fees, so $30 is left to pay for the ad: a 50% contribution margin, and a break-even ROAS of 1 divided by 0.50, which is 2.00.
| Figure | Week 1 | Week 2 | Reading |
|---|---|---|---|
| Meta spend | $1,000 | $1,000 | Same budget both weeks |
| Revenue Meta attributes | $2,700 | $2,640 | Meta ROAS 2.70, then 2.64: looks healthy |
| Store orders from the campaign | 40 | 29 | The orders Shopify recorded with the campaign's UTMs |
| Store revenue, net of refunds | $2,400 | $1,740 | Store ROAS 2.40, then 1.74 |
| Break-even ROAS | 2.00 | 2.00 | Week 2 loses money on every order the store saw |
Illustrative figures, not a customer's. Store revenue counts the orders whose UTM parameters name the campaign; Meta's figure follows the ad set's attribution setting.
Read more
- Meta Ads vs Shopify revenueWhy the two numbers differ, and how to reconcile them.
- Pause the ads of out-of-stock productsFind the ads of sold-out products and pause them.
- Break-even ROAS calculatorWork out the ROAS your margin needs, with your own costs.
- Meta Ads MCP serverRead Meta results and prepare campaign work from ChatGPT, Claude or another MCP client.
- Adrails for ShopifyInstall from the App Store: what Adrails reads, shows and automates for a store.
- Meta Ads managementCampaigns, tests and reporting on Meta.
Common questions
Can Adrails change my Shopify store?
No. The Shopify connection asks for read access to orders, customers, products and reports, and to add the Adrails purchase pixel. Adrails never edits a product, an order or the theme.
Why is Meta revenue different from Shopify revenue?
Meta credits a sale to an ad inside its attribution window, at the time of the click or view; Shopify records the paid order and its refunds. Adrails shows both, labelled by source, rather than merging them.
Does it work with several stores or ad accounts?
Yes. Connect several Shopify stores and Meta ad accounts in one workspace. Revenue stays in each store's own currency.
How fast do new orders show up?
Orders arrive in real time through Shopify webhooks and are reconciled every 15 minutes. Products and customers are read every hour.
What ROAS should a Shopify store aim for on Meta?
At least its break-even ROAS: 1 divided by the contribution margin left after product, shipping and payment costs. At a 50% margin that is 2.00. Judge it on Store ROAS, from the orders Shopify recorded, as well as on Meta's own figure.