v1

latestOpenAPI 3.1.02026-08-04282319386.0 KB

Start Trends Analysis

Start CPG trends analysis comparing two selections over time.

post/ad_analytics/cpg_suite/trends-analysis/

Request body

metric'total_sales' | 'transaction_count' | 'customer_count' | 'percent_of_total_sales' required

Primary metrics for trends analysis.

aggregate_by_day_of_weekboolean

Aggregate by day of week instead of time periods

Response

Successful Response

idinteger nullable

ID of this object.

created_atstring date-time nullable

datetime object representing when this object was created.

updated_atstring date-time nullable

datetime object representing when this object was updated.

deleted_atstring date-time nullable

datetime object representing when this object was deleted.

status'RUNNING' | 'COMPLETED' | 'FAILED'
endpointstring

Endpoint spawning async job

errorstring nullable

error message

{"stackTrail":"components:schemas:AsyncJobRecord:properties:response","oasType":"schema","type":"unknown","title":"Response","description":"async response"}