날짜 누락
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
애드센스 관리 API에서 일일 보고서를 실행하는 경우 반환되는 데이터에 관계없이 매일 하나의 행을 얻을 수 있을 것입니다. 그러나 경우에 따라 단순히 요청된 유형의 로깅된 이벤트가 없기 때문에 특정 날짜에 데이터가 반환되지 않을 수 있습니다.
측정기준: DATE
측정항목: CLICKS
, EARNINGS
대답:
{
"totalMatchedRows": "4",
"headers": [
{ "name": "DATE", "type": "DIMENSION" },
{ "name": "CLICKS", "type": "METRIC_TALLY" },
{ "name": "EARNINGS", "type": "METRIC_CURRENCY", "currency": "USD" }
],
"rows": [
{ "cells":
[ {"value": "2014-01-08"}, {"value": "3"}, {"value": "0.41"} ],
[ {"value": "2014-01-09"}, {"value": "5"}, {"value": "0.49"} ],
[ {"value": "2014-01-12"}, {"value": "2"}, {"value": "0.19"} ],
[ {"value": "2014-01-13"}, {"value": "1"}, {"value": "0.03"} ]
}
],
"totals": {
"cells": [
{}, {"value": "13"}, {"value": "1.12"}
]
},
"averages": {
"cells": [
{}, {"value": "2"}, {"value": "0.28"}
]
},
"startDate": {"year": 2014, "month": 1, "day": 8},
"endDate": {"year": 2021, "month": 1, "day": 13}
}
보시다시피 2014-01-10 또는 2014-01-11에는 클릭 또는 수입 이벤트가 없으므로 행이 반환되지 않습니다.
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eDaily AdSense reports may not contain a row for every date if there were no clicks or earnings on that specific day.\u003c/p\u003e\n"],["\u003cp\u003eThe example response demonstrates missing rows for dates (2014-01-10 and 2014-01-11) with no click or earning events.\u003c/p\u003e\n"],["\u003cp\u003eIf you specify a date range in your report, be aware you may get an incomplete set of dates back depending on activity.\u003c/p\u003e\n"],["\u003cp\u003eThe report includes totals and averages for clicks and earnings over the specified date range.\u003c/p\u003e\n"]]],["The AdSense Management API daily report may not return data for every day in a specified range. The `DATE` dimension, along with `CLICKS` and `EARNINGS` metrics, can result in missing rows. If no events of the requested type occur on a given day, no data is logged. For example, the provided data from January 8th to 13th, 2014, has no entries for January 10th and 11th because there were no clicks or earnings on those days. The total matched rows indicate 4 days of activity.\n"],null,["# Missing Dates\n\nWhen running a daily report in the AdSense Management API, you may expect to get a row for each day, regardless of what data is being returned. However, in some cases you may get no data back for a given day, simply because there were no logged events of the requested types.\n\nDimension: `DATE` \n\nMetric: `CLICKS`, `EARNINGS` \n\nResponse: \n\n```carbon\n{\n \"totalMatchedRows\": \"4\",\n \"headers\": [\n { \"name\": \"DATE\", \"type\": \"DIMENSION\" },\n { \"name\": \"CLICKS\", \"type\": \"METRIC_TALLY\" },\n { \"name\": \"EARNINGS\", \"type\": \"METRIC_CURRENCY\", \"currency\": \"USD\" }\n ],\n \"rows\": [\n { \"cells\":\n [ {\"value\": \"2014-01-08\"}, {\"value\": \"3\"}, {\"value\": \"0.41\"} ],\n [ {\"value\": \"2014-01-09\"}, {\"value\": \"5\"}, {\"value\": \"0.49\"} ],\n [ {\"value\": \"2014-01-12\"}, {\"value\": \"2\"}, {\"value\": \"0.19\"} ],\n [ {\"value\": \"2014-01-13\"}, {\"value\": \"1\"}, {\"value\": \"0.03\"} ]\n }\n ],\n \"totals\": {\n \"cells\": [\n {}, {\"value\": \"13\"}, {\"value\": \"1.12\"}\n ]\n },\n \"averages\": {\n \"cells\": [\n {}, {\"value\": \"2\"}, {\"value\": \"0.28\"}\n ]\n },\n \"startDate\": {\"year\": 2014, \"month\": 1, \"day\": 8},\n \"endDate\": {\"year\": 2021, \"month\": 1, \"day\": 13}\n}\n```\n\nAs you can see, there are no rows being returned for 2014-01-10 or 2014-01-11, since there were no click or earnings events.\n\nNext steps\n----------\n\n- [Specifying a Date Range](/adsense/management/reporting/date_ranges)\n- [Running Large Reports](/adsense/management/reporting/large_reports)"]]