Экспериментальные операции
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
После того как вы настроили свой Experiment
и его ExperimentArm
и изменили группу лечения в соответствии с вашим экспериментом, вы можете выполнить различные операции, чтобы фактически запустить эксперимент и управлять им после его завершения.
Длительные операции
Некоторые из этих операций являются асинхронными, то есть вызов API Google Ads инициирует процесс, но не завершится немедленно. Вместо этого вам потребуется проверить завершение. Подробнее об этом см. в руководстве по обработке асинхронных ошибок .
Операции
Над экспериментом можно выполнять четыре вида операций. Все они находятся в ExperimentService
.
- Запланируйте эксперимент. Это асинхронно. Превращает запланированные кампании в реальные, готовые к запуску после наступления даты начала эксперимента.
- Завершите эксперимент. Это обычная синхронная операция. Если эксперимент уже идёт, вы можете завершить его немедленно, даже если дата окончания ещё не наступила.
- Продвигайте эксперимент. Это асинхронно. Изменения, внесенные в экспериментальную группу, будут скопированы в контрольную группу, а показ рекламы в экспериментальной группе будет прекращен. Используйте эту функцию, если вам понравились изменения и вы хотите включить их в исходную кампанию.
- Завершить эксперимент. Это обычная синхронная операция. Это окончательно настроит экспериментальную кампанию на продолжение её существования вне контекста эксперимента. В контрольную кампанию изменения внесены не будут. Используйте эту опцию, если вам понравились изменения, но вы хотите, чтобы они существовали отдельно от исходной кампании.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-09-03 UTC.
[null,null,["Последнее обновление: 2025-09-03 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."]]