การตั้งค่าผู้เผยแพร่โฆษณา RTB
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Google ทำให้รายการการตั้งค่าผู้เผยแพร่โฆษณาแบบรวมพร้อมใช้งานด้วยการอัปโหลดรายการ
ไปยังที่เก็บข้อมูล Google Cloud Storage เฉพาะบัญชี (ในโปรเจ็กต์ที่
เป็นของ Google) คุณสามารถดาวน์โหลดข้อมูลเหล่านี้เพื่อใช้กำหนดเป้าหมายที่ไม่สามารถ
ขณะเสนอราคา โปรดติดต่อผู้จัดการลูกค้าด้านเทคนิคเพื่อเปิดใช้
ฟีเจอร์นี้สำหรับบัญชีของคุณ
คุณสามารถดาวน์โหลดไฟล์ที่มีการตั้งค่าของผู้เผยแพร่โฆษณาโดยใช้โปรแกรมได้
โดยใช้ Cloud Storage
API ด้วยตนเองผ่านนักพัฒนาซอฟต์แวร์ของ Google
UI ของคอนโซล หรือใช้เครื่องมือบรรทัดคำสั่ง gsutil
โปรดดู Google Cloud
เอกสารเกี่ยวกับพื้นที่เก็บข้อมูลสำหรับรายละเอียดเพิ่มเติมเกี่ยวกับการเข้าถึงข้อมูลที่จัดเก็บไว้ใน
Google Cloud Storage
ไฟล์ถูกบีบอัดแบบ gzip ตาม RFC 1952 วิธีแตกไฟล์จาก
บรรทัดคำสั่งให้เรียกใช้ gzip -d <filename>
ในการดึงข้อมูล
โดยตรง คุณสามารถใช้ zlib หรือไลบรารีการบีบอัดที่คล้ายกันซึ่ง
รองรับรูปแบบ gzip ผลที่ได้คือบัฟเฟอร์โปรโตคอลแบบอนุกรม ซึ่งคล้ายกับ
เพย์โหลดของคำขอ POST ใน BidRequest
ซึ่งสามารถ
ถูกแยกวิเคราะห์ด้วยข้อมูลโค้ดต่อไปนี้
string compressed = /* the payload from the GET request */;
string uncompressed = gunzip(compressed);
PublisherSettingsList publisher_settings;
if (publisher_settings.ParseFromString(uncompressed)) {
// Process the publisher settings.
}
คำจำกัดความบัฟเฟอร์โปรโตคอลสำหรับ PublisherSettingsList
อาจมีลักษณะดังนี้
ดาวน์โหลดจากข้อมูลอ้างอิง
คุณยังขอไฟล์บีบอัด
publisher-settings.pb.gz
ไฟล์จากตัวแทนบัญชีของคุณ ทั้งนี้
ประกอบด้วยคำจำกัดความบัฟเฟอร์โปรโตคอล ตลอดจนผู้เผยแพร่ตัวอย่าง
ไฟล์การตั้งค่า
ลำดับของ PublisherSettingsList
เปลี่ยนแปลงได้ตลอดเวลา
ไม่รับประกันลำดับหรือการจัดเรียงที่เฉพาะเจาะจง แต่ละรายการในผู้จัดพิมพ์
รายการการตั้งค่าจะมีตัวระบุและการตั้งค่าหลายอย่างที่ใช้กับ
BidRequests
ติดแท็กด้วยตัวระบุนั้น คุณสามารถเพิ่มฟีเจอร์ลงใน
ระบบการเสนอราคาของคุณเพื่อตรวจสอบรายการการตั้งค่าผู้เผยแพร่โฆษณาใหม่เป็นระยะๆ
เมื่อ Google ได้รับการแสดงผลที่มีสิทธิ์สำหรับการเสนอราคาแบบเรียลไทม์
Google ใส่ตัวระบุในคำขอราคาเสนอที่สอดคล้องกับรายการใน
รายการการตั้งค่าของผู้เผยแพร่โฆษณา ระบบการเสนอราคาสามารถใช้การตั้งค่าของผู้เผยแพร่โฆษณาได้
เพื่อกรองโฆษณาที่เป็นตัวเลือกสำหรับการแสดงผลนั้น เพื่อให้มีสิทธิ์สำหรับ
โฆษณาที่เป็นตัวเลือกต้องสอดคล้องกับรายการการตั้งค่าทั้งหมดของผู้เผยแพร่โฆษณา
ตัวระบุที่ส่งไปในคำขอ
โปรดทราบว่าการตั้งค่าใดๆ ของผู้เผยแพร่โฆษณาจากไฟล์
เนื่องจากไม่มี URL ที่บล็อกเชื่อมโยงกับตัวระบุ
ไฟล์การตั้งค่าของผู้เผยแพร่โฆษณาแบ่งออกเป็นไฟล์ขนาดเล็กหลายๆ ไฟล์เพื่อลด
ปริมาณข้อมูลที่ต้องดาวน์โหลดในธุรกรรมเดียว ไฟล์
จะถูกแบ่งออกเป็นส่วนประมาณ 5 MB และตั้งชื่อเป็น
publisher-settings.0.pb.gz
จนถึง
publisher-settings.n.pb.gz
(โดยที่ n คือจำนวนของ
ลบด้วย 1) โปรดติดต่อตัวแทนบัญชีของคุณเพื่อรับ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-21 UTC
[null,null,["อัปเดตล่าสุด 2025-08-21 UTC"],[[["\u003cp\u003eGoogle provides aggregated publisher settings lists via a Google Cloud Storage bucket for account-specific use, enabling targeting adjustments beyond bidding time.\u003c/p\u003e\n"],["\u003cp\u003eThese publisher settings files can be accessed programmatically using the Cloud Storage API, manually through the Google Developer Console UI, or via the gsutil command-line tool.\u003c/p\u003e\n"],["\u003cp\u003eThe files are gzip-compressed and contain a serialized protocol buffer that can be decompressed using commands like \u003ccode\u003egzip -d <filename>\u003c/code\u003e or with zlib-like libraries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublisherSettingsList\u003c/code\u003e protocol buffer definition, which provides details about the settings and an example file, can be downloaded from the reference data page or requested from your account representative.\u003c/p\u003e\n"],["\u003cp\u003ePublisher settings are split into multiple smaller, approximately 5 MB files, named \u003ccode\u003epublisher-settings.0.pb.gz\u003c/code\u003e through \u003ccode\u003epublisher-settings.n.pb.gz\u003c/code\u003e, to ease downloading.\u003c/p\u003e\n"]]],["Google provides aggregated publisher settings lists in account-specific Google Cloud Storage buckets. These files, compressed in gzip format, can be downloaded programmatically via the Cloud Storage API, manually through the Google Developer Console, or using the `gsutil` tool. They contain serialized protocol buffers that can be parsed to extract settings. Bidding systems can utilize these settings to filter ads based on identifiers included in bid requests. Files are split into ~5MB chunks. Missing settings are due to lack of associated blocked URLs.\n"],null,["# RTB Publisher Settings\n\nGoogle makes aggregated publisher settings lists available by uploading them\nto an account-specific Google Cloud Storage bucket (under a project that is\nowned by Google). You can download these to use for targeting that cannot be\ndone at bidding time. Talk to your technical account manager to enable\nthis feature for your account.\n\nThe files containing publisher settings can be downloaded programmatically\nby using the [Cloud Storage\nAPI](//cloud.google.com/storage/docs/json_api/v1/libraries), manually through the [Google Developer\nConsole](//cloud.google.com/storage/docs/cloud-console) UI, or by using the [gsutil](//cloud.google.com/storage/docs/gsutil) command-line tool.\nSee the [Google Cloud\nStorage](//cloud.google.com/storage/docs/overview) documentation for more details about accessing data stored in\nGoogle Cloud Storage.\n\nThe file is gzip-compressed according to [RFC 1952](//www.ietf.org/rfc/rfc1952.txt). To extract the file from\nthe command line, run `gzip -d \u003cfilename\u003e`. To extract the\nfile programmatically, you can use zlib or a similar compression library that\nsupports gzip format. The result is a serialized protocol buffer, similar to\nthe payload of the POST request in a `BidRequest`, which can be\nparsed with the following snippet: \n\n```gdscript\nstring compressed = /* the payload from the GET request */;\nstring uncompressed = gunzip(compressed);\nPublisherSettingsList publisher_settings;\nif (publisher_settings.ParseFromString(uncompressed)) {\n // Process the publisher settings.\n}\n```\n\nThe protocol buffer definition for `PublisherSettingsList` can be\ndownloaded from the [reference data\npage](/authorized-buyers/rtb/data). You can also request a compressed\n`publisher-settings.pb.gz` file from your account representative. It\ncontains the protocol buffer definition as well as an example publisher\nsettings file.\n\nThe ordering of `PublisherSettingsList` can change at any time.\nNo specific order or sorting is guaranteed. Each entry in the publisher\nsettings list contains an identifier, and several settings that apply to\n`BidRequests` tagged with that identifier. You can add a feature to\nyour bidding systems to periodically check for a new publisher settings list.\nWhen Google receives an impression that is eligible for real-time bidding,\nGoogle includes identifiers in the bid request that correspond to entries in\nthe publisher settings list. Your bidding system can use the publisher settings\nto filter the candidate ads for that impression. To be eligible for a given\nimpression, the candidate ad must comply with all the publisher setting entries\nfor which identifiers were sent in the request.\n\nNote that any missing publisher settings from the file are\ndue to the identifiers not having blocked URLs associated with them.\n\nThe publisher settings file is broken into multiple smaller files to reduce\nthe amount of data that must be downloaded in a single transaction. The files\nare broken into approximately 5 MB chunks and names as\n`publisher-settings.0.pb.gz` through\n`publisher-settings.n.pb.gz` (where \u003cvar translate=\"no\"\u003en\u003c/var\u003e is the number of\nfiles minus one.) Contact your account representative to obtain these\nfiles."]]