זהירות: אתה צופה בתיעוד עבור ממשק ה-API ל-REST. רוב ספריות הלקוחות הרשמיות שלנו משתמשות ב-gRPC. פרטים נוספים זמינים ב
מבוא ל-REST.
AdParameterOperation
פעולה יחידה (יצירה, עדכון, הסרה) בפרמטר של מודעה.
ייצוג JSON |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (AdParameter )
},
"update": {
object (AdParameter )
},
"remove": string
// End of list of possible types for union field operation .
} |
שדות |
updateMask |
string (FieldMask format)
FieldMask שקובע אילו שדות משאבים ישתנו בעדכון. זוהי רשימה מופרדת בפסיקים של שמות שדות מלאים. דוגמה: "user.displayName,photo"
|
שדה איחוד operation . פעולת השינוי. operation יכול להיות רק אחת מהאפשרויות הבאות: |
create |
object (AdParameter )
פעולת יצירה: לא צפוי שם משאב לפרמטר החדש של המודעה.
|
update |
object (AdParameter )
פעולת עדכון: לפרמטר של המודעה צריך להיות שם משאב חוקי.
|
remove |
string
פעולת הסרה: צפוי שם משאב להסרה של פרמטר המודעה בפורמט הבא: customers/{customerId}/adParameters/{adGroupId}~{criterionId}~{parameterIndex}
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-03-06 (שעון UTC).
[null,null,["עדכון אחרון: 2025-03-06 (שעון UTC)."],[[["This page documents a single operation (create, update, or remove) on an ad parameter within Google Ads."],["The operation is represented using a JSON payload containing an `updateMask` and an `operation` field specifying the action and data."],["The `operation` field can be one of `create`, `update`, or `remove`, each with specific data requirements detailed in the table."],["A `create` operation requires an `AdParameter` object without a resource name, while `update` needs a valid resource name within the `AdParameter` object."],["To `remove` an ad parameter, provide its resource name using the format `customers/{customerId}/adParameters/{adGroupId}~{criterionId}~{parameterIndex}`."]]],[]]