Skip to content
Google Ads

Magento POAS bidding: Google Ads conversion tracking with profit

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

Every paid Magento order 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.

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 →

Setting it up with AI takes one prompt and 60 seconds: paste it into your assistant.

Set up POAS bidding (bidding on profit) for my Magento store in Google Ads with Product Metrics. 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 Magento store in Google Ads with Product Metrics. 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 Magento store in Google Ads with Product Metrics. 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 Magento store in Google Ads with Product Metrics. 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.

Prerequisites

  • Workspace admin in Product Metrics, with Pro (Full Signal Tracking). Google Ads needs Merchant Center connected.
  • Your Magento store view connected: Magento 2.4, 2.0 or 1.9 / OpenMage, Magento Admin access, the public HTTPS shop address and the store-view ID, and a developer with access to your server who installs the Product Metrics module (Composer or ZIP), adds the store view’s private configuration file and keeps Magento cron running. The connection reads Active before you link your property. See Magento.
  • A Google login with access to the Google Ads client account your campaigns run in.

In the app

1. Connect your Magento store and Google Ads

Connect your store with Magento, then connect the Google Ads client account that runs your campaigns with Google Ads.

Connect your store, step by step:

Open Ecommerce platforms

Go to Integrations → Ecommerce platforms and select Connect on Magento.

The store platform list in Ecommerce platforms: WooCommerce, Magento, Shopware 6, Lightspeed and Custom Store / Webhook Integration, each with a Connect button, with Magento outlined.

Start the setup

The Magento page lists three steps: connect your store, install the module and link a property. Select Connect Magento.

The Magento page under Integrations → Ecommerce platforms, for Magento 1.9 and 2: 0 of 3 steps done, step 1 Connect your store with the Connect Magento button, then Install the module and Link a property.

Describe your store

Choose your Magento version, enter the Store URL and the numeric Store view ID, then select Create module configuration. Download the configuration file and share it with your developer privately: it holds a private key.

The Connect Magento dialog: Magento version set to Magento 2, a closed Advanced custom checkout mapping section, empty Store URL and Store view ID fields, and the Cancel and Create module configuration buttons.

Install the module

Your developer installs the module. Select Setup guide and choose your Magento version and installation method: it walks your developer through installing the module and verifying the connection.

The Magento setup guide panel, set to Magento 2.4, Composer and Technical: Download Word document, the Magento version tabs 2.4, 2.0 (legacy) and 1.9 / OpenMage, Installation method Composer or ZIP upload, Guide mode Technical or Descriptive, and the first two points of Before you begin.

Then connect Google Ads:

Connect Google

On Connect Google Ads and Merchant Center, select Continue as your Google account and sign in with the account that can see your Google Ads. Tick Google Ads on Google’s screen: Merchant Center connects with the same sign-in.

The Connect step of onboarding, Connect Google Ads and Merchant Center: Google Ads and Merchant Center both Not connected, a Use our manager account link for when you can't sign in with that Google account, and the Continue as sam@northwind-outfitters.example button.
Example data.

Pick the client account

Choose the Google Ads client account that runs your campaigns, not a manager account. The workspace is named after the account you pick.

Already have a workspace? Open Integrations and select Connect Google Ads on the Google Ads row (Add account once one is connected). The same sign-in and account steps follow.

You should see: under Manage Magento, the connection is Active and your property is linked; 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 shop shows: OneTrust, Cookiebot, Usercentrics or Osano. Magento’s own cookie restriction notice does not count as consent; with another banner your developer passes the choices on to Product Metrics. The profit conversion needs the visitor’s analytics and ad user data consent. See Consent.

Open Tracking

Go to Integrations → Tracking. The checklist shows six steps: start by connecting your store, or use Cloudflare Tracking if you have no store platform.

Tracking in Product Metrics with the Complete your tracking setup checklist of six steps, starting with Connect your store.

Follow the next step

Once your store is connected and linked, the checklist opens the next open step. Each step says what it does.

The Complete your tracking setup checklist in Tracking: 3 of 6 essential steps completed, with Connect your store, Link the store to this property and Install storefront tracking ticked, and Configure consent open as step 4 with the consent platform still Not configured.

Configure consent

Under Configure consent, pick the cookie consent platform your storefront uses. The storefront script collects nothing until the visitor agrees.

The Consent management panel in Tracking: the storefront script collects nothing until your cookie banner says the visitor agreed, a Not configured status, and the Consent platform dropdown.

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

Create Google Ads conversions

Under Create Google Ads conversions, select Create 8 conversion actions. Product Metrics manages one Google Ads conversion action per purpose; they start as secondary goals, and you choose the primary goal in Google Ads.

The Conversion actions page in Product Metrics, opened from Tracking: Not configured, 0 of 8 managed and the Create 8 conversion actions button. Below it, Customer types (New customer revenue and profit, Returning customer revenue and profit) and Order value (Order revenue, Order profit), each Missing with Google goal status Unknown, and the Lifetime value group heading.

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

3. Activate your additional costs

Product costs come from the cost stored on each Magento order item, read when the order currency matches your base currency. Everything else comes 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.

Add your additional costs

Product costs come from your store where it reports them. Under Add your additional costs, add shipping, handling, returns and payment fees, set Product cost fallback (%) and select Activate additional costs, so the profit conversions carry real profit.

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.

How it works on Magento

On MagentoSent as
RevenueThe order’s revenueProduct Metrics - Revenue
Product costsThe cost on each Magento order item (order currency = base currency)Taken 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
RefundsYour store reports themProduct Metrics adjusts the conversion

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

What if a Magento product has no cost price?

Product Metrics takes the cost stored on each Magento order item first, then the cost of goods for the same SKU in your linked Merchant Center, then your Product cost fallback (%) of the line’s revenue. With none of these, the order goes to Google Ads with revenue only.

Are Magento costs read for orders in another currency?

No. Product Metrics reads the cost on each Magento order item only when the order currency matches your base currency. For other orders, the next cost source applies, such as your Product cost fallback (%).

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.

What happens in Google Ads when an order is refunded?

When Magento reports the refund, Product Metrics adjusts the order’s conversion in Google Ads.

Where next

On the website: POAS, target ROAS, POAS calculator, Product Metrics for Magento

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