{"id":768,"date":"2024-05-22T15:45:00","date_gmt":"2024-05-22T13:45:00","guid":{"rendered":"https:\/\/nilsrooijmans.com\/daily\/?p=768"},"modified":"2024-05-23T11:04:11","modified_gmt":"2024-05-23T09:04:11","slug":"should-you-configure-mcc-scripts-via-a-google-sheet","status":"publish","type":"post","link":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet","title":{"rendered":"Should you configure MCC scripts via a Google Sheet?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Here&#8217;s a question that rolled in from one of the participants of my last webinar on Google Ads scripts:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><em>&#8220;If you manage more than 20 Google ads accounts, would you recommend to make use of MCC scripting via a Google spreadsheet where you can add the accounts IDs and thresholds?\u00a0If so, what are the steps to realise this as it is an advanced method?&#8221;<\/em><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Using a Google Sheet to manage the client accounts on which your script should run is a great way to keep your scripts setup organized.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the scripts that run in my manager account, I like to use a Google Sheet that has a &#8216;config&#8217; sheet inside the spreadsheet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The config sheet has multiple columns, typically organized as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Column A: holds the IDs of the client accounts on which your script should run (REQUIRED)<\/li>\n\n\n\n<li>Column B: holds the label for campaigns in the client accounts on which your script should run (OPTIONAL)<\/li>\n\n\n\n<li>Column C: holds an additional filter for the campaigns; it holds a REGEXP to match campaign names for campaigns in the client accounts on which your script should run (OPTIONAL)<\/li>\n\n\n\n<li>Column D&#8230;N: hold the configuration variables for the script logic. Examples: click thresholds, ROAS targets, &#8216;out-of-stock&#8217; strings landing page HTML, third-party API keys<\/li>\n\n\n\n<li>Column O: holds the spreadsheet URL for the output report<\/li>\n\n\n\n<li>Column P: holds the email addresses where the output should be sent<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s an example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1161\" height=\"348\" src=\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png\" alt=\"\" class=\"wp-image-769\" srcset=\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png 1161w, https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18-300x90.png 300w, https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18-1024x307.png 1024w, https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18-768x230.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When the script in my manager account runs, it first reads all the information in this &#8216;config&#8217; sheet inside the spreadsheet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then, it executes (in parallel) the script logic, for each individual client account in column A, using the config variables in that row for that specific client ID.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Everything is nicely organized in this one sheet. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No more tinkering with multiple settings in multiple client accounts!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Happy scripting \ud83d\ude42<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Nils<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a question that rolled in from one of the participants of my last webinar on Google Ads scripts: &#8220;If you manage more than 20 Google ads accounts, would you recommend to make use of MCC scripting via a Google spreadsheet where you can add the accounts IDs and thresholds?\u00a0If so, what are the steps &hellip; <a href=\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Should you configure MCC scripts via a Google Sheet?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-768","post","type-post","status-publish","format-standard","hentry","category-google-ads"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Should you configure MCC scripts via a Google Sheet? - Nils Rooijmans<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Should you configure MCC scripts via a Google Sheet? - Nils Rooijmans\" \/>\n<meta property=\"og:description\" content=\"Here&#8217;s a question that rolled in from one of the participants of my last webinar on Google Ads scripts: &#8220;If you manage more than 20 Google ads accounts, would you recommend to make use of MCC scripting via a Google spreadsheet where you can add the accounts IDs and thresholds?\u00a0If so, what are the steps &hellip; Continue reading &quot;Should you configure MCC scripts via a Google Sheet?&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\" \/>\n<meta property=\"og:site_name\" content=\"Nils Rooijmans\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-22T13:45:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-23T09:04:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png\" \/>\n<meta name=\"author\" content=\"Nils Rooijmans\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nils Rooijmans\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#article\",\"isPartOf\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\"},\"author\":{\"name\":\"Nils Rooijmans\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\"},\"headline\":\"Should you configure MCC scripts via a Google Sheet?\",\"datePublished\":\"2024-05-22T13:45:00+00:00\",\"dateModified\":\"2024-05-23T09:04:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\"},\"wordCount\":319,\"publisher\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\"},\"image\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage\"},\"thumbnailUrl\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png\",\"articleSection\":[\"Google Ads\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\",\"url\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\",\"name\":\"Should you configure MCC scripts via a Google Sheet? - Nils Rooijmans\",\"isPartOf\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage\"},\"image\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage\"},\"thumbnailUrl\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png\",\"datePublished\":\"2024-05-22T13:45:00+00:00\",\"dateModified\":\"2024-05-23T09:04:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage\",\"url\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png\",\"contentUrl\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png\",\"width\":1161,\"height\":348},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/nilsrooijmans.com\/daily\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Should you configure MCC scripts via a Google Sheet?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#website\",\"url\":\"https:\/\/nilsrooijmans.com\/daily\/\",\"name\":\"Nils Rooijmans Daily Newsletter - Google Ads\",\"description\":\"Daily emails to boost your Google Ads Performance\",\"publisher\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nilsrooijmans.com\/daily\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\",\"name\":\"Nils Rooijmans\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg\",\"contentUrl\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg\",\"width\":300,\"height\":300,\"caption\":\"Nils Rooijmans\"},\"logo\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/\"},\"description\":\"Google Ads Performance Architect with a passion for PPC Automation &amp; AI, in particular via Google Ads Scripts.\",\"sameAs\":[\"https:\/\/nilsrooijmans.com\/\",\"https:\/\/www.linkedin.com\/in\/nilsrooijmans\/\"],\"url\":\"https:\/\/nilsrooijmans.com\/daily\/author\/nils\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Should you configure MCC scripts via a Google Sheet? - Nils Rooijmans","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet","og_locale":"en_US","og_type":"article","og_title":"Should you configure MCC scripts via a Google Sheet? - Nils Rooijmans","og_description":"Here&#8217;s a question that rolled in from one of the participants of my last webinar on Google Ads scripts: &#8220;If you manage more than 20 Google ads accounts, would you recommend to make use of MCC scripting via a Google spreadsheet where you can add the accounts IDs and thresholds?\u00a0If so, what are the steps &hellip; Continue reading \"Should you configure MCC scripts via a Google Sheet?\"","og_url":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet","og_site_name":"Nils Rooijmans","article_published_time":"2024-05-22T13:45:00+00:00","article_modified_time":"2024-05-23T09:04:11+00:00","og_image":[{"url":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png","type":"","width":"","height":""}],"author":"Nils Rooijmans","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Nils Rooijmans","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#article","isPartOf":{"@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet"},"author":{"name":"Nils Rooijmans","@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0"},"headline":"Should you configure MCC scripts via a Google Sheet?","datePublished":"2024-05-22T13:45:00+00:00","dateModified":"2024-05-23T09:04:11+00:00","mainEntityOfPage":{"@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet"},"wordCount":319,"publisher":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0"},"image":{"@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage"},"thumbnailUrl":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png","articleSection":["Google Ads"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet","url":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet","name":"Should you configure MCC scripts via a Google Sheet? - Nils Rooijmans","isPartOf":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage"},"image":{"@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage"},"thumbnailUrl":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png","datePublished":"2024-05-22T13:45:00+00:00","dateModified":"2024-05-23T09:04:11+00:00","breadcrumb":{"@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#primaryimage","url":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png","contentUrl":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/image-18.png","width":1161,"height":348},{"@type":"BreadcrumbList","@id":"https:\/\/nilsrooijmans.com\/daily\/should-you-configure-mcc-scripts-via-a-google-sheet#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nilsrooijmans.com\/daily"},{"@type":"ListItem","position":2,"name":"Should you configure MCC scripts via a Google Sheet?"}]},{"@type":"WebSite","@id":"https:\/\/nilsrooijmans.com\/daily\/#website","url":"https:\/\/nilsrooijmans.com\/daily\/","name":"Nils Rooijmans Daily Newsletter - Google Ads","description":"Daily emails to boost your Google Ads Performance","publisher":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nilsrooijmans.com\/daily\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0","name":"Nils Rooijmans","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/","url":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg","contentUrl":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg","width":300,"height":300,"caption":"Nils Rooijmans"},"logo":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/"},"description":"Google Ads Performance Architect with a passion for PPC Automation &amp; AI, in particular via Google Ads Scripts.","sameAs":["https:\/\/nilsrooijmans.com\/","https:\/\/www.linkedin.com\/in\/nilsrooijmans\/"],"url":"https:\/\/nilsrooijmans.com\/daily\/author\/nils"}]}},"_links":{"self":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts\/768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/comments?post=768"}],"version-history":[{"count":1,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts\/768\/revisions"}],"predecessor-version":[{"id":770,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts\/768\/revisions\/770"}],"wp:attachment":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/media?parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/categories?post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/tags?post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}