cost_of_goods_sold [cost_of_goods_sold] (cogs): Definition
cost_of_goods_sold[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 we understand 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
For format API information, please see 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 items may not be eligible for reporting, which could result in incomplete reporting data.
- Use the currency with ISO 4217 codes e.g. "USD".
- 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||Google Pixel 5-inch 32GB Quite Black|
||Google Pixel 5-inch 32GB Quite Black|
||Electronics > Communications > Telephony > Mobile phones|