[{"data":1,"prerenderedAt":553},["ShallowReactive",2],{"sdk-docs-navigation":3,"sdk-docs-page:\u002Fgscdump-sdk\u002Fguides\u002Fread-data\u002Fhosted-analytics":112},[4],{"path":5,"title":6,"children":7,"stem":111,"page":16},"\u002Fgscdump-sdk","gscdump SDK",[8,27],{"path":9,"title":10,"children":11,"stem":25,"page":26},"\u002Fgscdump-sdk\u002Fapi","Api",[12,17,21],{"path":13,"title":14,"stem":15,"page":16},"\u002Fgscdump-sdk\u002Fapi\u002Fdirect-client","Direct client exports","api\u002F1.direct-client",true,{"path":18,"title":19,"stem":20,"page":16},"\u002Fgscdump-sdk\u002Fapi\u002Fhosted-http","Hosted HTTP","api\u002F2.hosted-http",{"path":22,"title":23,"stem":24,"page":16},"\u002Fgscdump-sdk\u002Fapi\u002Frealtime","Realtime","api\u002F3.realtime","gscdump-sdk\u002Fapi",false,{"path":28,"title":29,"children":30,"stem":110,"page":26},"\u002Fgscdump-sdk\u002Fguides","Guides",[31,48,73,97],{"path":32,"title":33,"children":34,"stem":47,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fstart","Start",[35,39,43],{"path":36,"title":37,"stem":38,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fstart\u002Fchoose-access","Choose access","guides\u002F1.start\u002F1.choose-access",{"path":40,"title":41,"stem":42,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fstart\u002Fhosted-first-result","Hosted first result","guides\u002F1.start\u002F2.hosted-first-result",{"path":44,"title":45,"stem":46,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fstart\u002Fdirect-first-result","Direct first result","guides\u002F1.start\u002F3.direct-first-result","guides\u002F1.start\u002Findex",{"path":49,"title":50,"children":51,"stem":72,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fread-data","Read data",[52,56,60,64,68],{"path":53,"title":54,"stem":55,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fread-data\u002Fdirect-search-analytics","Direct Search Analytics","guides\u002F2.read-data\u002F1.direct-search-analytics",{"path":57,"title":58,"stem":59,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fread-data\u002Fhosted-analytics","Hosted analytics","guides\u002F2.read-data\u002F2.hosted-analytics",{"path":61,"title":62,"stem":63,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fread-data\u002Fhosted-indexing","Hosted indexing","guides\u002F2.read-data\u002F3.hosted-indexing",{"path":65,"title":66,"stem":67,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fread-data\u002Fhosted-sitemaps","Hosted sitemaps","guides\u002F2.read-data\u002F4.hosted-sitemaps",{"path":69,"title":70,"stem":71,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fread-data\u002Fdirect-bing","Direct Bing","guides\u002F2.read-data\u002F5.direct-bing","guides\u002F2.read-data\u002Findex",{"path":74,"title":75,"children":76,"stem":96,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fbuild-integrations","Build integrations",[77,81,85,89,92],{"path":78,"title":79,"stem":80,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fbuild-integrations\u002Fnuxt","Nuxt","guides\u002F3.build-integrations\u002F1.nuxt",{"path":82,"title":83,"stem":84,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fbuild-integrations\u002Fnextjs","Next.js","guides\u002F3.build-integrations\u002F2.nextjs",{"path":86,"title":87,"stem":88,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fbuild-integrations\u002Fhono-express","Hono \u002F Express","guides\u002F3.build-integrations\u002F3.hono-express",{"path":90,"title":23,"stem":91,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fbuild-integrations\u002Frealtime","guides\u002F3.build-integrations\u002F4.realtime",{"path":93,"title":94,"stem":95,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Fbuild-integrations\u002Fwebhooks","Webhooks","guides\u002F3.build-integrations\u002F5.webhooks","guides\u002F3.build-integrations\u002Findex",{"path":98,"title":99,"children":100,"stem":109,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Foperate","Operate",[101,105],{"path":102,"title":103,"stem":104,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Foperate\u002Fkeys-and-scopes","Keys and scopes","guides\u002F4.operate\u002F1.keys-and-scopes",{"path":106,"title":107,"stem":108,"page":16},"\u002Fgscdump-sdk\u002Fguides\u002Foperate\u002Ferrors-and-retry","Errors and retry","guides\u002F4.operate\u002F2.errors-and-retry","guides\u002F4.operate\u002Findex","gscdump-sdk\u002Fguides","index",{"title":113,"description":114,"body":115,"id":547,"path":57,"stem":59,"extension":548,"navigation":549,"seo":550,"_source":551,"sitemap":552},"Read hosted analytics rows and Reports","Choose raw rows or a Report with totals and sync metadata.",{"toc":116,"nodes":136,"frontmatter":536,"meta":538},{"links":117,"title":134,"searchDepth":135,"depth":135},[118,122,125,128,131],{"id":119,"text":120,"depth":121},"before-you-start","Before you start",2,{"id":123,"text":124,"depth":121},"query-rows","Query rows",{"id":126,"text":127,"depth":121},"query-a-report","Query a Report",{"id":129,"text":130,"depth":121},"if-the-result-looks-incomplete","If the result looks incomplete",{"id":132,"text":133,"depth":121},"choose-an-integration","Choose an integration","",3,[137,141,149,152,164,166,333,352,354,457,480,516,518,524,526],[138,139,113],"h1",{"id":140},"read-hosted-analytics-rows-and-reports",[142,143,144,145,148],"p",{},"Use a server-held user API key for a Site you can access. The first request is in ",[146,147,41],"a",{"href":40},".",[150,151,120],"h2",{"id":119},[142,153,154,155,159,160,163],{},"The key needs ",[156,157,158],"code",{},"analytics:execute"," and authorization for the exact ",[156,161,162],{},"siteId",". Keep Google search types separate when comparing results. Recent Search Console days can still change.",[150,165,124],{"id":123},[167,168,172],"pre",{"language":169,"class":170,"tabindex":171},"ts","rangi shiki shj-lang-ts",0,[156,173,175,210,211,210,226,210,233,210,251,210,270,210,280,210,292,210,299,210,306],{"class":174},"language-ts",[176,177,180,185,186,190,191,194,195,197,202,207],"span",{"class":178,"style":179},"line","display: inline",[176,181,184],{"class":182,"style":183},"shj-syn-kwd shj-kwd","--shiki-light:#cf222e;--shiki-default:#cf222e;color:#cf222e;--shiki-dark:#ff7b72","const"," rows ",[176,187,189],{"class":188,"style":183},"shj-syn-oper shj-oper","="," ",[176,192,193],{"class":182,"style":183},"await"," client",[176,196,148],{"class":188,"style":183},[176,198,201],{"class":199,"style":200},"shj-syn-func shj-func","--shiki-light:#8250df;--shiki-default:#8250df;color:#8250df;--shiki-dark:#d2a8ff","queryAnalyticsRows",[176,203,206],{"class":204,"style":205},"shj-syn-bracket shj-bracket","--shiki-light:#57606a;--shiki-default:#57606a;color:#57606a;--shiki-dark:#8b949e","(",[176,208,209],{"class":204,"style":205},"{","\n",[176,212,213,214,190,217,219,220,223],{"class":178,"style":179},"  params",[176,215,216],{"class":188,"style":183},":",[176,218,209],{"class":204,"style":205}," siteId ",[176,221,222],{"class":204,"style":205},"}",[176,224,225],{"class":188,"style":183},",",[176,227,228,229,190,231],{"class":178,"style":179},"  body",[176,230,216],{"class":188,"style":183},[176,232,209],{"class":204,"style":205},[176,234,235,236,190,238,241,246,249],{"class":178,"style":179},"    dimensions",[176,237,216],{"class":188,"style":183},[176,239,240],{"class":204,"style":205},"[",[176,242,245],{"class":243,"style":244},"shj-syn-str shj-str","--shiki-light:#0a3069;--shiki-default:#0a3069;color:#0a3069;--shiki-dark:#a5d6ff","'query'",[176,247,248],{"class":204,"style":205},"]",[176,250,225],{"class":188,"style":183},[176,252,253,254,190,256,258,261,190,263,266,268],{"class":178,"style":179},"    metrics",[176,255,216],{"class":188,"style":183},[176,257,240],{"class":204,"style":205},[176,259,260],{"class":243,"style":244},"'clicks'",[176,262,225],{"class":188,"style":183},[176,264,265],{"class":243,"style":244},"'impressions'",[176,267,248],{"class":204,"style":205},[176,269,225],{"class":188,"style":183},[176,271,272,273,190,275,278],{"class":178,"style":179},"    searchType",[176,274,216],{"class":188,"style":183},[176,276,277],{"class":243,"style":244},"'web'",[176,279,225],{"class":188,"style":183},[176,281,282,283,190,285,290],{"class":178,"style":179},"    rowLimit",[176,284,216],{"class":188,"style":183},[176,286,289],{"class":287,"style":288},"shj-syn-num shj-num","--shiki-light:#0550ae;--shiki-default:#0550ae;color:#0550ae;--shiki-dark:#79c0ff","100",[176,291,225],{"class":188,"style":183},[176,293,294,295,297],{"class":178,"style":179},"  ",[176,296,222],{"class":204,"style":205},[176,298,225],{"class":188,"style":183},[176,300,301,303],{"class":178,"style":179},[176,302,222],{"class":204,"style":205},[176,304,305],{"class":204,"style":205},")",[176,307,308,309,311,314,316,317,319,320,316,322,324,325,327,328,330,331],{"class":178,"style":179},"console",[176,310,148],{"class":188,"style":183},[176,312,313],{"class":199,"style":200},"log",[176,315,206],{"class":204,"style":205},"rows",[176,318,148],{"class":188,"style":183},"data",[176,321,148],{"class":188,"style":183},[176,323,225],{"class":188,"style":183}," rows",[176,326,148],{"class":188,"style":183},"meta",[176,329,148],{"class":188,"style":183},"sourceName",[176,332,305],{"class":204,"style":205},[142,334,335,336,339,340,344,345,348,349,351],{},"Here ",[156,337,338],{},"client"," is the server client from the ",[146,341,343],{"href":342},"\u002Fgscdump-sdk\u002Fguides\u002Fstart\u002Fhosted-first-result#make-the-request","first-result guide",". ",[156,346,347],{},"data.rows"," can be empty. ",[156,350,327],{}," identifies the source, query time, and request.",[150,353,127],{"id":126},[167,355,356],{"language":169,"class":170,"tabindex":171},[156,357,358,210,376,210,386,210,419,210,425],{"class":174},[176,359,360,362,363,190,365,194,367,369,372,374],{"class":178,"style":179},[176,361,184],{"class":182,"style":183}," report ",[176,364,189],{"class":188,"style":183},[176,366,193],{"class":182,"style":183},[176,368,148],{"class":188,"style":183},[176,370,371],{"class":199,"style":200},"queryAnalyticsReport",[176,373,206],{"class":204,"style":205},[176,375,209],{"class":204,"style":205},[176,377,213,378,190,380,219,382,384],{"class":178,"style":179},[176,379,216],{"class":188,"style":183},[176,381,209],{"class":204,"style":205},[176,383,222],{"class":204,"style":205},[176,385,225],{"class":188,"style":183},[176,387,228,388,190,390,392,393,190,395,397,398,190,400,402,404,406,408,409,190,411,190,413,190,415,417],{"class":178,"style":179},[176,389,216],{"class":188,"style":183},[176,391,209],{"class":204,"style":205}," state",[176,394,216],{"class":188,"style":183},[176,396,209],{"class":204,"style":205}," dimensions",[176,399,216],{"class":188,"style":183},[176,401,240],{"class":204,"style":205},[176,403,245],{"class":243,"style":244},[176,405,248],{"class":204,"style":205},[176,407,225],{"class":188,"style":183}," searchType",[176,410,216],{"class":188,"style":183},[176,412,277],{"class":243,"style":244},[176,414,222],{"class":204,"style":205},[176,416,222],{"class":204,"style":205},[176,418,225],{"class":188,"style":183},[176,420,421,423],{"class":178,"style":179},[176,422,222],{"class":204,"style":205},[176,424,305],{"class":204,"style":205},[176,426,308,427,429,431,433,434,319,436,316,438,440,441,319,443,445,446,440,448,319,450,327,452,454,455],{"class":178,"style":179},[176,428,148],{"class":188,"style":183},[176,430,313],{"class":199,"style":200},[176,432,206],{"class":204,"style":205},"report",[176,435,148],{"class":188,"style":183},[176,437,148],{"class":188,"style":183},[176,439,225],{"class":188,"style":183}," report",[176,442,148],{"class":188,"style":183},[176,444,148],{"class":188,"style":183},"totals",[176,447,225],{"class":188,"style":183},[176,449,148],{"class":188,"style":183},[176,451,148],{"class":188,"style":183},[176,453,148],{"class":188,"style":183},"syncStatus",[176,456,305],{"class":204,"style":205},[142,458,459,460,463,464,466,467,470,471,474,475,479],{},"A Report adds ",[156,461,462],{},"totalCount",", ",[156,465,445],{},", comparison fields when requested, and sync metadata such as ",[156,468,469],{},"newestDateSynced",". The detail operation, ",[156,472,473],{},"queryAnalyticsReportDetail",", uses a different state contract. Check the ",[146,476,478],{"href":477},"\u002Fgscdump-sdk\u002Fapi\u002Fhosted-http#api-specifications","hosted HTTP specification"," before changing dimensions.",[481,482,483,496],"table",{"tabindex":171},[484,485,486],"thead",{},[487,488,489,493],"tr",{},[490,491,492],"th",{},"Result",[490,494,495],{},"Read it for",[497,498,499,508],"tbody",{},[487,500,501,505],{},[502,503,504],"td",{},"Raw rows",[502,506,507],{},"One filtered slice and its source metadata",[487,509,510,513],{},[502,511,512],{},"Report",[502,514,515],{},"Totals, comparison, and Store sync coverage",[150,517,130],{"id":129},[142,519,520,521,523],{},"Read the Report's sync metadata before drawing a trend conclusion. A raw row query cannot prove full coverage. An empty row set can mean no matching rows. Check ",[146,522,107],{"href":106}," if the request fails.",[150,525,133],{"id":132},[142,527,528,529,531,532,535],{},"Render a small slice in ",[146,530,79],{"href":78},", or ",[146,533,534],{"href":90},"receive change notices"," after the initial HTTP read.",{"title":113,"navigation":537,"description":114},{"title":58},{"title":113,"description":539,"toc":540},"Use a server-held user API key for a Site you can access. The first request is in Hosted first result.",{"title":134,"searchDepth":135,"depth":135,"links":541},[542,543,544,545,546],{"id":119,"depth":121,"text":120},{"id":123,"depth":121,"text":124},{"id":126,"depth":121,"text":127},{"id":129,"depth":121,"text":130},{"id":132,"depth":121,"text":133},"sdkDocs\u002Fguides\u002F2.read-data\u002F2.hosted-analytics.md","md",{"title":58},{"title":113,"description":114},"\u002Fopt\u002Factions-runner\u002F_work\u002Fgscdump.com\u002Fgscdump.com\u002Fnode_modules\u002F.cache\u002Fcomark-content\u002Fgit\u002Fd100867c457f148bef5f\u002Fdocs\u002Fgscdump-sdk\u002Fguides\u002F2.read-data\u002F2.hosted-analytics.md",{"loc":57},1794983848644]