v1

latestOpenAPI 3.0.02026-07-2496664456.3 KB
Log

List up logs.

List up logs in the given Workplace.

get/cm/v1/logs

Query parameters

ad_account_idstring required

ID of the AdAccount to list up logs.

date_range.startstring required

Start date in the format of YYYY-MM-DD (inclusive).

date_range.endstring required

End date in the format of YYYY-MM-DD (inclusive). Max 31 days from the start date.

Response

Successfully listed up the logs.

Example response

{
  "logs": [
    {
      "id": "sampleLogId",
      "ad_account_id": "sampleAdAccountId",
      "type": "IMP",
      "format": "CSV",
      "date": "2020-01-01",
      "status": "ACCEPTED",
      "created_at": "2020-01-01T03:12:50.124101982Z",
      "updated_at": "2020-01-01T03:24:21.109821241Z"
    },
    {
      "id": "anotherLogId",
      "ad_account_id": "sampleAdAccountId",
      "type": "CLICK",
      "format": "CSV",
      "date": "2020-01-01",
      "status": "READY",
      "expire_at": "2020-01-01T06:24:21.109821241Z",
      "created_at": "2020-01-01T05:12:50.124101982Z",
      "updated_at": "2020-01-01T05:24:21.109821241Z"
    }
  ]
}