Operasi eksperimen
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Setelah menyiapkan Experiment
dan ExperimentArm
-nya, serta mengubah grup perlakuan agar sesuai dengan eksperimen, ada berbagai operasi yang dapat Anda lakukan untuk menjalankan eksperimen dan mengelolanya setelah selesai.
Operasi yang berjalan lama
Beberapa operasi ini bersifat asinkron, yang berarti bahwa panggilan Google Ads API Anda akan memulai proses, tetapi tidak akan langsung selesai. Sebagai gantinya, Anda harus memeriksa penyelesaiannya. Untuk mengetahui detail selengkapnya tentang hal ini, lihat panduan tentang penanganan error asinkron.
Operasi
Ada empat jenis operasi yang dapat Anda lakukan pada eksperimen. Semuanya
berada di ExperimentService
.
- Jadwalkan eksperimen. Ini bersifat asinkron. Mewujudkan kampanye dalam desain menjadi kampanye sebenarnya, yang siap ditayangkan setelah tanggal mulai eksperimen tiba.
- Akhiri eksperimen. Ini adalah operasi sinkron normal. Jika
eksperimen sudah berlangsung, Anda dapat mengakhirinya segera, meskipun
tanggal akhir belum tercapai.
- Promosikan eksperimen. Ini bersifat asinkron. Tindakan ini akan menyalin perubahan yang dilakukan
di grup perlakuan ke grup kontrol, dan menghentikan penayangan
grup perlakuan. Gunakan opsi ini jika Anda menyukai perubahan dan ingin menggabungkannya ke dalam kampanye asli.
- Luluskan eksperimen. Ini adalah operasi sinkron normal. Tindakan ini
akan menyiapkan kampanye perlakuan secara permanen agar terus ada, di luar
konteks eksperimen. Tidak ada perubahan yang akan dilakukan pada kampanye kontrol. Gunakan opsi ini jika Anda menyukai perubahan, tetapi ingin perubahan tersebut ada
secara terpisah dari kampanye asli.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-09-05 UTC.
[null,null,["Terakhir diperbarui pada 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."]]