Skip to content
Google Ads

Cloudflare POAS bidding: Google Ads conversion tracking with profit

Send profit from your website's orders to Google Ads as a conversion action and bid on it with a target ROAS (POAS bidding).

Every website purchase goes to Google Ads server-side with its profit (Product Metrics - Profit) and its revenue (Product Metrics - Revenue). The one you make primary is what your target ROAS bids on: POAS and ROAS bidding.

Revenue is the value your purchase page reports.

Prerequisites

  • Workspace admin in Product Metrics, with Pro (Full Signal Tracking). Google Ads needs Merchant Center connected.
  • Your website on Cloudflare Tracking: its domain on Cloudflare DNS with the record proxied (the orange cloud), a workspace admin who signs in to Cloudflare and approves Product Metrics (that is the whole setup), and the website linked to your property. See Any website (Cloudflare).
  • A Google login with access to the Google Ads client account your campaigns run in.

In the app

1. Connect your website and Google Ads

Connect your website with Any website (Cloudflare), then connect the Google Ads client account that runs your campaigns with Google Ads.

You should see: the gateway card says Gateway setup complete; Product Metrics lists your Google Ads account under your store.

2. Create the conversion actions

First choose your consent banner: in Tracking → Configure consent, choose the banner your website shows: OneTrust, Cookiebot, Usercentrics or Osano. The profit conversion needs the visitor’s analytics and ad user data consent. See Consent.

The Conversion actions view in Product Metrics showing 0 of 8 managed and the Create 8 conversion actions button, with the eight actions grouped as Customer types (New customer revenue and profit, Returning customer revenue and profit), Order value (Order revenue, Order profit) and Lifetime value (Revenue LTV, Profit LTV), each Missing with Google goal status Unknown.The Conversion actions view in Product Metrics showing 0 of 8 managed and the Create 8 conversion actions button, with the eight actions grouped as Customer types (New customer revenue and profit, Returning customer revenue and profit), Order value (Order revenue, Order profit) and Lifetime value (Revenue LTV, Profit LTV), each Missing with Google goal status Unknown.
Create 8 conversion actions makes all eight as secondary goals in one click.

Then select Tracking → Create Google Ads conversions → Create 8 conversion actions: Conversion actions. This page uses Product Metrics - Profit and Product Metrics - Revenue.

You should see: every Product Metrics conversion action is created and linked.

3. Activate your additional costs

A website sends no product costs, so profit uses your Product cost fallback (%) of each line’s revenue. Set it to what your products cost you as a share of their price; profit is only as accurate as this number. Shipping, payment fees and the rest come from your additional costs.

Then, under Tracking → Add your additional costs, check the defaults for your country, set Product cost fallback (%) and select Activate additional costs: Costs.

You should see: the Profit tracking section says your additional costs are active.

4. Bid on profit

  1. In Google Ads, make Product Metrics - Profit primary and your old purchase action secondary (how).
  2. Set the campaign to Maximise conversion value with a target ROAS, written as a percentage: 100% is break-even; 150% keeps €0.50 profit per €1 of ad spend.

Moving a campaign from revenue to profit? Lower the target: when to switch to POAS.

You should see: in Google Ads, Goals → Conversions lists Product Metrics - Profit as primary.

5. Check it works

Place a test order, then open Tracking in Product Metrics: Check tracking works.

You should see: the badge next to Tracking reads Tracking active, and the test order arrives with its revenue and profit. Home shows Collecting until it compares the new actions with your current ones, 14 days after the first order.

Set it up with AI

Connect your assistant

First time? Add the Product Metrics MCP server to your assistant, then paste the prompt below.

In Claude, choose Add custom connector; in ChatGPT, Settings → Apps & Connectors. Paste this URL:

https://www.productmetrics.io/mcp

Claude Code: run this in your terminal.

claude mcp add --transport http product-metrics https://www.productmetrics.io/mcp

CodexAll clients and details →

Paste the prompt into your assistant.

Set up POAS bidding (bidding on profit) for my website (tracked with Cloudflare Tracking) in Google Ads with Product Metrics, and help me set the product cost fallback because my website sends no product costs. Check my setup status first, walk me through each open step, and give me the link when I need to click something.
Set up POAS bidding (bidding on profit) for my website (tracked with Cloudflare Tracking) in Google Ads with Product Metrics, and help me set the product cost fallback because my website sends no product costs. Check my setup status first, walk me through each open step, and give me the link when I need to click something.
Set up POAS bidding (bidding on profit) for my website (tracked with Cloudflare Tracking) in Google Ads with Product Metrics, and help me set the product cost fallback because my website sends no product costs. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first), and tell me when a step needs me in a browser.
Set up POAS bidding (bidding on profit) for my website (tracked with Cloudflare Tracking) in Google Ads with Product Metrics, and help me set the product cost fallback because my website sends no product costs. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first), and tell me when a step needs me in a browser.

How it works on a website

On a websiteSent as
RevenueThe order’s revenueProduct Metrics - Revenue
Product costsNone sent: your Product cost fallback (%) of each line’s revenueTaken off profit
Payment feesYour additional costsTaken off profit
Shipping, handling, returnsYour additional costsTaken off profit
ProfitRevenue ex tax − all costs; 0 for a lossProduct Metrics - Profit
Refunds and cancellationsTracked by Product MetricsThe conversion is adjusted after a refund or cancellation

Troubleshooting

ProblemFix
Orders arrive with revenue onlyA cost of the order is still unknown. Complete your costs under Profit tracking → Edit costs: an order is sent with profit only once every cost is known (profit rules).

FAQ

Can I bid on profit when my website has no cost prices?

Yes. A website sends no product costs, so profit uses your Product cost fallback (%) of each line’s revenue, minus your additional costs. Set the fallback to what your products cost you as a share of their price.

Do I need a developer to set up tracking on my website?

No. Cloudflare Tracking is set up by signing in to Cloudflare, with your website’s domain on Cloudflare. For Google Ads, also connect Merchant Center in Product Metrics.

Should I keep my old purchase conversion in Google Ads?

Keep it as secondary. Only one purchase action should be primary, or purchases are counted twice. Product Metrics always sends both revenue and profit; only the primary action steers bidding.

Is an order sold at a loss sent to Google Ads?

Yes, with a profit of 0, because Google Ads accepts no negative value. Its revenue still goes to Product Metrics - Revenue.

Where next

On the website: POAS, target ROAS, POAS calculator

Developers: do the same with the CLI or the API.