GA4 and Google Ads
Make the profit parameters visible in Google Analytics 4 and bid on them in Google Ads.
The parameters now reach your tags. Two more steps to make them usable.
Google Analytics 4
GA4 drops parameters it does not know, so register them before you go looking for them in a report.
Go to Admin → Custom Definitions and add a Custom Metric for each parameter you send. Metric name and parameter name are the same.
profit_value
Currency
gross_profit
Currency
cost_of_goods
Currency
shipping_cost
Currency
payment_cost
Currency

Pick the right Unit of measurement and Data Type so GA4 can tell cost data and revenue data apart.

Custom metrics only fill from the moment you create them. Yesterday's purchases stay empty, so give it a day before you judge the numbers.
Google Ads
This is where Profit on Ad Spend earns its name: you let Google bid on profit instead of revenue.
Create a new conversion action in Google Ads, then a conversion tag that sends your profit variable as the conversion value instead of the order value.

Use profit_value when you want the bid to account for shipping and payment cost, gross_profit when you only want product margin.
Was this helpful?

