テスト オペレーション
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Experiment
とその ExperimentArm
を設定し、テストに合わせて介入群を変更したら、テストを実際に実行し、完了後に管理するために実行できるさまざまなオペレーションがあります。
長時間実行オペレーション
これらのオペレーションの一部は非同期です。つまり、Google Ads API 呼び出しでプロセスが開始されますが、すぐに完了するわけではありません。代わりに、完了を確認する必要があります。詳しくは、非同期エラーの処理に関するガイドをご覧ください。
運用
テストで実行できるオペレーションは 4 種類あります。これらはすべて ExperimentService
に格納されています。
- テストのスケジュールを設定します。これは非同期です。設計中のキャンペーンを実際のキャンペーンに具体化し、テストの開始日になったら配信できるようにします。
- テストを終了します。これは通常の同期オペレーションです。テストがすでに進行中の場合は、終了日に達していなくても、すぐに終了できます。
- テストを昇格させます。これは非同期です。これにより、介入群で行われた変更が対照群にコピーされ、介入群の配信が停止します。変更内容が気に入って、元のキャンペーンに組み込みたい場合は、これを使用します。
- テストを卒業します。これは通常の同期オペレーションです。これにより、テストのコンテキスト外で介入群キャンペーンが存続するように、永続的に設定されます。コントロール キャンペーンに変更は加えられません。変更は気に入ったが、元のキャンペーンとは別に存在させたい場合は、このオプションを使用します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-26 UTC。
[null,null,["最終更新日 2025-08-26 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."]]