[{"data":1,"prerenderedAt":398},["ShallowReactive",2],{"cli-docs-navigation":3,"cli-docs-page:\u002Fgscdump-cli\u002Fapi\u002Fbing":129},[4],{"path":5,"title":6,"children":7,"stem":128,"page":16},"\u002Fgscdump-cli","gscdump CLI",[8,43],{"path":9,"title":10,"children":11,"stem":41,"page":42},"\u002Fgscdump-cli\u002Fapi","Api",[12,17,21,25,29,33,37],{"path":13,"title":14,"stem":15,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fcommands","Commands","api\u002F1.commands",true,{"path":18,"title":19,"stem":20,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fquery","Query","api\u002F2.query",{"path":22,"title":23,"stem":24,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fexport","Export","api\u002F3.export",{"path":26,"title":27,"stem":28,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fsync","Sync","api\u002F4.sync",{"path":30,"title":31,"stem":32,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fbing","Bing","api\u002F5.bing",{"path":34,"title":35,"stem":36,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fanalyzers","Analyzers","api\u002F6.analyzers",{"path":38,"title":39,"stem":40,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Freports","Reports","api\u002F7.reports","gscdump-cli\u002Fapi",false,{"path":44,"title":45,"children":46,"stem":127,"page":42},"\u002Fgscdump-cli\u002Fguides","Guides",[47,64,77,110],{"path":48,"title":49,"children":50,"stem":63,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart","Start",[51,55,59],{"path":52,"title":53,"stem":54,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart\u002Ffirst-result","First result","guides\u002F1.start\u002F1.first-result",{"path":56,"title":57,"stem":58,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart\u002Fchoose-access","Choose access","guides\u002F1.start\u002F2.choose-access",{"path":60,"title":61,"stem":62,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart\u002Fconnect-an-agent","Connect an agent","guides\u002F1.start\u002F3.connect-an-agent","guides\u002F1.start\u002Findex",{"path":65,"title":66,"children":67,"stem":76,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fuse-data","Use data",[68,72],{"path":69,"title":70,"stem":71,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fuse-data\u002Fbuild-history","Build history","guides\u002F2.use-data\u002F1.build-history",{"path":73,"title":74,"stem":75,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fuse-data\u002Fquery-and-export","Query and export","guides\u002F2.use-data\u002F2.query-and-export","guides\u002F2.use-data\u002Findex",{"path":78,"title":79,"children":80,"stem":109,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic","Investigate traffic",[81,85,89,93,97,101,105],{"path":82,"title":83,"stem":84,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fweekly-triage","Weekly triage","guides\u002F3.investigate-traffic\u002F1.weekly-triage",{"path":86,"title":87,"stem":88,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Ftraffic-drop","Traffic drop","guides\u002F3.investigate-traffic\u002F2.traffic-drop",{"path":90,"title":91,"stem":92,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Flow-ctr","Low CTR","guides\u002F3.investigate-traffic\u002F3.low-ctr",{"path":94,"title":95,"stem":96,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fbrand-traffic","Brand traffic","guides\u002F3.investigate-traffic\u002F4.brand-traffic",{"path":98,"title":99,"stem":100,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fimpressions-no-clicks","Impressions, no clicks","guides\u002F3.investigate-traffic\u002F5.impressions-no-clicks",{"path":102,"title":103,"stem":104,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fgrowth-trends","Growth trends","guides\u002F3.investigate-traffic\u002F6.growth-trends",{"path":106,"title":107,"stem":108,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fdevice-gaps","Device gaps","guides\u002F3.investigate-traffic\u002F7.device-gaps","guides\u002F3.investigate-traffic\u002Findex",{"path":111,"title":112,"children":113,"stem":126,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility","Check visibility",[114,118,122],{"path":115,"title":116,"stem":117,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility\u002Fpage-overlap","Page overlap","guides\u002F4.check-visibility\u002F1.page-overlap",{"path":119,"title":120,"stem":121,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility\u002Findexing-evidence","Indexing Evidence","guides\u002F4.check-visibility\u002F2.indexing-evidence",{"path":123,"title":124,"stem":125,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility\u002Fgoogle-and-bing","Google and Bing","guides\u002F4.check-visibility\u002F3.google-and-bing","guides\u002F4.check-visibility\u002Findex","gscdump-cli\u002Fguides","index",{"title":31,"description":130,"body":131,"id":393,"path":30,"stem":32,"extension":394,"seo":395,"_source":396,"sitemap":397},"Connect Bing Webmaster Tools and export Bing data with gscdump.",{"toc":132,"nodes":143,"frontmatter":387,"meta":388},{"links":133,"title":141,"searchDepth":142,"depth":142},[134,138],{"id":135,"text":136,"depth":137},"choose-where-bing-connects","Choose where Bing connects",2,{"id":139,"text":140,"depth":137},"use-local-bing-credentials","Use local Bing credentials","",3,[144,148,151,166,197,214,216,224,288,298,304,333,348,380],[145,146,31],"h1",{"id":147},"bing",[149,150,136],"h2",{"id":135},[152,153,154,155,160,161,165],"p",{},"Hosted mode uses the Bing connection saved for your Site on ",[156,157,159],"a",{"href":158},"http:\u002F\u002Fgscdump.com","gscdump.com",". Run ",[162,163,164],"code",{},"gscdump auth status --json"," to check the active mode, then list hosted Bing Sites:",[167,168,172],"pre",{"language":169,"class":170,"tabindex":171},"bash","rangi shiki shj-lang-bash",0,[162,173,175,186,187,186,192],{"class":174},"language-bash",[176,177,180,185],"span",{"class":178,"style":179},"line","display: inline",[176,181,184],{"class":182,"style":183},"shj-syn-func shj-func","--shiki-light:#8250df;--shiki-default:#8250df;color:#8250df;--shiki-dark:#d2a8ff","gscdump"," bing sites --mode hosted --json","\n",[176,188,189,191],{"class":178,"style":179},[176,190,184],{"class":182,"style":183}," bing status --site s_SITE_ID --mode hosted --json",[176,193,194,196],{"class":178,"style":179},[176,195,184],{"class":182,"style":183}," bing inspect https:\u002F\u002Fexample.com\u002Fpage --site s_SITE_ID --mode hosted --json",[152,198,199,200,203,204,206,207,209,210,213],{},"Use the hosted Site ID printed by ",[162,201,202],{},"bing sites",". See ",[156,205,57],{"href":56}," to connect Google and Bing on ",[156,208,159],{"href":158},". Hosted ",[162,211,212],{},"bing dump"," reads saved data. The Site and plan control its available history.",[149,215,140],{"id":139},[152,217,218,219,223],{},"For local Bing access, generate an API key in Bing Webmaster Tools under Settings, API Access.\nSee ",[156,220,222],{"href":221},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fbingwebmaster\u002Fgetting-access","Microsoft's authentication guide",".",[167,225,226],{"language":169,"class":170,"tabindex":171},[162,227,228,186,246,186,254,186,262,186,273,186,281],{"class":174},[176,229,230,235,236,241,245],{"class":178,"style":179},[176,231,234],{"class":232,"style":233},"shj-syn-kwd shj-kwd","--shiki-light:#cf222e;--shiki-default:#cf222e;color:#cf222e;--shiki-dark:#ff7b72","export"," ",[176,237,240],{"class":238,"style":239},"shj-syn-var shj-var","--shiki-light:#0550ae;--shiki-default:#0550ae;color:#0550ae;--shiki-dark:#79c0ff","BING_API_KEY",[176,242,244],{"class":243,"style":233},"shj-syn-oper shj-oper","=","...",[176,247,248,250,251],{"class":178,"style":179},[176,249,184],{"class":182,"style":183}," bing login --mode ",[176,252,253],{"class":232,"style":233},"local",[176,255,256,258,259,261],{"class":178,"style":179},[176,257,184],{"class":182,"style":183}," bing sites --mode ",[176,260,253],{"class":232,"style":233}," --json",[176,263,264,266,267,269,270],{"class":178,"style":179},[176,265,184],{"class":182,"style":183}," bing dump --site https:\u002F\u002Fexample.com\u002F --mode ",[176,268,253],{"class":232,"style":233}," --format json --out ",[176,271,272],{"class":243,"style":233},".\u002Fbing-export",[176,274,275,277,278,280],{"class":178,"style":179},[176,276,184],{"class":182,"style":183}," bing dump --all-sites --mode ",[176,279,253],{"class":232,"style":233}," --format ndjson",[176,282,283,285,286,261],{"class":178,"style":179},[176,284,184],{"class":182,"style":183}," bing inspect https:\u002F\u002Fexample.com\u002Fpage --site https:\u002F\u002Fexample.com\u002F --mode ",[176,287,253],{"class":232,"style":233},[152,289,290,293,294,297],{},[162,291,292],{},"BING_ACCESS_TOKEN"," also accepts an existing Bing OAuth access token.\nLocal API keys and OAuth credentials are saved separately from Google credentials.\n",[162,295,296],{},"bing logout --mode local"," removes only saved Bing credentials.",[152,299,300,301,223],{},"For local browser OAuth, register a Bing OAuth client with this exact redirect URI:\n",[162,302,303],{},"http:\u002F\u002F127.0.0.1:53683\u002Foauth\u002Fbing",[167,305,306],{"language":169,"class":170,"tabindex":171},[162,307,308,186,317,186,326],{"class":174},[176,309,310,235,312,315,245],{"class":178,"style":179},[176,311,234],{"class":232,"style":233},[176,313,314],{"class":238,"style":239},"BING_CLIENT_ID",[176,316,244],{"class":243,"style":233},[176,318,319,235,321,324,245],{"class":178,"style":179},[176,320,234],{"class":232,"style":233},[176,322,323],{"class":238,"style":239},"BING_CLIENT_SECRET",[176,325,244],{"class":243,"style":233},[176,327,328,250,330,332],{"class":178,"style":179},[176,329,184],{"class":182,"style":183},[176,331,253],{"class":232,"style":233}," --oauth",[152,334,335,336,339,340,343,344,347],{},"Use ",[162,337,338],{},"--redirect-uri"," or ",[162,341,342],{},"BING_REDIRECT_URI"," for another registered loopback URI.\n",[162,345,346],{},"--no-browser"," prints the authorization URL. Saved OAuth credentials refresh automatically.",[152,349,350,352,353,356,357,356,360,363,364,367,368,371,372,375,376,379],{},[162,351,212],{}," exports ",[162,354,355],{},"traffic",", ",[162,358,359],{},"pages",[162,361,362],{},"keywords",", and ",[162,365,366],{},"crawl"," by default.\nUse ",[162,369,370],{},"--datasets traffic,pages"," to select datasets.\nLocal mode also supports ",[162,373,374],{},"--datasets crawl-issues",".\nFiles use JSON, NDJSON, or CSV, with one directory per Bing site and a ",[162,377,378],{},"metadata.json"," file.",[152,381,382,383,386],{},"In hosted mode, exports default to the last 366 days.\nUse ",[162,384,385],{},"--start YYYY-MM-DD --end YYYY-MM-DD"," for a range up to 366 days.\nThe CLI follows every returned page and rejects unavailable datasets or a snapshot that changes during export.\nIn local mode, date options filter the rows Bing returns. They cannot recover older history.\nBing Indexing Evidence preserves uncertainty and does not imply an indexed verdict.",{"title":31,"description":130},{"title":31,"toc":389},{"title":141,"searchDepth":142,"depth":142,"links":390},[391,392],{"id":135,"depth":137,"text":136},{"id":139,"depth":137,"text":140},"cliDocs\u002Fapi\u002F5.bing.md","md",{"title":31,"description":130},"\u002Fopt\u002Factions-runner\u002F_work\u002Fgscdump.com\u002Fgscdump.com\u002Fnode_modules\u002F.cache\u002Fcomark-content\u002Fgit\u002Fd100867c457f148bef5f\u002Fdocs\u002Fgscdump-cli\u002Fapi\u002F5.bing.md",{"loc":30},1794983848643]