Ads API •References / measurement-datasets / Get diagnostics for a dataset.
Get diagnostics for a dataset.
Get diagnostics for a dataset.
Request
- business_idstring [uuid]Required
A unique identifier for the entity.
Example:ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a
- dataset_idstring [uuid]Required
A unique identifier for the dataset.
Example:0d86b9e9-70f0-4700-a725-3417ba8786f6
- granularitiesarray of stringsRequired
A list of diagnostic granularities to retrieve for a dataset.
What granularity of diagnostic data is present.
Allowed values:"DAILY"
,"HOURLY"
- datasource_idsarray of strings
A list of datasources you want to filter by.
A unique identifier for a datasource
Example:datasource_ids=ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a
Response
Diagnostics response.
- dataset_idstring [uuid]
A unique identifier for the dataset.
Example:"0d86b9e9-70f0-4700-a725-3417ba8786f6"
- datasource_typestring
Type of datasource that diagnostic data is using.
Allowed values:"PIXEL"
,"CAPI"
- datasource_idstring
A unique identifier for a datasource
Example:"ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
- granularitystring
What granularity of diagnostic data is present.
Allowed values:"DAILY"
,"HOURLY"
Response sample
{ "dataset_id": "0d86b9e9-70f0-4700-a725-3417ba8786f6", "datasources": [ { "datasource_type": "PIXEL", "datasource_id": "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a", "granularity": "DAILY", "timeseries": [ { "total": 0, "timestamp": 0, "event_counts": [ { "name": "string", "event_count": 0, "last_activity_ms": 0 } ] } ] } ]}