Total Sales Report
The Total Sales report provides total sales performance by product and category.
¶ Report Details
Report Type ID: GR_TOTAL_SALES
Use Cases:
- Product sales performance analysis
- Category performance insights
- Inventory and demand planning
Dimensions:
gtin: Global Trade Item Numberproduct_name: Product namesales_channel: Distribution channell1_category_name,l2_category_name,l3_category_name,l4_category_name: Product category hierarchybrand: Brand nameproduct_unit: Product unit measurement
Supported Time Units: DAILY, WEEKLY, MONTHLY, SUMMARY
¶ Available Metrics
unitstotal_orderstotal_sales_usdtotal_sales_local
¶ Time Range Configuration
When configuring time ranges, follow these guidelines for proper aggregation:
Daily and Summary Reports
- Start Date: Any valid date
- End Date: Any valid date after start date
- Example:
"start_time": "2025-07-15T00:00:00Z", "end_time": "2025-07-20T00:00:00Z"
Weekly Reports
- Start Date: Must be a Monday
- End Date: Must be the next Monday
- Example:
"start_time": "2025-07-21T00:00:00Z", "end_time": "2025-07-28T00:00:00Z"
Monthly Reports
- Start Date: Must be the first day of a month
- End Date: Must be the first day of the next month
- Example:
"start_time": "2025-07-01T00:00:00Z", "end_time": "2025-08-01T00:00:00Z"
¶ Filter Operators
Supported operators: EQUAL, NOT_EQUAL, IN
¶ Example Request
curl -X POST "https://api.uber.com/v1/ads/{account_id}/reporting/report" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "Accept: application/json" \
-d '{
"report_type": "GR_TOTAL_SALES",
"time_range": {
"start_time": "2025-07-01T00:00:00Z",
"end_time": "2025-08-01T00:00:00Z"
},
"columns": [
"gtin",
"product_name",
"sales_channel",
"l1_category_name",
"l2_category_name",
"brand",
"units",
"total_orders",
"total_sales_usd"
],
"time_unit": "MONTHLY",
"file_format": "CSV",
"filters": [
{
"column": "brand",
"operator": "EQUAL",
"values": ["Fresh Valley"]
}
]
}'
¶ Example Response
{
"report_id": "8a2e38b2-59fb-5242-a0ec-e913a42150b5"
}
¶ Related Reports
- Category Share by Brand - Brand market share analysis
- Category Share by Brand Owner - Brand owner market share analysis