หากต้องการพูดคุยและแสดงความคิดเห็นเกี่ยวกับผลิตภัณฑ์ของเรา โปรดเข้าร่วมช่อง Discord อย่างเป็นทางการของ Ad Manager ในเซิร์ฟเวอร์ชุมชนการโฆษณาและการวัดผลของ Google
Ad Manager REST API ใช้มาสก์ช่องสำหรับการอ่านและเขียนบางส่วน สิ่งนี้สามารถ
ปรับปรุงประสิทธิภาพด้วยการจำกัดปริมาณข้อมูลที่ถ่ายโอน ฟิลด์มาสก์
แสดงด้วยรายการชื่อช่องที่คั่นด้วยคอมมา เช่น
startTime,endTime,targeting.geoTargeting
อ่านมาสก์
มาสก์การอ่านจะควบคุมช่องที่จะแสดงในการตอบสนองของ API คุณสามารถตั้ง
อ่านมาสก์ในคำขอของคุณใน 2 วิธี ดังนี้
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-05-08 UTC"],[[["The Ad Manager REST API utilizes field masks, represented as comma-separated field names, for partial data reads and writes to enhance performance."],["Read masks, set via the `fields` query parameter or `X-Goog-FieldMask` HTTP header, dictate which fields are returned in API responses, with default masks applied to some methods for efficiency."],["Update masks, specified as query parameters, control which fields are modified during update requests, ensuring only masked fields are affected regardless of the request body content."],["Field masks support traversal using the `.` character and wildcards for selecting specific fields or all fields within an entity, although wildcard use in update masks is not recommended for forward compatibility."],["Invalid fields in a field mask will trigger an `INVALID_ARGUMENT` error response from the API."]]],["The Ad Manager REST API uses field masks to specify data in API requests, improving performance. Read masks, set via `fields` query parameters or `X-Goog-FieldMask` headers, control which fields are returned in responses; some methods have default masks. Update masks, set as query parameters, dictate which fields are modified in `PATCH` requests. Field traversal uses `.` notation, and the `*` wildcard includes all fields. Invalid fields in masks will cause an error.\n"]]