פעולות בניסוי
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אחרי שמגדירים את Experiment
ואת ExperimentArm
שלו, ומשנים את קבוצת הניסוי בהתאם לניסוי, אפשר לבצע פעולות שונות כדי להריץ את הניסוי ולנהל אותו אחרי שהוא מסתיים.
פעולות ממושכות
חלק מהפעולות האלה הן אסינכרוניות, כלומר הקריאה ל-Google Ads API תתחיל את התהליך, אבל הוא לא יושלם מיד. במקום זאת, תצטרכו לבדוק אם התהליך הושלם. פרטים נוספים בנושא זמינים במדריך בנושא טיפול בשגיאות אסינכרוניות.
תפעול
יש ארבעה סוגים של פעולות שאפשר לבצע בניסוי. הם נמצאים כולם ב-ExperimentService
.
- מתזמנים את הניסוי. הפעולה הזו היא אסינכרונית. הופך את הקמפיינים שנמצאים בשלב התכנון לקמפיינים בפועל, שמוכנים להצגה ברגע שמגיע תאריך ההתחלה של הניסוי.
- מסיימים את הניסוי. זוהי פעולה סינכרונית רגילה. אם הניסוי כבר מתנהל, אפשר לסיים אותו באופן מיידי, גם אם תאריך הסיום שלו עוד לא הגיע.
- החלה של הניסוי. הפעולה הזו היא אסינכרונית. הפעולה הזו תעתיק את השינויים שבוצעו בקבוצת הניסוי לקבוצת הבקרה, ותפסיק את הצגת המודעות בקבוצת הניסוי. משתמשים באפשרות הזו אם אהבתם את השינויים ואתם רוצים לשלב אותם בקמפיין המקורי.
- העברת הניסוי לשלב הבא. זוהי פעולה סינכרונית רגילה. הפעולה הזו תגדיר באופן סופי את קמפיין הניסוי כך שהוא ימשיך להתקיים מחוץ להקשר של הניסוי. לא יבוצעו שינויים בקמפיין הבקרה. כדאי להשתמש באפשרות הזו אם אהבתם את השינויים, אבל אתם רוצים שהם יופיעו בנפרד מהקמפיין המקורי.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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."]]