ตั้งแต่วันที่
8 กันยายน 2025 เป็นต้นไป รายการโฆษณาใหม่ทุกรายการจะต้องประกาศว่าจะแสดงโฆษณาทางการเมืองในสหภาพยุโรป (EU) หรือไม่ การอัปโหลด API ของ Display & Video 360 และ SDF ที่ไม่ได้ระบุการประกาศจะล้มเหลว ดูรายละเอียดเพิ่มเติมเกี่ยวกับวิธีอัปเดตการผสานรวมเพื่อประกาศนี้ได้ที่
หน้าการเลิกใช้งาน
FrequencyCap
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การตั้งค่าที่ควบคุมจํานวนครั้งที่ผู้ใช้อาจเห็นโฆษณาเดียวกันในช่วงระยะเวลาหนึ่งๆ
การแสดง JSON |
{
"unlimited": boolean,
"timeUnit": enum (TimeUnit ),
"timeUnitCount": integer,
"maxImpressions": integer,
"maxViews": integer
} |
ช่อง |
unlimited |
boolean
การใช้การกำหนดความถี่สูงสุดแบบไม่จำกัด เมื่อตั้งค่าช่องนี้เป็น true ช่องความถี่สูงสุดที่เหลือจะไม่มีผล
|
timeUnit |
enum (TimeUnit )
หน่วยเวลาที่จะใช้ความถี่สูงสุด ต้องระบุเมื่อ unlimited เป็น false
|
timeUnitCount |
integer
จํานวน timeUnit ที่จะใช้ความถี่สูงสุด ต้องระบุเมื่อ unlimited เป็น false ข้อจํากัดต่อไปนี้จะมีผลตามค่าของ timeUnit
TIME_UNIT_MONTHS - ต้องเท่ากับ 1
TIME_UNIT_WEEKS - ต้องอยู่ระหว่าง 1 ถึง 4
TIME_UNIT_DAYS - ต้องอยู่ระหว่าง 1 ถึง 6
TIME_UNIT_HOURS - ต้องอยู่ระหว่าง 1 ถึง 23
TIME_UNIT_MINUTES - ต้องอยู่ระหว่าง 1 ถึง 59
|
maxImpressions |
integer
จํานวนครั้งที่ผู้ใช้อาจเห็นโฆษณาเดียวกันสูงสุดในช่วงระยะเวลานี้ ต้องมากกว่า 0 ต้องระบุเมื่อ unlimited เป็น false และไม่ได้ตั้งค่า maxViews
|
maxViews |
integer
ไม่บังคับ จํานวนครั้งที่ผู้ใช้อาจคลิกผ่านหรือดูโฆษณาจนจบได้สูงสุดในช่วงเวลานี้จนกว่าโฆษณาจะไม่แสดงต่อผู้ใช้อีก ต้องมากกว่า 0 ใช้ได้กับทรัพยากรของ YouTube และพาร์ทเนอร์เท่านั้น ต้องระบุเมื่อ unlimited เป็น false และไม่ได้ตั้งค่า maxImpressions
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# FrequencyCap\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nSettings that control the number of times a user may be shown with the same ad during a given time period.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"unlimited\": boolean, \"timeUnit\": enum (/display-video/api/reference/rest/v4/TimeUnit), \"timeUnitCount\": integer, \"maxImpressions\": integer, \"maxViews\": integer } ``` |\n\n| Fields ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `unlimited` | `boolean` Whether unlimited frequency capping is applied. When this field is set to `true`, the remaining frequency cap fields are not applicable. |\n| `timeUnit` | `enum (`[TimeUnit](/display-video/api/reference/rest/v4/TimeUnit)`)` The time unit in which the frequency cap will be applied. Required when [unlimited](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.unlimited) is `false`. |\n| `timeUnitCount` | `integer` The number of [timeUnit](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.time_unit) the frequency cap will last. Required when [unlimited](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.unlimited) is `false`. The following restrictions apply based on the value of [timeUnit](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.time_unit): - `TIME_UNIT_MONTHS` - must be 1 - `TIME_UNIT_WEEKS` - must be between 1 and 4 - `TIME_UNIT_DAYS` - must be between 1 and 6 - `TIME_UNIT_HOURS` - must be between 1 and 23 - `TIME_UNIT_MINUTES` - must be between 1 and 59 |\n| `maxImpressions` | `integer` The maximum number of times a user may be shown the same ad during this period. Must be greater than 0. Required when [unlimited](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.unlimited) is `false` and [maxViews](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.max_views) is not set. |\n| `maxViews` | `integer` Optional. The maximum number of times a user may click-through or fully view an ad during this period until it is no longer served to them. Must be greater than 0. Only applicable to YouTube and Partners resources. Required when [unlimited](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.unlimited) is `false` and [maxImpressions](/display-video/api/reference/rest/v4/FrequencyCap#FIELDS.max_impressions) is not set. |"]]