{"id":5108,"date":"2022-02-07T19:34:00","date_gmt":"2022-02-07T10:34:00","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=5108"},"modified":"2022-02-07T09:36:46","modified_gmt":"2022-02-07T00:36:46","slug":"post-5108","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=5108","title":{"rendered":"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306eURL\u691c\u67fb(inspection)\u3092GAS\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>Google\u304c\u63d0\u4f9b\u3059\u308bSEO\u30c4\u30fc\u30eb\u300c\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u300d\u306fAPI\u3067\u3082\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u524d\u306f\u306a\u304b\u3063\u305fURL\u691c\u67fb\u3092\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u300cinspection\u300d\u304c\u7528\u610f\u3055\u308c\u305f\u306e\u3067\u3001Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306bURL\u691c\u67fb\u304c\u5b9f\u88c5<\/h2>\n\n\n\n<p>Google\u691c\u7d22\u30bb\u30f3\u30c8\u30e9\u30eb\u30d6\u30ed\u30b0\u306f\u3001Google\u306eSEO\u30c4\u30fc\u30eb\u300c\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u300d\u306e\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u308b\u516c\u5f0f\u30d6\u30ed\u30b0\u3067\u3059\u3002<\/p>\n\n\n\n<p>2022\u5e741\u670831\u65e5\u306b\u305d\u306eGoogle\u691c\u7d22\u30bb\u30f3\u30c8\u30e9\u30eb\u30d6\u30ed\u30b0\u3067\u65b0\u3057\u3044\u8a18\u4e8b\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"412\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004.jpg\" alt=\"Google\u691c\u7d22\u30bb\u30f3\u30c8\u30e9\u30eb\u30d6\u30ed\u30b0\u306b2022\u5e741\u670831\u65e5\u306bURL\u691c\u67fb\u306e\u65b0\u3057\u3044API\u304c\u767b\u5834\u3057\u305f\u3068\u767a\u8868(\u82f1\u8a9e\u7248\u306e\u307f)\" class=\"wp-image-5112\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004-300x155.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004-768x396.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004-530x273.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004-565x291.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004-710x366.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_004-725x373.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/developers.google.com\/search\/blog\/2022\/01\/url-inspection-api\" target=\"_blank\" rel=\"noopener\">Welcoming the new Search Console URL Inspection API(Google Search Central Blog)<\/a><\/p>\n\n\n\n<p>\u203b\u6b8b\u5ff5\u306a\u304c\u3089\u7ffb\u8a33\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u65e5\u672c\u8a9e\u7248\u304c\u307e\u3060\u306a\u304f\u3001\u82f1\u8a9e\u7248\u306e\u307f\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d6\u30ed\u30b0\u8a18\u4e8b\u306b\u3088\u308b\u3068\u3001\u300cGoogle Search Console URL Inspection API\u3092\u516c\u958b\u3057\u307e\u3057\u305f\u3002\u300d\u3068\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u524d\u3001AutoWorker\u3067\u3082\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u5229\u7528\u65b9\u6cd5\u306e\u7d39\u4ecb\u8a18\u4e8b\u3092\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"EcIAoxu0u0\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=3294\">GAS\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u691c\u7d22\u30af\u30a8\u30ea\u3084\u30af\u30ea\u30c3\u30af\u6570\u3001\u9806\u4f4d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;GAS\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u691c\u7d22\u30af\u30a8\u30ea\u3084\u30af\u30ea\u30c3\u30af\u6570\u3001\u9806\u4f4d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=3294&#038;embed=true#?secret=mleTvIKHTo#?secret=EcIAoxu0u0\" data-secret=\"EcIAoxu0u0\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u305f\u3060\u3001\u3053\u306e\u3068\u304d\u306f\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u7ba1\u7406\u753b\u9762\u306e\u691c\u7d22\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u300c\u691c\u7d22\u7d50\u679c\u300d\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eURL\u691c\u67fb\u304cAPI\u3067\u53ef\u80fd\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u306e\u30ea\u30ea\u30fc\u30b9\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eAPI\u3067URL\u691c\u67fb\u304c\u5b9f\u884c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"277\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_005.jpg\" alt=\"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u7ba1\u7406\u753b\u9762\u306eURL\u691c\u67fb\" class=\"wp-image-5114\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_005.jpg 600w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_005-300x139.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_005-530x245.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_005-565x261.jpg 565w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u306f\u6240\u6709\u3059\u308b\u30b5\u30a4\u30c8\u306e\u30da\u30fc\u30b8\u304cGoogle\u691c\u7d22\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u6a5f\u80fd\u3068\u3057\u3066\u3001URL\u691c\u67fb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>URL\u691c\u67fb\u3067\u306f\u8abf\u3079\u305f\u3044\u8a18\u4e8b\u30da\u30fc\u30b8\u306a\u3069\u306eURL\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u3001Google\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u72b6\u6cc1\u3092\u30c1\u30a7\u30c3\u30af\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u307e\u3067\u306e\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306b\u306f\u3053\u306e\u6a5f\u80fd\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u65b0\u305f\u306b\u5b9f\u88c5\u3055\u308c\u305f\u3053\u3068\u3067\u3001URL\u691c\u67fb\u3082API\u7d4c\u7531\u3067\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Search Console URL Inspection API<\/h2>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eURL\u691c\u67fb\u3092\u884c\u3046\u305f\u3081\u306eAPI\u304c\u300cSearch Console URL Inspection API\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/developers.google.com\/webmaster-tools\/v1\/urlInspection.index\/inspect?hl=ja\" target=\"_blank\" rel=\"noopener\">Search Console URL Inspection API(Google Developers)<\/a><\/p>\n\n\n\n<p>\u203b\u82f1\u8a9e\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30da\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u65b0\u3057\u304f\u3067\u304d\u305fAPI\u306b\u306f\u300cindex:inspect\u300d\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306einspect\u30e1\u30bd\u30c3\u30c9\u306b\u306f\u3001\u30b5\u30a4\u30c8URL\u3001\u691c\u67fb\u5bfe\u8c61URL\u3001\u8a00\u8a9e\u30b3\u30fc\u30c9\u306e3\u3064\u7528\u610f\u3057\u3066HTTP POST\u3059\u308b\u3068\u3001URL\u691c\u67fb\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u300cURL Inspection API\u300d\u306e\u5b9f\u884c\u5236\u9650\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3001\u4ee5\u4e0b2\u70b9\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>1\u65e5\u5f53\u305f\u308a2000\u30af\u30a8\u30ea<\/li><li>1\u5206\u5f53\u305f\u308a600\u30af\u30a8\u30ea<\/li><\/ul>\n\n\n\n<p>1\u65e52000\u30af\u30a8\u30ea\u3082\u5b9f\u884c\u3067\u304d\u308b\u306e\u3067\u3001\u7121\u6599\u3067\u3082\u5341\u5206\u306a\u5b9f\u884c\u56de\u6570\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5927\u898f\u6a21\u306a\u30b5\u30a4\u30c8\u3067\u306f2000\u30da\u30fc\u30b8\u3092\u8d85\u3048\u308b\u30b5\u30a4\u30c8\u3082\u3042\u308b\u305f\u3081\u3001\u305d\u3046\u3057\u305f\u5834\u5408\u306f\u65e5\u6570\u3092\u5206\u3051\u3066\u5b9f\u884c\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306eURL\u691c\u67fb\u306eGAS\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306b\u65b0\u305f\u306b\u5b9f\u88c5\u3055\u308c\u305fURL\u691c\u67fb\u3092\u3001Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306fGAS\u306e\u6a19\u6e96\u30b5\u30fc\u30d3\u30b9\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308bAPI\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u4e8b\u524d\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u6709\u52b9\u5316\u3068GAS\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7d10\u4ed8\u3051\u65b9\u6cd5\u306f\u5148\u7a0b\u7d39\u4ecb\u3057\u305f\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u3061\u3089\u3092\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"EcIAoxu0u0\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=3294\">GAS\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u691c\u7d22\u30af\u30a8\u30ea\u3084\u30af\u30ea\u30c3\u30af\u6570\u3001\u9806\u4f4d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;GAS\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u691c\u7d22\u30af\u30a8\u30ea\u3084\u30af\u30ea\u30c3\u30af\u6570\u3001\u9806\u4f4d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=3294&#038;embed=true#?secret=mleTvIKHTo#?secret=EcIAoxu0u0\" data-secret=\"EcIAoxu0u0\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Google Cloud Platform(GCP)\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u6709\u52b9\u5316\u3068GAS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u306e\u7d10\u4ed8\u3051\u304c\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"611\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001.jpg\" alt=\"Google Apps Script(GAS)\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306eURL\u691c\u67fb(Search Console URL Inspection API)\u3092\u5b9f\u884c\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" class=\"wp-image-5109\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001-1024x521.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001-768x391.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001-530x270.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001-565x288.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001-710x362.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_001-725x369.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-javascript\"><code class=\"language-javascript\">function searchConsoleInspect(){\n  \/\/\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u691c\u67fb\u3059\u308bAPI\u3092\u5b9f\u884c\u3059\u308b\n  let apiURL = \"https:\/\/searchconsole.googleapis.com\/v1\/urlInspection\/index:inspect\";\n  \/\/\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u691c\u67fb\u5bfe\u8c61\u306eURL\u3092\u5b9a\u7fa9\u3059\u308b\n  let inspectUrl = \"URL\u691c\u67fb\u3057\u305f\u3044URL\";\n  \/\/API\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u5fc5\u8981\u306a\u30b5\u30a4\u30c8URL\u3092\u5b9a\u7fa9\u3059\u308b\n  let siteUrl = \"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u767b\u9332\u3057\u305f\u30b5\u30a4\u30c8URL\";\n  \/\/API\u30ea\u30af\u30a8\u30b9\u30c8\u6642\u306b\u30bb\u30c3\u30c8\u3059\u308b\u30da\u30a4\u30ed\u30fc\u30c9\u5024\u3092\u8a2d\u5b9a\u3059\u308b\n  let payload = {\n    'inspectionUrl' : inspectUrl,\n    'siteUrl': siteUrl,\n    \"languageCode\" : 'ja'\n  };\n  \/\/HTTPS\u306ePOST\u6642\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b\n  let options = {\n    'payload' : JSON.stringify(payload),\n    'myamethod'  : 'POST',\n    'muteHttpExceptions' : true,\n    'headers' : {\"Authorization\" : \"Bearer \" + ScriptApp.getOAuthToken()},\n    'contentType' : 'application\/json'\n  };\n  \/\/API\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3063\u305f\u7d50\u679c\u306eJSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\n  let response = UrlFetchApp.fetch(apiURL, options);\n  let json = JSON.parse(response);\n  console.log(json.inspectionResult);\n}\n<\/code><\/pre>\n\n\n\n<p>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u691c\u67fb\u3059\u308bAPI\u3092\u5b9a\u7fa9\u3057\u3001\u691c\u67fb\u5bfe\u8c61\u306eURL\u3068\u30b5\u30a4\u30c8URL\u3001\u305d\u3057\u3066\u65e5\u672c\u8a9e\u30b3\u30fc\u30c9\u300cja\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7528\u610f\u3057\u305f\u30da\u30a4\u30ed\u30fc\u30c9\u306e\u5024\u3068\u8a8d\u8a3c\u60c5\u5831\u3092\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u3001UrlFetchApp.fetch\u3067HTTP POST\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u884c\u5f8c\u3001\u8fd4\u5374\u3055\u308c\u305fJSON\u30c7\u30fc\u30bf\u3092\u30d1\u30fc\u30b9\u3057\u305f\u7d50\u679c\u304c\u5b9f\u884c\u30ed\u30b0\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"611\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002.jpg\" alt=\"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3067URL\u691c\u67fb(URL Inspection API)\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u5b9f\u884c\u30ed\u30b0\" class=\"wp-image-5110\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002-1024x521.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002-768x391.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002-530x270.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002-565x288.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002-710x362.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_002-725x369.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>\u5b9f\u884c\u30ed\u30b0\u306e\u5185\u5bb9\u306f\u82f1\u8a9e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001coverageState\u306e\u90e8\u5206\u306b\u300c\u9001\u4fe1\u3057\u3066\u767b\u9332\u3055\u308c\u307e\u3057\u305f\u300d\u3068\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eURL\u691c\u67fb\u753b\u9762\u3067\u3082\u898b\u305f\u3053\u3068\u304c\u3042\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"407\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003.jpg\" alt=\"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u300cSearch Console URL Inspection API\u300d\u306f\u3001\u7ba1\u7406\u753b\u9762\u306eURL\u691c\u67fb\u3068\u540c\u69d8\u306e\u5b9f\u884c\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u53ef\u80fd\" class=\"wp-image-5111\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003-768x391.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003-530x270.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003-565x287.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003-710x361.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/02\/20220206_auto_003-725x369.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u666e\u6bb5\u30d6\u30ed\u30b0\u3084\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u308b\u65b9\u306f\u898b\u305f\u3053\u3068\u304c\u3042\u308bURL\u691c\u67fb\u3068\u540c\u3058\u5185\u5bb9\u3092\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3067\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306fAPI\u3067\u5b9f\u884c\u4e0d\u53ef<\/h2>\n\n\n\n<p>\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u300cSearch Console URL Inspection API\u300d\u306f\u3001URL\u691c\u67fb\u306e\u7d50\u679c\u3092API\u7d4c\u7531\u3067\u53d6\u5f97\u3059\u308b\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u5b9f\u884c\u3059\u308b\u300c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u300d(\u203b\u304b\u3064\u3066\u306e\u30d5\u30a7\u30c3\u30c1)\u306fAPI\u3067\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001API\u3067\u5b9f\u884c\u3067\u304d\u308b\u306e\u306f\u3001URL\u691c\u67fb\u306e\u7d50\u679c\u3092\u53d6\u5f97\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u3067\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u7ba1\u7406\u753b\u9762\u304b\u3089\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u300cSearch Console URL Inspection API\u300d\u306e\u7d39\u4ecb\u3068\u3001Google Apps Script(GAS)\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u65b0\u3057\u3044\u8a18\u4e8b\u3092\u516c\u958b\u5f8c\u3001\u304d\u3061\u3093\u3068Google\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308bURL\u691c\u67fb\u306e\u53d6\u5f97\u304cAPI\u7d4c\u7531\u3067\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>GAS\u3067\u3082\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3068\u9023\u643a\u5f8c\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u4f7f\u3048\u3070\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u6b8b\u5ff5\u306a\u304c\u3089\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306e\u300c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u3092\u5b9f\u884c\u3059\u308bAPI\u306f\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001URL\u691c\u67fb\u3092\u5b9f\u884c\u3057\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044URL\u3092\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3088\u3046\u306a\u4f7f\u3044\u65b9\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eURL Inspection API\u3092\u4f7f\u3063\u3066\u3001URL\u691c\u67fb\u306e\u81ea\u52d5\u5b9f\u884c\u3092\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google\u304c\u63d0\u4f9b\u3059\u308bSEO\u30c4\u30fc\u30eb\u300c\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u300d\u306fAPI\u3067\u3082\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u4ee5\u524d\u306f\u306a\u304b\u3063\u305fURL\u691c\u67fb\u3092\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u300cinspection\u300d\u304c\u7528\u610f\u3055\u308c\u305f\u306e\u3067\u3001Google Apps Script(GAS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5110,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2],"tags":[14,857,784],"class_list":["post-5108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-gas","tag-gas","tag-url","tag-api"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5108"}],"version-history":[{"count":3,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5108\/revisions"}],"predecessor-version":[{"id":5116,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5108\/revisions\/5116"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/5110"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}