TACOS (total ad cost of sales)
get_tacosDefault view=asin: ASIN-level TACOS/PPC share from Business Reports plus aligned SP/SD product data. view=account: account TACOS over all Sponsored Products, Sponsored Brands, and Sponsored Display spend divided by get_sales_summary total sales, limited to dates confirmed for every ad product, Ads profile, and sales, in one currency; DSP spend is listed by advertiser and not in the ratio. In view=asin, ads stop at the latest Business Report date in the requested window. ad_sales is SP same-SKU 14-day attributed sales plus SD promoted-ASIN sales; total_attributed_ad_sales separately retains SP halo plus SD promoted-ASIN sales for compatibility. all_ad_attributed_sales is every sale of the product that Amazon's SP, SB, and SD ad reports credit to it as the purchased product, including SP and SD sales driven by ads for other products. non_ad_attributed_sales is Business Report sales less all_ad_attributed_sales, floored at zero: a residual, not organic demand, because attribution windows, view attribution, double credit between ad products, and DSP are not reconciled (diagnostics.non_ad_attributed_sales_basis). organic_sales is a deprecated alias of non_ad_attributed_sales. sessions counts each product once per day on dates with a Business Report row; days without orders are missing from that report, so it can read low, and get_sales_and_traffic view=child_items counts every day for dates it has imported where enabled. TACOS remains SP+SD spend divided by Business Report sales; ASIN-level ACOS uses product-attributed ad_sales. Sponsored Brands and DSP are excluded, so summed rows are not account TACOS: diagnostics.ad_spend_coverage reports the ad date window, SP+SD spend across all rows and pages, ad-only ASIN spend, and Sponsored Brands spend for the same dates. Use campaign tools for campaign ACOS.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_tacos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asin | No | Filter by child ASIN (exact match) | |
| view | No | asin (default) returns per-ASIN SP+SD rows over Business Report sales. account returns one account row: SP+SB+SD campaign spend for the key's Ads profiles over get_sales_summary total sales, for the dates every component confirms and in one currency, else tacos is null with a reason; DSP spend is listed by advertiser and not in tacos. account rejects asin, parent_asin, group_by=parent_asin, include_zero_sales, and channel_split. | |
| limit | No | Max rows (1-1000, default 20). | |
| offset | No | Pagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue. | |
| sort_by | No | Column to sort by | total_sales |
| end_date | No | Optional. YYYY-MM-DD. Defaults to today if omitted. | |
| group_by | No | Output grain. asin (default) returns one row per child ASIN; parent_asin rolls sales and SP/SD ad spend up across size/color variations to the parent ASIN. | asin |
| sort_order | No | Sort order | desc |
| start_date | No | Optional. YYYY-MM-DD. Defaults to 30 days ago if omitted. | |
| parent_asin | No | Filter to one variation family (exact match on the Business Report parent ASIN). With group_by=asin returns one row per child in the family; with group_by=parent_asin returns that family's single rollup row. | |
| channel_split | No | Add deterministic per-ASIN spend and product-attributed sales columns. sp_ad_sales uses SP same-SKU sales; sd_ad_sales uses SD promoted-ASIN sales; sp_total_attributed_ad_sales retains SP halo sales. sp_other_product_attributed_sales, sb_attributed_sales, and sd_brand_halo_attributed_sales are sales of this product credited to SP ads for other products, Sponsored Brands ads, and SD ads for other products of the brand; they are part of all_ad_attributed_sales. Sponsored Brands and DSP have no per-ASIN spend attribution and are excluded from ad_spend/tacos; use get_sb_campaign_performance for Sponsored Brands spend. | |
| include_raw_rows | No | For tabular results, false returns compact rows capped at MCP_TEXT_ROW_PREVIEW_LIMIT (default 10), regardless of limit. Complete-page and custom non-tabular responses may ignore this option; see tool-specific notes. Default true; large full-row responses are capped separately. Freshness fields require include_diagnostics=true in either row mode, where supported. | |
| include_zero_sales | No | Include ASINs/parents that have SP/SD ad activity but no Business Report sales row in the window. Default false returns only products with Business Report presence. | |
| include_diagnostics | No | True enables expanded freshness diagnostics. Where supported, snapshot_capture_at and snapshot_data_through_date are populated only when include_diagnostics=true, in both compact and full-row modes; values may still be null if source data is unavailable. Default false. Basic empty-result data-window diagnostics are included by default when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |