{"id":3294,"date":"2021-11-07T22:23:50","date_gmt":"2021-11-07T13:23:50","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=3294"},"modified":"2021-11-12T10:04:46","modified_gmt":"2021-11-12T01:04:46","slug":"post-3294","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=3294","title":{"rendered":"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"},"content":{"rendered":"\n<p>SEO\u5bfe\u7b56\u3059\u308b\u4e0a\u3067\u5fc5\u9808\u3068\u3082\u3044\u3048\u308bGoogle\u306e\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u3059\u304c\u3001Search Console API\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306eSearch Console API\u306e\u4f7f\u3044\u65b9\u30fb\u6709\u52b9\u5316\u306e\u624b\u9806\u306b\u52a0\u3048\u3001Google Apps Script(GAS)\u3067API\u3092\u5b9f\u884c\u3057\u3001\u691c\u7d22\u30ef\u30fc\u30c9\u3084\u30af\u30ea\u30c3\u30af\u6570\u3001\u691c\u7d22\u7d50\u679c\u3067\u306e\u9806\u4f4d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SEO\u5bfe\u7b56\u3067\u5fc5\u9808\u306a\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb<\/h2>\n\n\n\n<p>Google\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306f\u3001Google\u691c\u7d22\u3067\u3069\u306e\u3088\u3046\u306a\u691c\u7d22\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u81ea\u5206\u306e\u30b5\u30a4\u30c8\u3084\u30d6\u30ed\u30b0\u306b\u30a2\u30af\u30bb\u30b9\u304c\u3042\u3063\u305f\u304b\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u691c\u7d22\u30ef\u30fc\u30c9\u3067\u30d2\u30c3\u30c8\u3059\u308b\u30da\u30fc\u30b8URL<\/li><li>\u691c\u7d22\u7d50\u679c\u306b\u8868\u793a\u3055\u308c\u305f\u56de\u6570<\/li><li>\u691c\u7d22\u7d50\u679c\u304b\u3089\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u56de\u6570<\/li><li>(\u30af\u30ea\u30c3\u30af\u6570)\/(\u8868\u793a\u56de\u6570)\u306eCTR<\/li><li>\u691c\u7d22\u7d50\u679c\u306e\u9806\u4f4d<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"829\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001.jpg\" alt=\"Google Search Console\u306e\u30b5\u30de\u30ea\u30fc\u753b\u9762\u3002\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306fSEO\u5bfe\u7b56\u306b\u5fc5\u9808\u306e\u30c4\u30fc\u30eb\" class=\"wp-image-362\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001-300x207.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001-768x531.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001-1024x707.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001-530x366.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001-565x390.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001-710x490.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/01\/20200112_auto_001-725x501.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u305f\u3081\u3001\u30d6\u30ed\u30b0\u3084Web\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u308b\u4eba\u304cSEO\u5bfe\u7b56\u3059\u308b\u4e0a\u3067\u5fc5\u9808\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>Google\u691c\u7d22\u306fYahoo\u691c\u7d22\u3067\u3082\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u5229\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u4f75\u305b\u308b\u3068\u65e5\u672c\u3067\u306f50%\u4ee5\u4e0a\u306e\u30b7\u30a7\u30a2\u304c\u3042\u308a\u3001\u4e8b\u5b9f\u4e0a\u306e\u30c7\u30d5\u30a1\u30af\u30c8\u30b9\u30bf\u30f3\u30c0\u30fc\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c7\u30fc\u30bf\u306fAPI\u3067\u53d6\u5f97\u53ef\u80fd<\/h2>\n\n\n\n<p>\u305d\u3093\u306aGoogle\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u3059\u304c\u3001\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001\u7ba1\u7406\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u4ee5\u5916\u306b\u3001API\u306b\u3088\u308b\u53d6\u5f97\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eAPI\u3092\u4f7f\u3048\u3070\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u81ea\u52d5\u7684\u306b\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u3089\u304b\u3058\u3081\u6c7a\u3081\u3089\u308c\u305f\u6642\u9593\u306bAPI\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u3051\u3070\u3001\u5b9a\u70b9\u89b3\u6e2c\u7684\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eAPI\u3067\u306f\u3001\u7ba1\u7406\u753b\u9762\u3067\u306f\u78ba\u8a8d\u3057\u3065\u3089\u3044\u691c\u7d22\u30af\u30a8\u30ea\u00d7\u30da\u30fc\u30b8\u306e\u3088\u3046\u306a\u30af\u30ed\u30b9\u96c6\u8a08\u3057\u305f\u30c7\u30fc\u30bf\u3082\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u901a\u5e38\u306e\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u7ba1\u7406\u753b\u9762\u3067\u306f\u3001\u691c\u7d22\u30af\u30a8\u30ea\u3068\u30da\u30fc\u30b8\u306e\u30c7\u30fc\u30bf\u306f\u5225\u30bf\u30d6\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u500b\u3005\u306e\u691c\u7d22\u30af\u30a8\u30ea\u3067\u30da\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b\u3001\u307e\u305f\u306f\u30da\u30fc\u30b8\u500b\u5225\u3067\u306e\u691c\u7d22\u30af\u30a8\u30ea\u3092\u8907\u6570\u78ba\u8a8d\u3059\u308b\u3068\u3044\u3063\u305f\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u691c\u7d22\u30af\u30a8\u30ea\u3068\u30da\u30fc\u30b8\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u3088\u3046\u306a\u30af\u30ed\u30b9\u96c6\u8a08\u3092\u898b\u305f\u3044\u5834\u5408\u306f\u3001\u52a0\u5de5\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u300c\u691c\u7d22\u30af\u30a8\u30ea\u3068\u30da\u30fc\u30b8\u3092\u639b\u3051\u5408\u308f\u305b\u305f\u30af\u30ed\u30b9\u96c6\u8a08\u304c\u898b\u305f\u3044\u300d\u3001\u3053\u3093\u306a\u6642\u306bAPI\u3067\u3042\u308c\u3070\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3048\u3070\u3001\u53d6\u5f97\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306eAPI\u306e\u4f7f\u3044\u65b9\u30fb\u6709\u52b9\u5316\u624b\u9806<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u6709\u52b9\u5316\u306e\u65b9\u6cd5\u3084\u5229\u7528\u624b\u9806\u3092\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u307e\u3067API\u306b\u89e6\u308c\u305f\u3053\u3068\u304c\u306a\u3044\u4eba\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u3001\u8a73\u3057\u304f\u624b\u9806\u3092\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"toc_id_4_1\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u5229\u7528\u306e\u524d\u63d0\u6761\u4ef6<\/span><\/h3>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u59cb\u3081\u308b\u306b\u3042\u305f\u3063\u3066\u306f\u524d\u63d0\u6761\u4ef6\u3068\u3057\u3066\u3001<a href=\"https:\/\/console.cloud.google.com\/home\/dashboard\" target=\"_blank\" rel=\"noopener noreferrer\">Google Cloud Platrom(GCP)<\/a>\u306e\u5229\u7528\u767b\u9332\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>GCP\u306eAPI\u30b5\u30fc\u30d3\u30b9\u3078\u306e\uff11\u3064\u3068\u3057\u3066\u3001\u300cGoogle Search API\u300d\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001GCP\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u767b\u9332\u304c\u5fc5\u9808\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"403\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001.jpg\" alt=\"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI(Google Search Console API)\u5229\u7528\u306b\u306fGoogle Cloud Platform(GCP)\u306e\u5229\u7528\u767b\u9332\u304c\u5fc5\u9808\" class=\"wp-image-4588\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001-300x151.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001-768x387.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001-530x267.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001-565x285.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001-710x358.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_001-725x365.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u305f\u3060\u3001Google\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u3042\u308c\u3070\u3001GCP\u306e\u30da\u30fc\u30b8\u3067\u7c21\u5358\u306b\u5229\u7528\u767b\u9332\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u203b\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u524d\u63d0\u6761\u4ef6\u3068\u3057\u3066\u3001GCP\u3092\u5229\u7528\u3059\u308bGoogle\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n\n\n\n<p>\u5229\u7528\u767b\u9332\u5f8c\u306b\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9078\u629e\u300d\u304b\u3089GCP\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"401\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002.jpg\" alt=\"Google Cloud Platform(GCP)\u306e\u7ba1\u7406\u753b\u9762\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5229\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4e8b\u524d\u306b\u4f5c\u6210\" class=\"wp-image-4589\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002-300x150.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002-768x385.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002-530x266.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002-565x283.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002-710x356.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_002-725x363.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"551\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_003.jpg\" alt=\"Google Cloud Platform(GCP)\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5229\u7528\u3059\u308b\u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\" class=\"wp-image-4590\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_003.jpg 600w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_003-300x276.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_003-530x487.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_003-565x519.jpg 565w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>GCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u5b8c\u4e86\u3057\u305f\u3068\u3053\u308d\u3067\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u6709\u52b9\u5316\u306b\u9032\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"toc_id_4_2\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI(Google Search Console API)\u6709\u52b9\u5316\u624b\u9806<\/span><\/h3>\n\n\n\n<p>GCP\u306e\u5229\u7528\u767b\u9332\u3068\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u304c\u5b8c\u4e86\u3059\u308c\u3070\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u6709\u52b9\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\uff11\uff0eGCP\u4e0a\u306b\u3042\u308b<a href=\"https:\/\/console.cloud.google.com\/apis\/library\/searchconsole.googleapis.com?hl=ja\" target=\"_blank\" rel=\"noopener noreferrer\">Google Search Console API\u306e\u30da\u30fc\u30b8<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"533\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006.jpg\" alt=\"Google Search Console API\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u6709\u52b9\u5316\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\" class=\"wp-image-4593\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006-300x200.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006-768x512.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006-530x353.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006-565x376.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006-710x473.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_006-725x483.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff12\uff0e\u300c\u6709\u52b9\u306b\u3059\u308b\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203bGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u6709\u52b9\u306b\u3057\u305f\u304b\u3001\u4e0a\u90e8\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\uff13\uff0eGoogle Search Console API\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u300cAPI\u3092\u7121\u52b9\u306b\u3059\u308b\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u306e3Step\u3067Google Search Console API\u3092\u6709\u52b9\u5316\u3059\u308b\u4f5c\u696d\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u524d\u63d0\u6761\u4ef6\u3068\u3057\u3066\u3001GCP\u3092\u5229\u7528\u3059\u308bGoogle\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Google Search Console API\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u4f5c\u6210<\/h3>\n\n\n\n<p> \u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u6709\u52b9\u5316\u4f5c\u696d\u304c\u5b8c\u4e86\u3057\u3066\u3082\u3001API\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3046\u306b\u306fOAuth\u8a8d\u8a3c\u60c5\u5831\u304c\u5fc5\u8981\u3067\u3059\u3002 <\/p>\n\n\n\n<p>\u5f8c\u8ff0\u3059\u308bGoogle Apps Script(GAS)\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068GCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9023\u643a\u3059\u308b\u305f\u3081\u306b\u306f\u3001OAuth\u540c\u610f\u753b\u9762\u306e\u4f5c\u6210\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\uff11\uff0eGCP\u7ba1\u7406\u753b\u9762\u306e\u5de6\u30e1\u30cb\u30e5\u30fc\u300cAPI\u3068\u30b5\u30fc\u30d3\u30b9\u300d\u304b\u3089\u300cOAuth\u540c\u610f\u753b\u9762\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"451\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001.jpg\" alt=\"GCP\u3067Google Search Console API\u3092GAS\u3067\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306bOAuth\u540c\u610f\u753b\u9762\u3092\u4f5c\u6210\" class=\"wp-image-4636\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001-300x169.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001-768x433.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001-320x180.jpg 320w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001-530x299.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001-565x319.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001-710x400.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_001-725x409.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff12\uff0eOAuth\u540c\u610f\u753b\u9762\u672a\u4f5c\u6210\u306e\u5834\u5408\u3001\u4e0a\u306e\u30b9\u30af\u30b7\u30e7\u306e\u8868\u793a\u304c\u3055\u308c\u308b\u306e\u3067\u3001\u300c\u4f5c\u6210\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"470\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002.jpg\" alt=\"GCP\u306eGoogle Search Console API\u306eOAuth\u540c\u610f\u753b\u9762\u306e\u305f\u3081\u3001\u30a2\u30d7\u30ea\u540d\u3068\u9023\u7d61\u5148\u3092\u5165\u529b\" class=\"wp-image-4637\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002-300x176.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002-768x451.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002-530x311.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002-565x332.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002-710x417.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_002-725x426.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff13\uff0eOAuth\u540c\u610f\u753b\u9762\u3067\u5fc5\u9808\u9805\u76ee\u3068\u306a\u308b\u300c\u30a2\u30d7\u30ea\u540d\u300d\u3092\u4efb\u610f\u306e\u540d\u524d\u3067\u5165\u529b\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u30b5\u30dd\u30fc\u30c8\u30e1\u30fc\u30eb\u306f\u5229\u7528\u3057\u3066\u3044\u308bGoogle\u30a2\u30ab\u30a6\u30f3\u30c8\u306eGmail\u30a2\u30c9\u30ec\u30b9\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"516\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003.jpg\" alt=\"GCP\u306eOAuth\u540c\u610f\u753b\u9762\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u3001\u9023\u7d61\u5148\u3068\u3057\u3066\u81ea\u5206\u306eGoogle\u30a2\u30ab\u30a6\u30f3\u30c8\u306eGmaiil\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\" class=\"wp-image-4638\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003-300x194.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003-768x495.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003-530x342.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003-565x364.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003-710x458.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_003-725x468.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff14\uff0e\u30b9\u30af\u30ed\u30fc\u30eb\u3059\u308b\u3068\u300c\u30c7\u30a3\u30d9\u30ed\u30c3\u30d1\u30fc\u306e\u9023\u7d61\u5148\u60c5\u5831\u300d\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u5148\u7a0b\u3068\u540c\u3058Gmail\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3001\u300c\u4fdd\u5b58\u3057\u3066\u6b21\u3078\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004.jpg\" alt=\"GCP\u306eOAuth\u540c\u610f\u753b\u9762\u306e\u30b9\u30b3\u30fc\u30d7\u8a2d\u5b9a\u306f\u4e0d\u8981\u306a\u306e\u3067\u3001\u4f55\u3082\u8a2d\u5b9a\u305b\u305a\u306b\u300c\u4fdd\u5b58\u3057\u3066\u6b21\u3078\u300d\u3092\u9078\u629e\" class=\"wp-image-4639\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004.jpg 600w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004-150x150.jpg 150w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004-300x300.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004-75x75.jpg 75w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004-100x100.jpg 100w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004-530x530.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_004-565x565.jpg 565w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>\uff15\uff0e\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u5229\u7528\u3060\u3051\u3067\u306fOAuth\u540c\u610f\u753b\u9762\u306e\u30b9\u30b3\u30fc\u30d7\u8a2d\u5b9a\u306f\u4e0d\u8981\u306a\u306e\u3067\u3001\u300c\u4fdd\u5b58\u3057\u3066\u6b21\u3078\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"528\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005.jpg\" alt=\"GCP\u306eOAuth\u540c\u610f\u753b\u9762\u4f5c\u6210\u3067\u3001\u30c6\u30b9\u30c8\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u81ea\u5206\u306eGmail\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\" class=\"wp-image-4640\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005-300x198.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005-768x507.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005-530x350.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005-565x373.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005-710x469.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_005-725x479.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff16\uff0e\u30c6\u30b9\u30c8\u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a\u3067\u300cADD USERS\u300d\u3092\u9078\u629e\u3057\u3001\u81ea\u5206\u306eGoogle\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5165\u529b\u3001\u300c\u4fdd\u5b58\u3057\u3066\u6b21\u3078\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u305d\u306e\u5206\u3060\u3051ADD USERS\u3067\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"463\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006.jpg\" alt=\"GCP\u306eOAuth\u540c\u610f\u753b\u9762\u306e\u8a2d\u5b9a\u5b8c\u4e86\u3067\u3001Google Search Console API\u3092Google Apps Script(GAS)\u304b\u3089\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u304b\u4ed8\u4e0e\" class=\"wp-image-4641\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006-300x174.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006-768x444.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006-530x307.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006-565x327.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006-710x411.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211112_auto_006-725x420.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u4ee5\u4e0a\u306e\u624b\u9806\u3067\u3001GCP\u306eOAuth\u540c\u610f\u753b\u9762\u304c\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067Google Search Console API\u306bGAS\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GAS\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5b9f\u884c\u3059\u308b\u624b\u9806<\/h2>\n\n\n\n<p>\u524d\u6bb5\u306e\u4f5c\u696d\u3067Google Cloud Platform(GCP)\u306eAPI\u7ba1\u7406\u753b\u9762\u304b\u3089\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u6709\u52b9\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Google Apps Script(GAS)\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>GAS\u3067GCP\u306e\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001\u2460GCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7d10\u4ed8\u3051\u3068\u2461\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u6b63\u306e2Step\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"toc_id_5_1\">\u4e8b\u524d\u8a2d\u5b9a\u2460GCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7d10\u4ed8\u3051<\/span><\/h3>\n\n\n\n<p>\uff11\uff0eGoogle Search Console API\u304b\u3089\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u5404\u7a2e\u6570\u5024\u30ec\u30dd\u30fc\u30c8\u3092\u53d6\u5f97\u3057\u3066\u3001\u4fdd\u5b58\u3059\u308b\u305f\u3081\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u7d10\u4ed8\u3044\u305f\u30b3\u30f3\u30c6\u30ca\u30d0\u30a4\u30f3\u30c9\u578b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"410\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014.jpg\" alt=\"\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u958b\u304d\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306e\u300c\u62e1\u5f35\u6a5f\u80fd\u300d\u304b\u3089\u300cApps Script\u300d\u3092\u9078\u629e\" class=\"wp-image-4601\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014-300x154.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014-768x394.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014-530x272.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014-565x290.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014-710x364.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_014-725x372.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u203b\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u5f8c\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306e\u300c\u62e1\u5f35\u6a5f\u80fd\uff1eApps Script\u300d\u3092\u9078\u629e<\/p>\n\n\n\n<p>\uff12\uff0e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u306e\u4e00\u756a\u4e0b\u306b\u3042\u308b\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"397\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008.jpg\" alt=\"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u6709\u52b9\u306b\u3057\u305fGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7d10\u4ed8\u3051\u308b\u305f\u3081\u3001Google Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf(IDE)\u3067\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u8a2d\u5b9a\u3092\u9078\u629e\" class=\"wp-image-4595\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008-300x149.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008-768x381.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008-530x263.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008-565x280.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008-710x352.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_008-725x360.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff13\uff0eGoogle Cloud Platform(GCP)\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5909\u66f4\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"401\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009.jpg\" alt=\"Google Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067Google Cloud Platform(GCP)\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u306e\u7d10\u4ed8\u3051\u8a2d\u5b9a\u753b\u9762\" class=\"wp-image-4596\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009-300x150.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009-768x385.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009-530x266.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009-565x283.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009-710x356.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_009-725x363.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff14\uff0eGCP\u306e\u7ba1\u7406\u753b\u9762\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u6709\u52b9\u306b\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u756a\u53f7\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"396\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_007.jpg\" alt=\"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u756a\u53f7\u3092\u30b3\u30d4\u30fc\" class=\"wp-image-4594\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_007.jpg 600w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_007-300x198.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_007-530x350.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_007-565x373.jpg 565w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>\u203b\u4e0a\u56f3\u306e\u8d64\u67a0\u90e8\u5206\u306b\u3042\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u756a\u53f7\u3092\u30b3\u30d4\u30fc\u3057\u3066\u63a7\u3048\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\uff15\uff0eGCP\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u756a\u53f7\u5165\u529b\u6b04\u306b\u5148\u7a0b\u63a7\u3048\u305f\u756a\u53f7\u3092\u8cbc\u308a\u4ed8\u3051\u3001\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"404\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010.jpg\" alt=\"Google Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067Google Cloud Platform(GCP)\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7d10\u4ed8\u3051\u8a2d\u5b9a\u3067\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u6709\u52b9\u306b\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u756a\u53f7\u3092\u5165\u529b\" class=\"wp-image-4597\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010-300x152.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010-768x388.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010-530x268.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010-565x285.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010-710x359.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_010-725x366.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u4ee5\u4e0a\u3067\u3001GAS\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3001Google Search Console API\u3092\u6709\u52b9\u306b\u3057\u305fGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7d10\u4ed8\u3051\u308b\u4f5c\u696d\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<p>GCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u6b63\u5e38\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u4e0b\u306e\u30b9\u30af\u30b7\u30e7\u306e\u8d64\u7dda\u3088\u3046\u306b\u5165\u529b\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u756a\u53f7\u304c\u30bb\u30c3\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"420\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011.jpg\" alt=\"Google Apps Script(GAS)\u306eGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u8a2d\u5b9a\u304c\u6b63\u5e38\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u8868\u793a\" class=\"wp-image-4598\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011-300x158.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011-768x403.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011-530x278.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011-565x297.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011-710x373.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_011-725x381.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"toc_id_5_2\">\u4e8b\u524d\u8a2d\u5b9a\u2461\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u6b63<\/span><\/h3>\n\n\n\n<p>Google Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306bGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7d10\u4ed8\u3051\u305f\u5834\u5408\u3001GAS\u306e\u5404\u7a2e\u30b5\u30fc\u30d3\u30b9\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8a8d\u8a3c\u304c\u81ea\u52d5\u3067\u306f\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u3057\u3001\u81ea\u5206\u3067\u5404\u7a2e\u306eOAuth\u30b9\u30b3\u30fc\u30d7\u3092\u7ba1\u7406\u3059\u308b\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3067\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30b3\u30f3\u30c6\u30ca\u30d0\u30a4\u30f3\u30c9\u578bGAS\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3042\u3063\u3066\u3082\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u7528\u306b\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u8ffd\u52a0\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\uff11\uff0eGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7d10\u4ed8\u3051\u540c\u69d8\u306b\u3001GAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\uff12\uff0e\u300cappsscript.json\u300d\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30a8\u30c7\u30a3\u30bf\u3067\u8868\u793a\u3059\u308b\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30e1\u30cb\u30e5\u30fc\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"470\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012.jpg\" alt=\"Google Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067OAuth\u30b9\u30b3\u30fc\u30d7\u3092\u8a2d\u5b9a\u3059\u308bappscript.json\u3092\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u8868\u793a\u6709\u52b9\u5316\" class=\"wp-image-4599\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012-300x176.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012-768x451.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012-530x311.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012-565x332.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012-710x417.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_012-725x426.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\uff13\uff0e\u30de\u30cb\u30e5\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067oauthScopes\u3067\u8a8d\u8a3c\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203bappsscript.json\u30d5\u30a1\u30a4\u30eb\u5168\u4f53\u306e\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"348\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013.jpg\" alt=\"Google Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067appscript.json\u3092\u7de8\u96c6\u3057\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI(Google Search Console API)\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5fc5\u8981\u306a\u6a29\u9650\u3092\u76f4\u63a5\u7de8\u96c6\" class=\"wp-image-4600\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013-300x131.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013-768x334.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013-530x231.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013-565x246.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013-710x309.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_013-725x315.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-json\"><code class=\"language-json\">{\n  \"timeZone\": \"Etc\/GMT-9\",\n  \"dependencies\": {\n  },\n  \"exceptionLogging\": \"STACKDRIVER\",\n  \"oauthScopes\": [\"https:\/\/www.googleapis.com\/auth\/spreadsheets\", \"https:\/\/www.googleapis.com\/auth\/webmasters\",\"https:\/\/www.googleapis.com\/auth\/script.external_request\"],\n  \"runtimeVersion\": \"V8\"\n}<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u7de8\u96c6\u6a29\u9650(https:\/\/www.googleapis.com\/auth\/spreadsheets)<\/li><li>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u6a29\u9650(https:\/\/www.googleapis.com\/auth\/webmasters)<\/li><li>\u5916\u90e8URL\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u6a29\u9650(https:\/\/www.googleapis.com\/auth\/script.external_request)<\/li><\/ol>\n\n\n\n<p>\u4ee5\u4e0a\u306e\uff13\u3064\u5229\u7528\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u30b9\u30b3\u30fc\u30d7\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306f\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308bGAS\u30b3\u30fc\u30c9\u3092\u7528\u610f\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u691c\u7d22\u30af\u30a8\u30ea\u00d7\u30da\u30fc\u30b8\u306e\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u6307\u6a19\u3092\u53d6\u5f97\u3059\u308bGAS\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p>Google Apps Script(GAS)\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u304d\u308b\u6e96\u5099\u304c\u5b8c\u4e86\u3057\u305f\u3068\u3053\u308d\u3067\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308bGAS\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u691c\u7d22\u30af\u30a8\u30ea\u3068\u30da\u30fc\u30b8(\u8a18\u4e8bURL)\u306e\u30af\u30ed\u30b9\u96c6\u8a08\u3057\u305f\u7d50\u679c(\u30af\u30ea\u30c3\u30af\u6570\u3001\u8868\u793a\u56de\u6570\u3001\u63b2\u8f09\u9806\u4f4d\u3001CTR)\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u3001\u30b3\u30f3\u30c6\u30ca\u30d0\u30a4\u30f3\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3044\u3001\u305d\u306e\u7d50\u679c\u3092Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u51fa\u529b\u3059\u308bGAS\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"680\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015.jpg\" alt=\"Google Apps Script(GAS)\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI(Google Search ConsoleAPI)\u306e\u691c\u7d22\u30af\u30a8\u30ea\u3084\u30af\u30ea\u30c3\u30af\u6570\u3001\u8868\u793a\u56de\u6570\u3001\u63b2\u8f09\u9806\u4f4d\u3092\u53d6\u5f97\u3057\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" class=\"wp-image-4602\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-300x170.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-768x435.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-1024x580.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-320x180.jpg 320w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-530x300.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-565x320.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-710x402.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_015-725x411.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 getSearchConsoleApi() {\n  \/\/GAS\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u7d10\u3065\u304f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30b7\u30fc\u30c8\u8aad\u307f\u8fbc\u307f\n  let mySheet = SpreadsheetApp.getActiveSheet();\n  \/\/\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u53d6\u5f97\u3059\u308b\u958b\u59cb\u65e5\u30fb\u7d42\u4e86\u65e5\u3092\u5b9a\u7fa9\u203b\u53d6\u5f97\u3057\u305f\u3044\u671f\u9593\u3092\u8a2d\u5b9a\n  let startDate = \"2021-10-01\";\n  let endDate = \"2021-10-31\";\n  \/\/\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u53d6\u5f97\u3059\u308b\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u5b9a\u7fa9\u203b\u66f8\u304d\u63db\u3048\u5fc5\u9808\n  let siteDomain = \"\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u767b\u9332\u3057\u3066\u3044\u308b\u30c9\u30e1\u30a4\u30f3\u540d\";\n  \/\/\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308bAPI\u306eURL\u3092\u8a2d\u5b9a\u3059\u308b\n  let apiURL = 'https:\/\/www.googleapis.com\/webmasters\/v3\/sites\/https%3A%2F%2F' + siteDomain + '%2F\/searchAnalytics\/query';\n  \/\/\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u53d6\u5f97\u3059\u308b\u6700\u5927\u30af\u30a8\u30ea\u6570\u3092\u8a2d\u5b9a\u3059\u308b\n  let maxQuery = 1000;\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    'startDate' : startDate,\n    'endDate': endDate,\n    \"dimensions\" : [\"page\",\"query\"],\n    \"rowLimit\" : maxQuery\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  \/\/JSON\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3057\u3066query\u3092\u914d\u5217\u306b\u4fdd\u5b58\u3059\u308b\u51e6\u7406\u3092for\u30eb\u30fc\u30d7\u3067\u884c\u3046\n  let queryData = [];\n  for(i=0;i&lt;maxQuery;i++){\n    \/\/queryData\u30922\u6b21\u5143\u914d\u5217\u306b\u62e1\u5f35\u3059\u308b\n    queryData[i] = []; \n    \/\/json\u5909\u6570\u306e\u30c7\u30fc\u30bf\u3092queryData\u306e\u914d\u5217\u306b\u683c\u7d0d\u3059\u308b\n    queryData[i][0] = json[\"rows\"][i][\"keys\"][1];\n    queryData[i][1] = json[\"rows\"][i][\"keys\"][0];\n    queryData[i][2] = json[\"rows\"][i][\"clicks\"];\n    queryData[i][3] = json[\"rows\"][i][\"impressions\"];\n    queryData[i][4] = json[\"rows\"][i][\"position\"];\n    queryData[i][5] = json[\"rows\"][i][\"ctr\"];\n  }\n  \/\/\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306bquery\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u307f\n  mySheet.getRange(2, 1, queryData.length, queryData[0].length).setValues(queryData);\n  \/\/\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u306e\u9806\u756a\u3092\u8868\u793a\u56de\u6570\u3067\u964d\u9806\u3067\u4e26\u3073\u66ff\u3048\n  mySheet.getRange(2, 1, queryData.length, queryData[0].length).sort({column: 4, ascending: false});\n  \/\/\u30af\u30ea\u30c3\u30af\u7387\u306eCTR\u306e\u6570\u5024\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\uff05\u306b\u8a2d\u5b9a\n  mySheet.getRange(2, 6, queryData.length).setNumberFormat('0.00%');\n}<\/code><\/pre>\n\n\n\n<p>5,6\u884c\u76ee\u3067\u96c6\u8a08\u671f\u9593\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u53d6\u5f97\u3057\u305f\u3044\u65e5\u4ed8\u3092\u8a2d\u5b9a\u3057\u30018\u884c\u76ee\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3067\u53d6\u5f97\u3059\u308b\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306b\u306fUrlFetchApp\u30af\u30e9\u30b9\u306efetch\u30e1\u30bd\u30c3\u30c9\u3067HTTP POST\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u969b\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u5909\u6570\u3067\u3001headers\u306b\u8a8d\u8a3c\u60c5\u5831\u3092\u53d6\u5f97\u3057\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u3063\u3066\u4e8b\u524d\u8a2d\u5b9a\u3057\u305fGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7d10\u4ed8\u3051\u60c5\u5831\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u8a8d\u8a3c\u3055\u308c\u3001 \u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u8a8d\u53ef\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u304a\u3001\u521d\u3081\u3066GAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u306f\u3001\u5404\u7a2e\u30b5\u30fc\u30d3\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u306e\u8a31\u53ef\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress 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\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"swVstpXtPi\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=609\">Google Apps Script(GAS)\u5165\u9580 \u521d\u56de\u30b3\u30fc\u30c9\u5b9f\u884c\u6642\u306e\u627f\u8a8d\u30fb\u8a31\u53ef\u65b9\u6cd5\u3092\u89e3\u8aac\u3010\u56f3\u8aac\u3011<\/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;Google Apps Script(GAS)\u5165\u9580 \u521d\u56de\u30b3\u30fc\u30c9\u5b9f\u884c\u6642\u306e\u627f\u8a8d\u30fb\u8a31\u53ef\u65b9\u6cd5\u3092\u89e3\u8aac\u3010\u56f3\u8aac\u3011&#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=609&#038;embed=true#?secret=FKov3grTQQ#?secret=swVstpXtPi\" data-secret=\"swVstpXtPi\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u306e\u8a18\u4e8b\u3067\u521d\u56de\u30b3\u30fc\u30c9\u5b9f\u884c\u6642\u306e\u627f\u8a8d\u30fb\u8a31\u53ef\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308bGAS\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001API\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3044\u3001API\u304b\u3089\u53d6\u5f97\u3057\u305f\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u5404\u7a2e\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"613\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016.jpg\" alt=\"Google Apps Script(GAS)\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI(Google Search Console API)\u3092\u5b9f\u884c\u3057\u3001\u5404\u7a2e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u51fa\u529b\u3057\u305f\u7d50\u679c\" class=\"wp-image-4603\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016-768x392.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016-1024x523.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016-530x271.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016-565x289.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016-710x363.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/11\/20211107_auto_016-725x370.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u691c\u7d22\u30af\u30a8\u30ea\u3068\u30da\u30fc\u30b8URL\u3092\u30af\u30ed\u30b9\u96c6\u8a08\u3057\u305f\u30af\u30ea\u30c3\u30af\u6570\u3084\u8868\u793a\u56de\u6570\u3001\u63b2\u8f09\u9806\u4f4d\u306e\u30c7\u30fc\u30bf\u3092\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>GAS\u3067\u53d6\u5f97\u3059\u308b\u65e5\u4ed8\u3092\u5909\u3048\u308b\u3053\u3068\u3067\u3001\u96c6\u8a08\u671f\u9593\u3092\u5909\u66f4\u3057\u305f\u308a\u3001URL\u5358\u4f4d\u3067\u30bd\u30fc\u30c8\u3057\u3066\u3069\u3046\u3044\u3063\u305f\u691c\u7d22\u30ef\u30fc\u30c9\u3067\u6d41\u5165\u304c\u3042\u308b\u304b\u5206\u6790\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u6ce8\u610f\u70b9<\/h2>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u7ba1\u7406\u753b\u9762\u3067\u306f\u53d6\u5f97\u3057\u305a\u3089\u3044\u30af\u30ed\u30b9\u96c6\u8a08\u306e\u30c7\u30fc\u30bf\u3092\u7c21\u5358\u306b\u53d6\u5f97\u3067\u304d\u308bAPI\u3067\u3059\u304c\u3001\u6ce8\u610f\u3057\u305f\u3044\u70b9\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u4f7f\u3046\u4e0a\u3067\u77e5\u3063\u3066\u304a\u3044\u3066\u307b\u3057\u3044\u30dd\u30a4\u30f3\u30c8\u30923\u70b9\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Google Discover(\u901a\u79f0Google\u7832)\u306e\u60c5\u5831\u306f\u53d6\u5f97\u4e0d\u53ef<\/h3>\n\n\n\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u3001Google\u30a2\u30d7\u30ea\u3084Chrome\u30a2\u30d7\u30ea\u3067\u30e6\u30fc\u30b6\u30fc\u306e\u8208\u5473\u30fb\u95a2\u5fc3\u306b\u5fdc\u3058\u3066\u8868\u793a\u3055\u308c\u308bGoogle Discover(\u901a\u79f0Google\u7832)\u306e\u60c5\u5831\u306f\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3067\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u30012021\u5e74\u306b\u65b0\u3057\u304f\u5b9f\u88c5\u3055\u308c\u305fGoogle News\u306e\u63b2\u8f09\u60c5\u5831\u3082\u540c\u69d8\u306b\u53d6\u5f97\u3067\u304d\u306a\u3044\u3053\u3068\u7559\u610f\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a6\u30a7\u30d6\u306b\u95a2\u3059\u308b\u4e3b\u306a\u6307\u6a19\u306a\u3069\u3082\u53d6\u5f97\u3067\u304d\u306a\u3044<\/h3>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306f\u304b\u3064\u3066\u3069\u3046\u3044\u3063\u305f\u691c\u7d22\u30ef\u30fc\u30c9\u3067\u3069\u308c\u3050\u3089\u3044\u306e\u9806\u4f4d\u306b\u306a\u308a\u3001\u3069\u308c\u3050\u3089\u3044\u30af\u30ea\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u304b\u306e\u691c\u7d22\u306b\u7279\u5316\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u73fe\u5728\u306f\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3068\u3044\u3046\u9805\u76ee\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30a2\u30a6\u30a7\u30d6\u30d0\u30a4\u30bf\u30eb\u3068\u547c\u3070\u308c\u308b\u30a6\u30a7\u30d6\u306b\u95a2\u3059\u308b\u4e3b\u306a\u6307\u6a19\u306b\u3064\u3044\u3066\u3082\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u7ba1\u7406\u753b\u9762\u304b\u3089\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u3053\u306e\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306b\u3042\u308b\u30a6\u30a7\u30d6\u306b\u95a2\u3059\u308b\u4e3b\u306a\u6307\u6a19\u3084\u30e2\u30d0\u30a4\u30eb\u30e6\u30fc\u30b6\u30fc\u30d3\u30ea\u30c6\u30a3\u306e\u6570\u5024\u306f\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u304b\u3089\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c7\u30fc\u30bf\u5168\u91cf\u53d6\u5f97\u306f\u8ca0\u8377\u5927<\/h3>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c7\u30fc\u30bf\u306f\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u308b\u671f\u9593\u304c\u9577\u3044\u307b\u3069\u3001\u3055\u3089\u306b\u30b5\u30a4\u30c8\u898f\u6a21\u304c\u5927\u304d\u3044\u307b\u3069\u53d6\u5f97\u3059\u308b\u30c7\u30fc\u30bf\u91cf\u306f\u5897\u5927\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6708\u9593\u6570\u5341\uff5e\u6570\u767e\u4e07PV\u306a\u3069\u304c\u3042\u308b\u5927\u898f\u6a21\u30b5\u30a4\u30c8\u3060\u3068\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3067\u30c7\u30fc\u30bf\u306e\u5168\u91cf\u3092\u53d6\u5f97\u3059\u308b\u3068\u81a8\u5927\u3067\u3001\u5927\u304d\u306a\u8ca0\u8377\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Google Apps Script(GAS)\u306f6\u5206\u3068\u3044\u3046\u5b9f\u884c\u5236\u9650\u304c\u8a2d\u3051\u3089\u308c\u3066\u3044\u308b\u305f\u3081\u30016\u5206\u4ee5\u4e0a\u51e6\u7406\u304c\u304b\u304b\u308b\u3068\u3001\u5f37\u5236\u7684\u306b\u51e6\u7406\u304c\u7d42\u4e86\u3059\u308b\u4ed5\u69d8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c7\u30fc\u30bf\u306f\u5168\u91cf\u53d6\u5f97\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\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\u3092Google Apps Script(GAS)\u3067\u5b9f\u884c\u3057\u3001\u691c\u7d22\u30ef\u30fc\u30c9\u306e\u8868\u793a\u56de\u6570\u3084\u30af\u30ea\u30c3\u30af\u6570\u3001\u63b2\u8f09\u9806\u4f4d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306f\u3001GAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u306b\u3042\u308b\u30b5\u30fc\u30d3\u30b9\u304b\u3089\u8ffd\u52a0\u3067\u304d\u305a\u3001Google Cloud Platform\u304b\u3089\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001API\u5b9f\u884c\u6a29\u9650\u3092GAS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u901a\u5e38\u3088\u308a\u3082\u8a2d\u5b9a\u3059\u308b\u9805\u76ee\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u3067\u3082\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u3092\u5229\u7528\u3059\u308b\u3088\u308a\u3082GAS\u306e\u307b\u3046\u304c\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u5b9a\u671f\u7684\u306b\u53d6\u5f97\u3059\u308b\u5834\u5408\u306b\u3001GAS\u00d7\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30ebAPI\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u4fbf\u5229\u306a\u306e\u3067\u3001\u305c\u3072\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SEO\u5bfe\u7b56\u3059\u308b\u4e0a\u3067\u5fc5\u9808\u3068\u3082\u3044\u3048\u308bGoogle\u306e\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u3059\u304c\u3001Search Console API\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u3053\u306eSearch Console API\u306e\u4f7f\u3044\u65b9\u30fb\u6709\u52b9\u5316\u306e\u624b\u9806\u306b\u52a0\u3048\u3001Google Apps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4603,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2],"tags":[14,634,784],"class_list":["post-3294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-gas","tag-gas","tag-search-console","tag-api"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3294","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=3294"}],"version-history":[{"count":12,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3294\/revisions"}],"predecessor-version":[{"id":4643,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3294\/revisions\/4643"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/4603"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}