ข้อควรระวัง: คุณกําลังดูเอกสารประกอบสําหรับอินเทอร์เฟซ REST ของ API ไลบรารีของไคลเอ็นต์อย่างเป็นทางการส่วนใหญ่ของเราใช้ gRPC โปรดดูรายละเอียดใน
บทนํา REST
CampaignBidModifierOperation
การดำเนินการเพียงครั้งเดียว (สร้าง นำออก อัปเดต) ในตัวปรับราคาเสนอแคมเปญ
การแสดง JSON |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (CampaignBidModifier )
},
"update": {
object (CampaignBidModifier )
},
"remove": string
// End of list of possible types for union field operation .
} |
ช่อง |
updateMask |
string (FieldMask format)
FieldMask ที่ระบุว่าช่องทรัพยากรใดที่มีการแก้ไขในการอัปเดต ซึ่งเป็นรายการชื่อที่ตรงตามเกณฑ์ทั้งหมดของช่องที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
ช่องการรวม operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
create |
object (CampaignBidModifier )
การสร้างการดำเนินการ: ไม่ต้องการชื่อทรัพยากรสำหรับตัวปรับราคาเสนอระดับแคมเปญใหม่
|
update |
object (CampaignBidModifier )
อัปเดต: ตัวปรับราคาเสนอของแคมเปญควรมีชื่อทรัพยากรที่ถูกต้อง
|
remove |
string
การดำเนินการนำออก: ควรมีชื่อทรัพยากรสำหรับตัวปรับราคาเสนอของแคมเปญที่นำออกไปแล้วในรูปแบบนี้ customers/{customerId}/CampaignBidModifiers/{campaignId}~{criterionId}
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-06 UTC
[null,null,["อัปเดตล่าสุด 2025-03-06 UTC"],[[["This documentation describes the JSON format for performing operations (create, update, remove) on a single campaign bid modifier within Google Ads."],["Operations can be specified using the `operation` field, which accepts either a `create`, `update`, or `remove` value."],["Creating a new bid modifier doesn't require a resource name, while updating requires a valid resource name, and removing needs the resource name of the bid modifier to be removed."],["A `fieldMask` can be provided to specify which fields of the campaign bid modifier should be modified during an update operation."]]],[]]