---
title: "Google Ads CRM Integration for Ecommerce With Order Costs and Refunds"
description: "Connect CRM, inventory and payment data to Google Shopping reporting. Match records by order ID, check refunds and send the intended conversion value."
canonical: "https://www.productmetrics.io/blog/roas-crm-inventory-payments"
pageType: article
language: en
publisher: "Product Metrics"
author: "Berend Vrakking"
datePublished: 2026-11-30
dateModified: 2026-12-01
image: "https://www.productmetrics.io/og/blog/roas-crm-inventory-payments.png"
---

> Content index: https://www.productmetrics.io/llms.txt

# Google Shopping ROAS from CRM, inventory and payments

## Key takeaways

- Back-office and payment integrations make Ads values match store reality, so ROAS and POAS decisions are sound.
- Use transaction_id for deduping and refund adjustments, and keep currencies and taxes consistent with the store.
- Payment fees and returns matter for POAS, so include them in your value logic.

Back-office and payments integrations connect your CRM cohorts, inventory signals and payment outcomes to Google Ads so you can bid and budget on real profit, not guesses. Ecommerce marketers use them to [improve ROAS and POAS](https://www.productmetrics.io/blog/poas-vs-roas), cut wasted spend, and segment products with confidence across [Performance Max](https://www.productmetrics.io/glossary/performance-max "Performance Max is a goal-based Google Ads campaign type that uses automation to reach customers across Google advertising channels.") and Shopping.

**Set up POAS tracking.** Today: Your campaigns chase revenue. With Product Metrics: Bid on POAS and increase your profitability. Connect the Product Metrics MCP server (https://www.productmetrics.io/mcp) to Claude, ChatGPT, Cursor or VS Code, or run `claude mcp add --transport http product-metrics https://www.productmetrics.io/mcp` in Claude Code ([how the connection works](https://www.productmetrics.io/docs/mcp/connect)). Then ask it: "Set up POAS bidding in Google Ads with Product Metrics, so my campaigns bid on profit. Check my setup status first, walk me through each open step, and give me the link when I need to click something." About 60 seconds in Claude, ChatGPT or Cursor.

## What is it and who uses it?

Back-office and payments integrations are the data connections between your ecommerce stack - CRM, inventory, order management and payment gateways - and your advertising platforms. Paid media managers at [Shopify, WooCommerce, Magento and other stores](https://www.productmetrics.io/platforms) use them to measure [conversion value](https://www.productmetrics.io/glossary/conversion-value "Conversion value is the amount you tell Google Ads a conversion is worth, such as sales revenue or profit margin.") accurately, upload refunds, and steer bids with product-level signals.

![Three back-office sources for Google Ads conversion values: CRM with new versus returning and LTV band, inventory with stock and days of cover, and payments with fees, refunds and partial returns](https://www.productmetrics.io/images/blog/roas-crm-inventory-payments/rci-back-office-sources.webp)

_None of the three sources reaches Google Ads by itself; the transaction ID and the feed's SKU are what tie them to an ad click and a product._

## What are the key facts I should know?

- You can include [up to five custom labels](https://support.google.com/merchants/answer/6324473) in your Merchant Center feed to segment products by profitability, stock cover or price band. Google requires [accurate availability values](https://support.google.com/merchants/answer/6324448), and preorder or backorder items need an availability date.
- Google Ads supports conversion adjustments matched by [transaction ID](https://www.productmetrics.io/glossary/transaction-id "A transaction ID in Google Ads is the unique order number sent with a purchase conversion, so Google Ads counts a repeated order only once."), so refunds and partial returns can restate the original order value instead of inflating [ROAS](https://www.productmetrics.io/glossary/roas "Return on ad spend (ROAS) is the revenue your ads generate for every euro you spend on them.").
- Since 15 June 2026, [new adopters of offline click-conversion imports, including enhanced conversions for leads, use the Data Manager API](https://developers.google.com/ads/blog/posts/2026/05/changes-to-offline-click-conversion). Qualifying developers with prior use are allowlisted by developer token for the legacy Google Ads API route. A refund on a recorded website purchase is an adjustment to the original action and order ID.
- [Include payment processing fees in POAS](https://www.productmetrics.io/poas-calculator).
- Deduplicate with a transaction ID that matches your checkout order ID, and keep currency codes, tax and shipping consistent with your store to avoid value mismatches.

## Why does this matter for ROAS and POAS?

If you optimize on raw revenue without refunds, payment fees or returns, bids shift toward products that look good in Ads but lose money in your store. For example, if [returns](https://www.productmetrics.io/blog/ecommerce-return-rate) reduce recorded sales from $10,000 to $8,800 on $2,000 of ad spend, revenue ROAS falls from 5 to 4.4. Payment fees affect POAS even when revenue stays the same.

## How do these integrations work, step by step?

1. Define the value you want to optimize. Decide whether you’ll [bid to ROAS (revenue) or POAS (profit)](https://www.productmetrics.io/blog/poas-conversion-value-bidding) and what costs to subtract: product cost, shipping, payment fees and return losses.
2. Map identifiers. Use a stable transaction_id equal to your ecommerce order ID, plus item-level SKUs or offer IDs that match your feed.
3. Send conversions in real time. Fire your website purchase conversion with the transaction_id, currency and value defined for that action, either sales revenue or contribution profit before advertising. Use one primary purchase action per bidding goal. Keep any comparison action secondary and outside custom goals used for bidding.
4. Restate outcomes after the sale. Retract fully refunded orders or restate the remaining value after a partial return. Use the same transaction ID and conversion action. [Google recommends waiting at least 24 hours after the original conversion](https://support.google.com/google-ads/answer/7686280) to avoid errors. Adjustments after day 7 are ignored by Smart Bidding, and the overall adjustment window closes at day 54.
5. Enrich with cohorts and inventory. Use CRM history to determine [new or returning status and lifetime value](https://www.productmetrics.io/blog/performance-max-new-customers). Pass customer signals where supported and use eligible customer lists with lifecycle goals. Use stock on hand and days of cover to label products in Merchant Center.
6. Segment and bid. Use [custom labels](https://www.productmetrics.io/glossary/custom-labels "Custom labels are five attributes in a product feed, custom_label_0 to custom_label_4, that you fill with your own text to group products in campaigns.") to filter products into listing groups. Use separate campaigns for product groups that need their own budgets or target ROAS.

> **Google's guide:** Google's page [About conversion adjustments](https://support.google.com/google-ads/answer/7686447) explains retracting a conversion for a returned order and restating its value after a partial return. Product Metrics' Full Signal Tracking sends these adjustments for refunded and cancelled orders to Google Ads, and sends profit, new or returning status and LTV to Google Ads, Meta and ChatGPT Ads.

### Simple example

- Order at checkout: transaction_id 100045, value $125.00, cost $60.00, fees $4.13, net profit before ads $60.87.
- Upload to Ads at purchase: conversion value $125.00 for ROAS, or $60.87 for [POAS](https://www.productmetrics.io/glossary/poas "POAS (profit on ad spend) means contribution profit before advertising divided by ad spend: the profit each euro of ads leaves.") if you model profit server-side.
- For example, the customer returns the $50.00 item. Its $30.00 cost goes back into sellable stock. Assume the original $4.13 processing fee is retained and there are no extra return costs.

| Value basis | At purchase | After the partial return |
| --- | --- | --- |
| Revenue for ROAS | $125.00 | $125.00 − $50.00 = $75.00 |
| Contribution profit for POAS | $125.00 − $60.00 − $4.13 = $60.87 | $75.00 − $30.00 − $4.13 = $40.87 |

For order 100045, restate the revenue action to $75.00 or the profit action to $40.87, depending on the value that action originally recorded.

**Figure: Conversion value for one order: revenue and contribution profit before and after a return.** Returning the $50.00 item recovers $30.00 in stock cost. Revenue falls by $50.00 and contribution profit by $20.00.

![Bar chart of conversion values for order 100045: $125.00 revenue at purchase, $60.87 profit for POAS and $75.00 revenue and $40.87 contribution profit after a partial return. Illustrative data.](https://www.productmetrics.io/images/blog/roas-crm-inventory-payments/order-100045-conversion-value.webp)

| Value sent to Google Ads | Conversion value |
| --- | --- |
| Revenue at purchase (ROAS) | $125.00 |
| Profit at purchase (POAS) | $60.87 |
| Revenue after return | $75.00 |
| Profit after return | $40.87 |

_Source: Worked example in this article (illustrative data)_

> **Google's guide:** Once inventory labels are live, Google's [guide to monitoring Shopping campaigns](https://support.google.com/google-ads/answer/3455573) shows where to read the results per product: the Products and Dimensions pages. Product Metrics puts stock and returns next to profit for every product in its profitability dashboard.

## What integration options do I have?

| Option | What it connects | Primary use | Setup effort | Data latency | Typical pitfalls |
| --- | --- | --- | --- | --- | --- |
| Native Google connectors (Merchant Center + Data Manager) | Feed, conversions, offline adjustments | Product segmentation, refunds, value uploads | Low to medium | Near real time for web, hours for uploads | Missing transaction_id, currency mismatches |
| Ecommerce app connectors (e.g., platform apps/plugins) | Store to Ads/Merchant Center | Quick start for orders, refunds and audiences | Low | Near real time | Limited field mapping, refund edge cases |
| Middleware/iPaaS | CRM, OMS, WMS, gateways to Ads | Custom joins, custom logic and retries | Medium | Minutes to hours | Rate limits, retry logic on failures |
| Direct API + warehouse | All systems to Ads via jobs | Full control of profit and cohort logic | High | Scheduled | Engineering overhead, governance gaps |

> **Related:** The [COGS and margin integration guide](https://www.productmetrics.io/blog/cogs-margin-google-shopping) goes deeper on product costs, and [the plug-and-play blueprint for Google Shopping ROAS tools](https://www.productmetrics.io/blog/plug-and-play-google-shopping-roas-tools#what-types-of-tools-should-i-compare) compares the feed and tracking tools around these connectors.

> **Check your order values against your store.** See how Full Signal Tracking handles purchases and refunds. Sends revenue, profit and new customers to Google Ads, Meta and ChatGPT Ads. [Book a demo](https://www.productmetrics.io/demo)

## How should I label products for bidding and budgets?

[Use explicit product label rules you can audit later](https://www.productmetrics.io/blog/custom-labels-automation-playbook). These example thresholds show one way to combine stock and profitability. To change how campaigns bid for new or returning customers, use [Google Ads customer lifecycle goals](https://support.google.com/google-ads/answer/12080169) with appropriate Customer Match lists or order-level customer status signals.

For example, reserve one slot per signal. Give each slot exactly one value and use `unknown` when an input is missing.

- Custom label 0 (profit): `profit_high` for POAS ≥ 2.5, `profit_mid` for POAS ≥ 1.2 and below 2.5, or `profit_low` for POAS below 1.2.
- Custom label 1 (stock): `low_stock` below 14 days of cover or `healthy_stock` at 14 days or more.
- Custom label 2 (price): `price_low` below $50, `price_mid` from $50 up to $150, or `price_high` from $150.
- Custom label 3 (returns): `return_risk` at 12% or more, or `return_normal` below 12%.

A product with POAS 2.7, eight days of stock and a 14% return rate can carry `profit_high`, `low_stock` and `return_risk` together. Apply the stock and return filters when deciding which campaigns can use it.

> **Related:** [Profit segmentation in Shopping and Performance Max](https://www.productmetrics.io/blog/implement-profit-segmentation-shopping-pmax) shows how to use product labels in campaigns. [Product Segmentation](https://www.productmetrics.io/product-segmentation) sets the segments with machine learning on profitability, stock, return rate, potential and competitor prices instead of fixed thresholds.

## What does a good data contract look like?

Keep one event contract across systems so Ads values match store records.

### Example purchase event (server-side)

```json
{
  "transaction_id": "100045",
  "currency": "USD",
  "order_value": 125.00,
  "profit_value": 60.87,
  "tax": 0.00,
  "shipping": 0.00,
  "payment_fee": 4.13,
  "items": [
    {"sku": "SKU-RED-8", "qty": 1, "price": 75.00, "cost": 30.00},
    {"sku": "SKU-BLK-9", "qty": 1, "price": 50.00, "cost": 30.00}
  ],
  "crm": {"customer_type": "new", "ltv_band": "0-100"},
  "inventory": {"sku":"SKU-RED-8", "stock_on_hand": 25, "days_of_cover": 18}
}
```

### Example refund adjustment for the revenue action

This internal example uses the revenue action. A profit action would receive the same transaction ID with a restated value of $40.87. Include the relevant action when sending the adjustment to Google Ads.

```json
{
  "transaction_id": "100045",
  "adjustment_type": "RESTATE",
  "restated_value": 75.00,
  "currency": "USD",
  "reason": "partial_return"
}
```

### Governance patterns that keep numbers trustworthy

- Normalization rules: trim and lowercase emails before hashing, standardize currency to ISO 4217, ensure tax and shipping inclusion is consistent.
- Deduping: one conversion per transaction_id per action, adjustments reference the same transaction_id.
- Timeliness: send purchase within minutes, refund adjustments promptly once the original purchase is available in Google Ads.
- Access control: limit PII to hashing boundaries, log who changed value mappings, and version your label rules.

### What should a Google Ads CRM integration send for ecommerce?

Start with a confirmed order and choose one ID to match the shop, CRM and payment records. Use the payment record to verify refunds and fees, and the CRM for customer history when you can use it with consent. Keep inventory and availability in the product feed. Test whether the resulting Google Ads value matches the calculation finance expects.

## What does it cost and what do I need? (United States, checked November 30, 2026)

- Google Ads and Merchant Center software cost: $0. You only pay for media.
- Payment processing that affects POAS:
   - Stripe online card payments: typically 2.9% + $0.30 per successful charge.
   - PayPal Checkout: typically 3.49% + $0.49 per domestic transaction.
- Requirements to meet before you wire anything up:
   - A transaction_id equal to your store’s order ID on both the website tag and in any uploads.
   - A product feed with accurate availability, and an availability_date for preorder or backorder items.
   - A path to send conversion adjustments for refunds using your order ID.

## How do I get started?

1. Choose your value. Decide ROAS vs POAS and what costs to subtract in profit_value.
2. Stabilize identifiers. Confirm your ecommerce order ID is present in the on-site purchase tag as transaction_id.
3. Wire [refunds](https://www.productmetrics.io/blog/google-ads-refund-conversion-adjustments). Stand up a job that listens for returns and uploads conversion adjustments matched by transaction_id with the new value that should remain in Ads.
4. Add cohorts. Derive customer status and value from CRM order history. Use the relevant purchase signals or Customer Match audiences for your lifecycle goal.
5. Add [inventory signals](https://www.productmetrics.io/inventory-insights). Compute days_of_cover per SKU and apply custom labels based on thresholds above.
6. Review labels in Merchant Center. Check that custom label counts look right and sample SKUs fall into the intended buckets.
7. Roll out in phases. Start with one category. Match store orders and refunds to your outbound delivery and adjustment logs by order ID. Check Google Ads reporting in aggregate for the same conversion action, attributed cohort, date basis, time zone and lookback window before expanding.

> **Google's guide:** For the cohort step, Google's [customer lifecycle goals](https://support.google.com/google-ads/answer/12080169) explain how Performance Max, Search and Shopping bid for new customers. In a test order, verify that the purchase action receives the expected new or returning status.

Use the [quickstart](https://www.productmetrics.io/docs/quickstart) to map your store data.

> **Grow revenue and profit from every order and every product.** Product Metrics is a profit optimisation platform for ecommerce advertising: one app for server-side tracking, profit bidding, product segmentation and campaign planning across Google Ads, Meta and ChatGPT Ads. It sends each order’s profit, new or returning status and lifetime value to the ad platforms, so merchants can bid on POAS, new customers and LTV. Machine learning segments every product into custom labels for Shopping and Performance Max, and the campaign plan sets out the ideal campaign structure for those segments. A dashboard shows profit, customers, stock and returns. [Compare the free analysis and Pro](https://www.productmetrics.io/pricing#included)

## What are the common mistakes and how do I avoid them?

- No transaction_id in the website tag. Fix by passing your order ID as the transaction_id field on every purchase.
- Uploading refunds as positive values. Use conversion adjustments with a restated value for the original transaction_id.
- Label drift. If label logic changes, annotate the date and version so performance shifts make sense later.
- [Preorder or backorder missing availability_date](https://www.productmetrics.io/blog/google-merchant-center-errors). Pair those statuses with a valid date or the items risk disapproval in Merchant Center.
- Mixed currencies. Normalize all uploads to the checkout currency for that order.

## Key takeaways

- Segment products with custom labels tied to profit and stock cover, then configure budgets and targets at campaign level.
- Roll out in one category first, reconcile delivery by order ID and Google Ads reporting by attributed cohort, then expand to more products.

## Sources

- [Product data specification - Google Merchant Center Help](https://support.google.com/merchants/answer/7052112)
- [About conversion adjustments - Google Ads Help](https://support.google.com/google-ads/answer/7686447)
- [Changes to offline click conversion import support](https://developers.google.com/ads/blog/posts/2026/05/changes-to-offline-click-conversion)
- [Stripe pricing](https://stripe.com/pricing)
- [PayPal business fees](https://www.paypal.com/us/business/paypal-business-fees)

## Frequently asked questions

### What’s the fastest way to reflect a refund in Google Ads?

Upload a conversion adjustment for the original transaction_id with a retraction for a full refund or a restated value for a partial refund.

### Do I need to pass every cost to Ads to do POAS?

No. You can compute profit_value server-side and send only the final number in your conversion tag or upload.

### Can I optimize inventory risk?

Yes. Use labels based on days_of_cover and stock_on_hand to prioritize products you can actually fulfill.

### What happens if a customer returns an order after 60 days?

Record the refund in your store and profitability reports. At 60 days after the conversion was first recorded, it is outside Google Ads’ 54-day conversion-adjustment window.

### Do I need consent mode and enhanced conversions?

They help fill measurement gaps and improve matching, but the biggest wins here come from consistent transaction IDs, refund adjustments and clear labels.

## Keep reading.

- [Best tools to improve ROAS, matched to why it dropped](https://www.productmetrics.io/blog/best-tools-to-improve-roas)
- [POAS tracking for agencies with multiple clients](https://www.productmetrics.io/blog/poas-tracking-agencies)
- [How to Set Up Shopify POAS Tracking in Google Ads](https://www.productmetrics.io/blog/shopify-poas-tracking)

---

Written by Berend Vrakking, founder of Product Metrics. Last updated 2026-12-01.

1M+ products analysed · Nominated at the Dutch Search Awards for Best Measurement Campaign (2023) and Best Use of Data (2024)

HTML version: https://www.productmetrics.io/blog/roas-crm-inventory-payments
