[cost_of_goods_sold]attribute when reporting conversions with basket data to get additional reporting on gross profit. Note: You must report item-level information for each of your conversions in order to use this type of reporting.
When to use
Follow these formatting guidelines to make sure that Google understands the data that you're submitting.
|Type||Number plus currency (use ISO 4217)|
|File Format||Example Entry|
|XML (Feeds)||<g:cost_of_goods_sold>10.01 GBP
To format your data for Content API, have a look at the Content API for Shopping.
Follow these guidelines to make sure that you submit high quality data for your products.
These are the requirements that the value you provide will need to meet. If you don't follow these requirements, your products may not be eligible for reporting, which could result in incomplete reporting data.
- Use the currency with ISO 4217 codes like 'GBP'.
- Use '.' rather than ',' to indicate a decimal point.
Go beyond the basic requirements and optimise your product data for performance with best practices.
- Use the same currency for COGS that you use for the price reported in conversion. This way you will avoid accidental inconsistencies due to currency conversion rates.
Mobile phones or tablets
|Product data for Google Pixel 5" 32 GB Quite Black|
||Google Pixel 5" 32 GB Quite Black|
|Cost of goods sold
|Google product category