세분화된 보고서
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Search Ads 360 API는 사용자가 더 세부적으로 세분화하여 요청하지 않는 한 집계된 데이터만 반환합니다.
데이터를 수집하는 데 사용됩니다 예를 들어 키워드의 클릭수 열은
보고서에는 지정한 기간 동안 키워드에 발생한 총 클릭수가 표시됩니다.
keywordText |
keywordLandingPage |
클릭수 |
위젯 |
http://www.example.com |
6000 |
그러나 분기별로 분류된 키워드 보고서를 요청할 경우에는 각 키워드에 대해
각 분기에 대한 한 행을 볼 수 있으며, 클릭수 열에는 분기별 총계가 나열됩니다.
keywordText |
keywordLandingPage |
quarterStart |
quarterEnd |
클릭수 |
위젯 |
http://www.example.com |
2012-01-01 |
2012-03-31 |
1000 |
위젯 |
http://www.example.com |
2012-04-01 |
2012-06-30 |
1000 |
위젯 |
http://www.example.com |
2012-07-01 |
2012-09-30 |
1000 |
위젯 |
http://www.example.com |
2012-10-01 |
2012-12-31 |
3000 |
분류된 보고서에서는 세그먼트에 대한 데이터가 있는 경우에만 행이 반환됩니다.
예를 들어 floodlightActivity
열이 있는 키워드 보고서에서는 키워드와
기여한 측정항목이 없으면 플러드라이트 활동 쌍이 보고서에 표시되지 않습니다.
확인할 수 있습니다
일부 분류 기준이 특정 항목과 호환되지 않습니다.
일부 분류 기준의 경우 특정 열에서 잘못된 데이터를 반환할 수 있습니다. 예를 들어
floodlightActivity
은(는) 플러드라이트를 보고하는 열이 포함된 경우에만 의미가 있습니다.
데이터(예: dfaActions
, dfaRevenue
, dfaTransactions
)
및 dfaWeightedActions
다른 유형의 전환 열 (예:
adWordsConversions
) 또는 엔진 측정항목을 보고하는 열 (예: 클릭수 및
노출)가 포함된 경우 플러드라이트에서 보고된 데이터가 포함되지 않으므로
floodlightActivity
별로 보고서를 분류합니다.
분류된 보고서를 요청하는 방법
분류된 보고서를 요청하려면 보고서 유형 참조에서 segment
항목이 동작으로 표시된 항목을 포함하세요.
다음은 분기별로 분류된 키워드 보고서에 대한 비동기식 요청입니다. 이
클릭수 열에는 해당 분기의 총 클릭수가 포함됩니다.
{
"reportScope": {
"agencyId": "20700000000000123", // Replace with your IDs
"advertiserId": "2170000012345" // Replace with your IDs
},
"reportType": "keyword",
"columns": [
{ "columnName": "campaignId" },
{ "columnName": "keywordText" },
{ "columnName": "keywordLandingPage" },
{ "columnName": "quarterStart" },
{ "columnName": "quarterEnd" },
{ "columnName": "clicks" },
]
"timeRange" : {
"startDate" : "2012-01-01",
"endDate" : "2012-12-31"
},
"downloadFormat": "csv",
"maxRowsPerFile": 5000000,
"statisticsCurrency": "agency",
"verifySingleTimeZone": false,
"includeRemovedEntities": false
}
참고: 날짜에 주의하세요. 분기별 보고서를 요청하는 경우
보고서의
timeRange
여기에는 전체 분기가 포함됩니다 그렇지 않으면 결과가 일부만 표시되어
사람들은 클릭수, 수익 등의 급격한 감소가 있었다고 생각합니다.
여러 세그먼트 요청
한 요청에 분류 기준 열을 2개 이상 포함할 수 있습니다. 다음에 유의하세요.
-
주별, 월별 또는 분기별로 분류하는 경우
시작 및 끝 열을 지정할 수 있습니다. 예를 들어 분기별 보고서에는
quarterStart
및 quarterEnd
열 이 두 가지를 모두 포함
열에는 기간의 시작일과 종료일이 출력되므로
각 전체 기간에 대해 포함된 데이터를 보여줍니다.
-
동일한 요청에 서로 다른 유형의 시간 관련 세그먼트를 포함할 수 없습니다.
예를 들어 같은 요청에서 분기 및 월을 기준으로 분류할 수 없습니다.
-
세그먼트가 추가될 때마다 행 수가 기하급수적으로 증가할 수 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-29(UTC)
[null,null,["최종 업데이트: 2025-08-29(UTC)"],[[["\u003cp\u003eThe new Search Ads 360 Reporting API offers greater flexibility for creating custom reports and integrating data into your workflows.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides aggregated data by default, but you can request segmented data for a more granular view, such as segmenting by quarter to see quarterly click totals.\u003c/p\u003e\n"],["\u003cp\u003eSome segments are incompatible with certain columns, and including multiple segments can significantly increase the number of rows in your reports.\u003c/p\u003e\n"],["\u003cp\u003eWhen requesting segmented reports, ensure the time range covers the entire segment period for accurate results, and be mindful of potential data inconsistencies when combining segments with specific columns.\u003c/p\u003e\n"],["\u003cp\u003eYou can request segmented reports by including columns with "segment" behavior, as demonstrated in the provided code example for a keyword report segmented by quarter.\u003c/p\u003e\n"]]],["The new Search Ads 360 Reporting API allows for building custom reports and integrating data. Segmented reports show detailed data, with each segment (e.g., quarter) receiving its own row and totals. Rows appear only if data exists for the segment. Certain segments are incompatible with specific columns, yielding invalid data. To request a segmented report include a column listing `segment` as it's behavior, and when requesting time-related segments, ensure that the date range encompasses the full period. The use of multiple segments in a report is possible but they can not be time related.\n"],null,["# Segmented Reports\n\nThe new Search Ads 360 Reporting API is now available. The new API provides enhanced flexibility to build custom reports and integrate the data into your reporting applications and processes. Learn more about migrating to and using the [new Search Ads 360 Reporting\nAPI](https://developers.google.com/search-ads/reporting/overview).\n\n\nThe Search Ads 360 API returns only aggregated data unless you request more detailed, segmented\ndata. For example, the clicks column in a [keyword\nreport](/search-ads/v2/report-types/keyword) lists the total number of clicks on a keyword during the time range you specify.\n\n| keywordText | keywordLandingPage | clicks |\n|-------------|------------------------|--------|\n| widgets | http://www.example.com | 6000 |\n\nBut if you request a keyword report that segments by quarter, for each keyword you'll\nsee one row for each quarter, and the clicks column will list the quarterly totals. \n\n| keywordText | keywordLandingPage | quarterStart | quarterEnd | clicks |\n|-------------|------------------------|--------------|------------|--------|\n| widgets | http://www.example.com | 2012-01-01 | 2012-03-31 | 1000 |\n| widgets | http://www.example.com | 2012-04-01 | 2012-06-30 | 1000 |\n| widgets | http://www.example.com | 2012-07-01 | 2012-09-30 | 1000 |\n| widgets | http://www.example.com | 2012-10-01 | 2012-12-31 | 3000 |\n\nNote that a segmented report returns a row only if data is available for a segment.\nFor example, in a keyword report with the `floodlightActivity` column, a keyword and\nFloodlight activity pair will not appear in the report if there are no metrics attributed\nto it for the report date range.\n\n### Some segments are incompatible with specific columns\n\nSome segments may cause specific columns to return invalid data. For example, segmenting by\n`floodlightActivity` is meaningful only if you include columns that report Floodlight\ndata, such as `dfaActions`, `dfaRevenue`, `dfaTransactions`,\nand `dfaWeightedActions`. Other types of conversion columns (such as\n`adWordsConversions`), or columns that report engine metrics (such as clicks and\nimpressions), don't contain data reported by Floodlight, so they return invalid values if you\nsegment a report by `floodlightActivity`.\n\n### How to request a segmented report\n\nTo request a segmented report, include a column that lists `segment` as its behavior in the [Types of Reports](/search-ads/v2/report-types) reference.\n\nThe following asynchronous request is for a keyword report segmented by quarter. The\nclicks column in each row will contain the total number of clicks for the quarter: \n\n```\n{\n \"reportScope\": {\n \"agencyId\": \"20700000000000123\", // Replace with your IDs\n \"advertiserId\": \"2170000012345\" // Replace with your IDs\n },\n \"reportType\": \"keyword\",\n\n \"columns\": [\n { \"columnName\": \"campaignId\" },\n { \"columnName\": \"keywordText\" },\n { \"columnName\": \"keywordLandingPage\" },\n\n { \"columnName\": \"quarterStart\" },\n { \"columnName\": \"quarterEnd\" },\n { \"columnName\": \"clicks\" },\n ]\n \"timeRange\" : {\n \"startDate\" : \"2012-01-01\",\n \"endDate\" : \"2012-12-31\"\n },\n \"downloadFormat\": \"csv\",\n \"maxRowsPerFile\": 5000000,\n \"statisticsCurrency\": \"agency\",\n \"verifySingleTimeZone\": false,\n \"includeRemovedEntities\": false\n}\n \n``` \n**Note** : Be careful with dates. If you're requesting a quarterly report, make sure that the report's [timeRange](/search-ads/v2/reference/reports#request.timeRange) includes the entire quarter. Otherwise you'll get only partial results, which might make people think there's been a drastic reduction in clicks, revenue, and so on.\n\nRequesting multiple segments\n----------------------------\n\nYou can include more than one segment column in a request. Note the following:\n\n- If you segment by week, month, or quarter, we recommend that you include both the\n start and end columns in your request. For example, in a quarterly report, include both\n the `quarterStart` and `quarterEnd` columns. Including both of these\n columns will output the period's start and end dates, which will help confirm that you've\n included data for each full period.\n\n- You cannot include different types of time-related segments in the same request.\n For example, you cannot segment by quarter and month in the same request.\n\n- The number of rows could increase exponentially with each additional segment."]]