การดําเนินการทดสอบ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เมื่อตั้งค่า Experiment
และExperimentArm
แล้ว รวมถึงแก้ไขกลุ่มทดสอบให้เหมาะกับการทดสอบแล้ว คุณจะดำเนินการต่างๆ เพื่อทำการทดสอบจริงและจัดการการทดสอบเมื่อเสร็จสมบูรณ์ได้
การดำเนินการที่ใช้เวลานาน
การดำเนินการบางอย่างเหล่านี้เป็นแบบไม่พร้อมกัน ซึ่งหมายความว่าการเรียก Google Ads API
จะเริ่มกระบวนการ แต่จะไม่เสร็จสมบูรณ์ในทันที แต่คุณจะต้อง
ตรวจสอบว่าการดำเนินการเสร็จสมบูรณ์แล้ว ดูรายละเอียดเพิ่มเติมเกี่ยวกับเรื่องนี้ได้ในคู่มือการจัดการข้อผิดพลาดแบบไม่พร้อมกัน
การดำเนินการ
คุณดำเนินการกับการทดสอบได้ 4 แบบ โดยทั้งหมดจะอยู่ในExperimentService
- กำหนดเวลาการทดสอบ ซึ่งเป็นแบบอะซิงโครนัส เปลี่ยนแคมเปญที่อยู่ในดีไซน์
ให้เป็นแคมเปญจริง ซึ่งพร้อมแสดงเมื่อถึงวันที่เริ่มต้น
ของการทดสอบ
- สิ้นสุดการทดสอบ ซึ่งเป็นการดำเนินการแบบซิงโครนัสตามปกติ หาก
การทดสอบกำลังดำเนินการอยู่ คุณสามารถสิ้นสุดการทดสอบได้ทันที แม้ว่าจะยังไม่ถึง
วันที่สิ้นสุดก็ตาม
- โปรโมตการทดสอบ ซึ่งเป็นแบบอะซิงโครนัส การดำเนินการนี้จะคัดลอกการเปลี่ยนแปลงที่ทำ
ในกลุ่มทดสอบไปยังกลุ่มควบคุม และหยุดไม่ให้กลุ่มทดสอบ
แสดง ใช้ตัวเลือกนี้หากคุณชอบการเปลี่ยนแปลงและต้องการรวมการเปลี่ยนแปลงเหล่านั้นไว้ใน
แคมเปญเดิม
- จบการทดสอบ ซึ่งเป็นการดำเนินการแบบซิงโครนัสตามปกติ การดำเนินการนี้จะตั้งค่าแคมเปญทดสอบอย่างถาวรเพื่อให้มีอยู่ต่อไปนอกบริบทของการทดสอบ จะไม่มีการเปลี่ยนแปลงใดๆ กับแคมเปญควบคุม ใช้ตัวเลือกนี้หากคุณชอบการเปลี่ยนแปลง แต่ต้องการให้การเปลี่ยนแปลง
แยกจากแคมเปญเดิม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-05 UTC
[null,null,["อัปเดตล่าสุด 2025-09-05 UTC"],[[["\u003cp\u003eGoogle Ads experiments allow scheduling, ending, promoting, and graduating experiment variations to manage and implement changes.\u003c/p\u003e\n"],["\u003cp\u003eCertain experiment operations like scheduling and promoting are asynchronous, requiring completion checks, while ending and graduating are synchronous, taking effect immediately.\u003c/p\u003e\n"],["\u003cp\u003ePromoting an experiment applies treatment arm changes to the control arm and stops treatment serving, while graduating creates a separate, permanent treatment campaign alongside the original.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExperimentService\u003c/code\u003e provides the functionalities to manage and control these experiment operations within Google Ads.\u003c/p\u003e\n"]]],[],null,["# Experiment operations\n\nOnce you've set up your `Experiment` and its `ExperimentArm`s, and modified the\ntreatment arm to suit your experiment, there are various operations you can\nperform to actually run the experiment and manage it once it is complete.\n\nLong running operations\n-----------------------\n\nSome of these operations are asynchronous, which means that your Google Ads API call\nwill begin the process, but it won't be complete right away. Instead, you will\nhave to check for completion. For more details on this, see the guide on\nhandling [async errors](/google-ads/api/docs/experiments/async-errors).\n\nOperations\n----------\n\nThere are four kinds of operations you can perform on an experiment. They are\nall housed in the [`ExperimentService`](/google-ads/api/reference/rpc/v21/ExperimentService).\n\n- **Schedule** the experiment. This is asynchronous. Materializes the in design campaigns to actual campaigns, ready to serve once the experiment's start date arrives.\n- **End** the experiment. This is a normal synchronous operation. If the experiment is already in progress, you can end it immediately, even if the end date hasn't been reached.\n- **Promote** the experiment. This is asynchronous. This will copy changes made in the treatment arm to the control arm, and stop the treatment arm from serving. Use this if you liked the changes and want to incorporate them into your original campaign.\n- **Graduate** the experiment. This is a normal synchronous operation. This will permanently set up the treatment campaign to continue to exist, outside of the context of the experiment. No changes will be made to the control campaign. Use this option if you liked the changes, but want them to exist separately from the original campaign."]]