Skip to main content

Get Entity Timeseries

GET 

/api/clicktracking/ad-reporting/timeseries

Get the daily metric time-series for an ad entity.

Args: entity_type: One of account|campaign|adset|ad entity_id: The entity's row id from_date: Optional range start (defaults to 30 days ago) to_date: Optional range end (defaults to today) ad_reporting_service: Injected ad reporting service

Returns: Daily metric points ascending by date

Raises: HTTPException: 400 on invalid entity_type/date, 500 on failure

Request

Responses

Successful Response