type BreakTemplate.BreakTemplateMember (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
A building block of a pod template.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
adSpotId
|
xsd:long
The ID of the AdSpot that has the settings about what kinds of ads can appear in this
position of the BreakTemplate.
|
adSpotFillType
|
AdSpotFillType
The behavior for how the AdSpot should be filled in the context of the BreakTemplate.
Enumerations
-
REQUIRED
- If this ad spot is empty, the overall pod is invalid.
-
OPTIONAL
- The ad spot is always "satisfied", whether empty or nonempty.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eBreakTemplate is a fundamental component of a pod template, defining the structure and content of ad breaks.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes AdSpot to specify the types of ads allowed and how they should be filled within the template.\u003c/p\u003e\n"],["\u003cp\u003eEach AdSpot within a BreakTemplate is assigned a unique ID and a fill type that dictates its behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe AdSpotFillType determines whether an empty AdSpot renders the entire pod invalid or if it's considered optional.\u003c/p\u003e\n"]]],["The `BreakTemplate` within `AdRuleService` is a pod template building block. It utilizes `adSpotId` (a long integer) to identify an `AdSpot`, which defines permissible ad types. `adSpotFillType` dictates how the `AdSpot` is filled within the `BreakTemplate`. This can be `REQUIRED` (pod invalid if empty), `OPTIONAL` (always satisfied), or `UNKNOWN` (value not exposed by API). It uses a namespace of `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type BreakTemplate.BreakTemplateMember (v202408)\n\n**Service** \n**AdRuleService** **Dependencies** \n[BreakTemplate](/ad-manager/api/reference/v202408/AdRuleService.BreakTemplate) \n▼\n**BreakTemplate.BreakTemplate...**\n\nA building block of a pod template.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `adSpotId` | ` `xsd:`long` The ID of the [AdSpot](/ad-manager/api/reference/v202408/AdRuleService.AdSpot) that has the settings about what kinds of ads can appear in this position of the [BreakTemplate](/ad-manager/api/reference/v202408/AdRuleService.BreakTemplate). |\n| ### `adSpotFillType` | ` `[AdSpotFillType](/ad-manager/api/reference/v202408/AdRuleService.AdSpotFillType)` ` The behavior for how the [AdSpot](/ad-manager/api/reference/v202408/AdRuleService.AdSpot) should be filled in the context of the [BreakTemplate](/ad-manager/api/reference/v202408/AdRuleService.BreakTemplate). *** ** * ** *** **Enumerations** `REQUIRED` : If this ad spot is empty, the overall pod is invalid. `OPTIONAL` : The ad spot is always \"satisfied\", whether empty or nonempty. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]