การกำหนดค่ากำหนดเป้าหมายล่วงหน้า
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ผู้เสนอราคาจะใช้ทรัพยากร pretargetingConfigs
เพื่อรับเฉพาะคำขอราคาเสนอสำหรับการแสดงผลที่ตรงกับเกณฑ์การกำหนดเป้าหมายได้ คุณกำหนดค่าการกำหนดเป้าหมายล่วงหน้าได้สูงสุด 10 รายการพร้อมกัน
ค่ากำหนดการกำหนดเป้าหมายล่วงหน้าแต่ละรายการจะกระจายคำขอราคาเสนอไปยังปลายทางทั้งหมด
คำขอราคาเสนอไม่ได้กระจายอย่างเท่าๆ กันในปลายทางทั้งหมดเสมอไป ตัวอย่างเช่น ค่ากำหนดการกำหนดเป้าหมายล่วงหน้าสำหรับรหัสทางภูมิศาสตร์ที่เฉพาะเจาะจงในภูมิภาคหนึ่งๆ อาจมีรายการที่ตรงกันน้อยกว่าในสถานที่ซื้อขายที่อยู่ไกลจากภูมิภาคนั้น ปลายทางที่อยู่ใกล้สถานที่ซื้อขายที่ไกลกว่านี้อาจได้รับคำขอราคาเสนอน้อยลง
แนวทางปฏิบัติแนะนำ
เพื่อให้ได้รับคำขอราคาเสนอ คุณต้องสร้างการกำหนดค่าการกำหนดเป้าหมายล่วงหน้าอย่างน้อย 1 รายการ ต่อไปนี้เป็นเคล็ดลับในการจัดการการกำหนดค่า
การกำหนดเป้าหมายล่วงหน้าของคุณ
- ขอบเขต
การกำหนดเป้าหมายล่วงหน้าก็เหมือนการกรอง คุณควรใช้เกณฑ์การกำหนดเป้าหมายล่วงหน้าเพื่อกรองคำขอราคาเสนอให้กับคำขอราคาเสนอที่เกี่ยวข้องกับกรณีการใช้งานของคุณ หากคุณไม่ได้ตั้งเกณฑ์การกำหนดเป้าหมายล่วงหน้าไว้เลย คุณจะได้รับคำขอราคาเสนอสำหรับการแสดงผลทั้งหมด
หากคุณไม่ได้รับคำขอราคาเสนอที่เกี่ยวข้องกับการกำหนดค่าการกำหนดเป้าหมายล่วงหน้าหนึ่งๆ มากพอ คุณอาจต้องขยายเกณฑ์การกำหนดเป้าหมายล่วงหน้าให้กว้างขึ้น
- เชิงตรรกะ
ค่าในช่องการกำหนดเป้าหมายระดับบนสุดจะได้รับการประมวลผลด้วยตรรกะ OR
ซึ่งหมายความว่าคุณจะได้รับคำขอราคาเสนอที่มีค่าที่คุณระบุอย่างน้อย 1 ค่าในช่องระดับบนสุด ตัวอย่างเช่น หากการกำหนดค่าการกำหนดเป้าหมายล่วงหน้ามีค่า languageCodes
en
, de
และ sv
คุณอาจได้รับคำขอราคาเสนอที่มี en
, de
หรือ sv
เป็นภาษาที่ตรวจพบ
ช่องต่างๆ จะประมวลผลด้วยตรรกะ AND
คุณจะได้รับคำขอราคาเสนอที่ตรงกับค่าอย่างน้อย 1 ค่าในช่องการกำหนดเป้าหมายล่วงหน้าทุกช่องที่คุณตั้งค่าไว้ ตัวอย่างเช่น หากการกำหนดค่ามี languageCodes
ค่า en
, de
และ sv
และค่า includedPlatforms
เป็น PERSONAL_COMPUTER
คุณจะได้รับเฉพาะคำขอราคาเสนอที่มีภาษาที่ตรวจพบเป็น en
, de
หรือ sv
และประเภทอุปกรณ์เป็น PERSONAL_COMPUTER
เนื่องจากตรรกะ AND
ในช่องการกำหนดเป้าหมายล่วงหน้าทำให้คุณรวมเกณฑ์ที่ขัดแย้งกันไม่ได้ ตัวอย่างเช่น การรวมค่าเดียวกันใน includedIds
และ excludedIds
ในเกณฑ์ NumericTargetingDimensions
จะทำให้เกิดข้อผิดพลาด
- ทับซ้อน
คำขอราคาเสนออาจมีสิทธิ์สำหรับค่ากำหนดการกำหนดเป้าหมายล่วงหน้าได้หลายรายการ
คุณสามารถสร้างการกำหนดค่าการกำหนดเป้าหมายล่วงหน้าได้สูงสุด 10 รายการเพื่อกำหนดเป้าหมายพื้นที่โฆษณาประเภทต่างๆ การกำหนดค่าการกำหนดเป้าหมายล่วงหน้าอาจทับซ้อนกัน ดังนั้นคำขอราคาเสนอเดียวอาจมีสิทธิ์ใช้การกำหนดค่าการกำหนดเป้าหมายล่วงหน้าหลายรายการ ในกรณีนี้ ช่อง billing_id
ของคำขอราคาเสนอจะมี billingId
ของการกำหนดค่าที่เกี่ยวข้องแต่ละรายการ หากพบรหัสการเรียกเก็บเงินหลายรหัสในคำขอราคาเสนอ คุณต้องระบุรหัสการเรียกเก็บเงินที่จะเสนอราคาในช่อง billing_id
ของการเสนอราคาตอบ
รหัสทางภูมิศาสตร์
รหัสทางภูมิศาสตร์บางรหัสกำหนดเป้าหมายไม่ได้เนื่องจากเหตุผลด้านนโยบาย ตัวอย่างเช่น ภูมิภาคบางแห่งที่มีประชากรน้อยจะไม่สามารถกำหนดเป้าหมายได้ เนื่องจากอาจละเมิดนโยบายความเป็นส่วนตัวของเรา นโยบายของเราอาจมีการเปลี่ยนแปลง หากคุณระบุรหัสทางภูมิศาสตร์ใน geoTargeting
ของการกำหนดค่าการกำหนดเป้าหมายล่วงหน้าซึ่งไม่ถูกต้องในภายหลัง รหัสดังกล่าวจะปรากฏใต้ช่อง invalidGeoIds
ในขณะนั้น รหัสทางภูมิศาสตร์ภายใต้ invalidGeoIds
ไม่มีผลต่อการกำหนดเป้าหมาย หากรหัสเป้าหมายใน invalidGeoIds
ถูกต้อง ระบบจะเพิ่มรหัสดังกล่าวลงในช่อง geoTargeting
ของการกำหนดค่าการกำหนดเป้าหมายล่วงหน้า
ไฟล์ geo-table.csv
แสดงรายการรหัสทางภูมิศาสตร์ที่กำหนดเป้าหมายได้ และอัปเดตเป็นระยะๆ เมื่อมีการเพิ่มและนำรหัสออก
จำนวนคำขอราคาเสนอ
คุณควรกำหนดค่า QPS สูงสุดสำหรับปลายทางของผู้เสนอราคา และอนุญาตให้ระบบโควต้าคำขอราคาเสนอจัดการการรับส่งข้อมูลที่ส่งไปยังปลายทางสำหรับการกำหนดค่าการกำหนดเป้าหมายล่วงหน้าแต่ละรายการ
กรณีสำคัญที่สุดที่การจัดการ QPS สูงสุดที่ระดับการกำหนดค่าการกำหนดเป้าหมายล่วงหน้าด้วย maximumQps
อาจมีประโยชน์มีดังนี้
- การได้รับคำขอมากเกินไป
- หากระบบโควต้าคำขอราคาเสนอส่งคำขอราคาเสนอจำนวนมากผิดปกติไปยังปลายทางของผู้เสนอราคาสำหรับค่ากำหนดการกำหนดเป้าหมายล่วงหน้าหนึ่งๆ คุณใช้
maximumQps
เพื่อปรับจำนวนคำขอด้วยตนเองได้
- การทดสอบการกำหนดค่าสำหรับพื้นที่โฆษณาใหม่
- หากคุณกำลังพยายามรองรับพื้นที่โฆษณาใหม่ๆ เช่น รูปแบบครีเอทีฟโฆษณาใหม่ ให้ใช้การกำหนดค่าการกำหนดเป้าหมายล่วงหน้าซึ่งกำหนดเป้าหมายเฉพาะพื้นที่โฆษณาดังกล่าวที่มี
maximumQps
ต่ำ
สำหรับพื้นที่โฆษณาที่มีการกำหนดเป้าหมายโดยการกำหนดค่าการกำหนดเป้าหมายล่วงหน้าหลายรายการ ระบบจะส่งคำขอราคาเสนอไปยังปลายทางของผู้เสนอราคา รวมถึง billingId
สำหรับการกำหนดค่าแต่ละรายการ ตราบใดที่การกำหนดค่าอย่างน้อย 1 รายการยังไม่ถึงขีดจำกัด maximumQps
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eUse pretargeting configurations to filter bid requests and receive only relevant impressions, with the ability to create up to 10 configurations.\u003c/p\u003e\n"],["\u003cp\u003ePretargeting criteria use logical \u003ccode\u003eOR\u003c/code\u003e within fields and logical \u003ccode\u003eAND\u003c/code\u003e across fields, allowing for flexible but specific targeting.\u003c/p\u003e\n"],["\u003cp\u003eBid requests can match multiple pretargeting configurations, requiring bidders to specify the desired billing ID in their bid response.\u003c/p\u003e\n"],["\u003cp\u003eSome geographic IDs may be untargetable for policy reasons, and the \u003ccode\u003egeo-table.csv\u003c/code\u003e file provides a list of valid targetable IDs.\u003c/p\u003e\n"],["\u003cp\u003eManage bid request traffic using the Callout Quota System and \u003ccode\u003emaximumQps\u003c/code\u003e for specific pretargeting configurations when necessary.\u003c/p\u003e\n"]]],["Bidders use `pretargetingConfigs` to filter bid requests, receiving only those matching their criteria; up to 10 configurations are allowed. These configurations filter requests using logical `OR` within fields and logical `AND` across fields. Bid requests can match multiple configurations, identified by `billingId` in the request. Geographic targeting may have restrictions and invalid IDs are listed under `invalidGeoIds`. You can set `maximumQps` per configuration to manage traffic volume. At least one configuration is required to receive bid requests.\n"],null,["# Pretargeting configurations\n\nBidders can use the `pretargetingConfigs` resource to receive only bid\nrequests for impressions that match their targeting criteria.You can have up to\n10 pretargeting configurations at once.\n\nEach pretargeting configuration distributes bid requests across all endpoints.\nBid requests aren't always distributed evenly across all endpoints. For example,\na pretargeting configuration for specific geographic IDs in a given region might\nhave fewer matches in [trading\nlocations](/authorized-buyers/rtb/peer-guide#trading-locations) that are farther\nfrom that region. Endpoints near those farther trading locations might receive\nfewer bid requests.\n\nBest practices\n--------------\n\nIn order to receive bid requests, you must create at least one\npretargeting configuration. Here are some tips for managing your pretargeting\nconfigurations:\n\nScope\n\n: Pretargeting is like filtering. You should use pretargeting criteria to filter\n bid requests to those that are relevant to your use case. If you don't set any\n pretargeting criteria, you can receive bid requests for all impressions.\n\n If you aren't receiving enough bid requests related to a given pretargeting\n configuration, you might want to broaden your pretargeting criteria.\n\nLogic\n\n: Values in top-level targeting fields are processed with logical `OR`. This\n means you can receive bid requests that have at least one of the values you\n specify in the top-level field. For example, if your pretargeting\n configuration has `languageCodes` values `en`, `de`, and `sv`, you might receive\n bid requests with `en`, `de`, or `sv` as the detected language.\n\n Different fields are processed with logical `AND`. You only receive bid\n requests that have a match for at least one value in every pretargeting field\n you set. For example, if your configuration has `languageCodes` values `en`,\n `de`, and `sv`, and `includedPlatforms` value `PERSONAL_COMPUTER`, you receive\n only bid requests that have a detected language of `en`, `de`, or `sv` and a\n device type of `PERSONAL_COMPUTER`.\n\n Due to the logical `AND` across pretargeting fields, you can't include\n contradictory criteria. For example, including the same value in `includedIds`\n and `excludedIds` in a `NumericTargetingDimensions` criteria results in an\n error.\n\nOverlap\n\n: Bid requests can be eligible for multiple pretargeting configurations.\n\n You can create up to 10 pretargeting configurations to target different\n kinds of inventory. Pretargeting configurations can overlap, so a single bid\n request might be eligible for multiple pretargeting configurations. In this\n case, the bid request's `billing_id` field contains the `billingId` of\n each applicable configuration. If multiple billing IDs are found in the bid\n request, you must specify which billing ID you're bidding on in the bid\n response's `billing_id` field.\n\nGeographic IDs\n--------------\n\nSome geographic IDs aren't targetable for policy reasons. For example, some\nregions with small populations can't be targeted because it would violate our\nprivacy policy. Our policies are subject to change. If you specify\na geographic ID in your pretargeting configuration's `geoTargeting` that becomes\ninvalid at a later date, the ID appears under the `invalidGeoIds` field at that\ntime. Geographic IDs under `invalidGeoIds` have no impact on targeting. If a\ngoegraphic ID in `invalidGeoIds` becomes valid, it's added to your pretargeting\nconfiguration's `geoTargeting` field.\n\nThe\n[geo-table.csv](//storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)\nfile lists targetable geographic IDs, and is updated periodically as IDs are\nadded and removed.\n\nBid request count\n-----------------\n\nYou should configure the maximum QPS for your bidder endpoints,\nand allow the [Callout Quota System](/authorized-buyers/rtb/callout-quota-system)\nto manage the traffic sent to your endpoints for each of your pretargeting\nconfigurations.\n\nHere are edge cases where managing maximum QPS at the\npretargeting configuration level with `maximumQps` might be useful:\n\nReceiving too many requests\n: If the Callout Quota System is sending an unusually large number of bid\n requests to bidder endpoints for a given pretargeting configuration, you can\n use `maximumQps` to manually adjust the number of requests.\n\nTesting a configuration for new inventory\n: If you're trying to support new inventory, like a new creative format,\n you can implement a pretargeting configuration targeting only that inventory\n with a low `maximumQps`.\n\nFor inventory that's targeted by multiple pretargeting configurations,\nbid requests are sent to the bidder's endpoints, including the `billingId`\nfor each configuration, as long as at least one of the configurations hasn't\nreached its `maximumQps` limit."]]