ภาพรวมผลิตภัณฑ์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สคริปต์ Google Ads ช่วยให้คุณจัดการและค้นหาข้อมูล Google Ads โดยอัตโนมัติได้
โดยใช้ JavaScript ใน IDE ที่อิงตามเบราว์เซอร์ ฟีเจอร์ส่วนใหญ่ของ Google Ads พร้อมใช้งานในสคริปต์ Google Ads ผ่านการเรียก mutate
และ search
คุณสามารถใช้สคริปต์เพื่อทำให้ขั้นตอนทั่วไปเป็นไปโดยอัตโนมัติหรือโต้ตอบกับ
ข้อมูลภายนอกสําหรับบัญชี Google Ads ตั้งแต่ 1 บัญชีไปจนถึงหลายบัญชี
เหตุใดจึงควรใช้สคริปต์
สคริปต์ Google Ads อาจเหมาะกับคุณในกรณีต่อไปนี้
ข้อกำหนดเบื้องต้น
คุณเพียงแค่ต้องมีความคุ้นเคยกับ JavaScript ในระดับเริ่มต้นเท่านั้น เนื่องจาก IDE จะช่วยไฮไลต์ไวยากรณ์ เติมข้อความอัตโนมัติ และแสดงตัวอย่าง คุณเพียงแค่ต้องมีบัญชี Google Ads เพื่อเริ่มเขียนสคริปต์แรก
ความคิดเห็น
หากมีความคิดเห็นเกี่ยวกับสคริปต์ Google Ads โปรดแจ้งให้เราทราบ ติดต่อเราทาง Discord
หากต้องการความช่วยเหลือ โปรดติดต่อทีมสนับสนุนด้านเทคนิคของ Apps Script
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-10 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-09-10 UTC"],[[["\u003cp\u003eGoogle Ads scripts allow you to automate Google Ads tasks and interact with external data using JavaScript within a browser-based IDE.\u003c/p\u003e\n"],["\u003cp\u003eBasic JavaScript knowledge is sufficient to get started, and a Google Ads account is all you need.\u003c/p\u003e\n"],["\u003cp\u003eThe new Google Ads scripts experience offers a rewritten backend with benefits like ES6 support, improved performance, better validation, and enhanced campaign bidding strategy support.\u003c/p\u003e\n"],["\u003cp\u003eYou can easily transition to the new infrastructure using a toggle within the script editor.\u003c/p\u003e\n"],["\u003cp\u003eFeedback on Google Ads scripts is encouraged and can be shared through the designated forum.\u003c/p\u003e\n"]]],[],null,["Google Ads scripts provide a way to programmatically manage and query your Google Ads data\nusing JavaScript in a browser-based IDE. Most features of Google Ads are available\nin Google Ads scripts through [mutate](https://developers.google.com/google-ads/scripts/docs/features/mutate)\nand [search](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp#search_query-optArgs)\ncalls. You can use scripts to automate common procedures or interact with\nexternal data---for one to many Google Ads accounts.\n\nWhy use scripts?\n\nGoogle Ads scripts may be right for you if:\n\n- You want to make changes to your Google Ads account programmatically, without needing to set up a server or coding environment.\n- You want to apply [Bulk Uploads](https://developers.google.com/google-ads/scripts/docs/features/bulk-upload) or [manage Video Campaigns](https://developers.google.com/google-ads/scripts/docs/features/video-campaigns) programmatically.\n- You want to [manage advertiser accounts at the manager level](https://developers.google.com/google-ads/scripts/docs/features/manager-scripts) by writing one script that can access all serving child accounts.\n- You want to schedule scripts to run without needing an [active user session](https://developers.google.com/google-ads/scripts/docs/concepts/authorization#why_authorization_is_necessary).\n- You want to integrate with other [Google APIs](https://developers.google.com/google-ads/scripts/docs/features/advanced-apis) or [third party APIs](https://developers.google.com/google-ads/scripts/docs/features/third-party-apis).\n- Your script will take [less than 30 minutes to run](https://developers.google.com/google-ads/scripts/docs/limits) (or 60 minutes if run in parallel from a manager account).\n\nPrerequisites\n\nOnly entry-level familiarity with JavaScript is needed---the IDE helps with\nsyntax highlighting, auto-complete, and previewing. All you need is a\n[Google Ads](//ads.google.com) account to start writing your first script.\n\nFeedback\n\nIf you have any feedback on Google Ads scripts, we would love to hear it! Reach\nout to us on [Discord](//goo.gle/google-ads-discord).\n\nIf you need support,\n[contact scripts technical support](/google-ads/scripts/docs/support/contact)."]]