Google product split
get_google_product_splitGoogle Shopping and Performance Max spend per Shopify product over the last 90 days, each product judged against its OWN break-even ROAS (from its real margin): which products earn money (move to a scaling campaign), break even (keep standard) or lose money (fix or pause), with spend, Google-reported conversion value and ROAS per product, plus the spend that cannot be split by product. Use for any question about which products to push or cut on Google, Shopping or Performance Max ROAS by product, or product-level ad profitability on Google. Search campaigns are not included. labelExport says whether these verdicts are already published as custom labels for the brand's feed tool (Channable, Merchant Center). Optional from and to (inclusive YYYY-MM-DD, both or neither) read another span instead of the last 90 days. Optional filters narrow it — category, collectionId, label (exact values from a first call's facets), inStockOnly, newOnly, bucket, search — and sort/dir reorder it: "my best products losing money on Google in category X" is bucket [loses], category [X], sort contributionMargin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of the span, inclusive, as YYYY-MM-DD; not after today. Send together with `from`, or omit both to read the default 30-day period. | |
| dir | No | ||
| from | No | First day of the span, inclusive, as YYYY-MM-DD. Send together with `to`, or omit both to read the default 30-day period. | |
| sort | No | ||
| label | No | ||
| bucket | No | ||
| search | No | ||
| newOnly | No | ||
| category | No | ||
| inStockOnly | No | ||
| collectionId | No |