기간 지정
상대적 기간
보고서 쿼리에는 포함할 날짜를 지정하기 위한 date_range
필드가 있습니다.
데이터가 표시됩니다. date_range
에 다음 값을 지정할 수 있습니다.
TODAY
YESTERDAY
MONTH_TO_DATE
YEAR_TO_DATE
LAST_7_DAYS
LAST_30_DAYS
CUSTOM
지정하지 않을 경우 기본 기간은 CUSTOM
로 설정됩니다.
맞춤 기간
date_range
가 CUSTOM
로 설정되어 있거나
지정되지 않은 경우 start_date
및 end_date
를
보고서 범위의 시작일과 종료일 (해당 날짜 포함)입니다.
API 요청의 쿼리 매개변수에서 시작일 매개변수는 다음과 같습니다.
startDate.year=2021&startDate.month=3&startDate.day=1
마찬가지로 종료일 매개변수는 다음과 같습니다.
endDate.year=2021&endDate.month=3&endDate.day=3
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(UTC)
[null,null,["최종 업데이트: 2024-08-29(UTC)"],[[["AdSense report queries use a `date_range` field to specify the timeframe for included data, accepting values such as `TODAY`, `YESTERDAY`, or various relative ranges."],["For custom date ranges, set `date_range` to `CUSTOM` and specify the inclusive start and end dates using `start_date` and `end_date` parameters."],["Custom start and end dates are defined by separate parameters for year, month, and day, formatted like `startDate.year=2021&startDate.month=3&startDate.day=1`."]]],["Report queries utilize a `date_range` field to define data inclusion periods. Available options are `TODAY`, `YESTERDAY`, `MONTH_TO_DATE`, `YEAR_TO_DATE`, `LAST_7_DAYS`, `LAST_30_DAYS`, and `CUSTOM`. The default is `CUSTOM`. When `CUSTOM` is used, `start_date` and `end_date` parameters are mandatory, set via `startDate.year`, `startDate.month`, `startDate.day` and `endDate.year`, `endDate.month`, `endDate.day` in the API request query.\n"]]