**Service** **AdRuleService** **Dependencies** [BreakTemplatePage](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.BreakTemplatePage) [createBreakTemplates()](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService#createBreakTemplates) [updateBreakTemplates()](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService#updateBreakTemplates) ▼ **BreakTemplate**


A [BreakTemplate](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.BreakTemplate) defines what kinds of ads show at which
positions within a pod.

Break templates are made up of [AdSpot](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.AdSpot) objects. A break template must
have a single ad spot that has `AdSpot#flexible` set to true.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| ## Field ||
|---|---|
| ### `id` | ` xsd:long` The unique ID of the [BreakTemplate](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.BreakTemplate). This value is readonly and is assigned by Google. |
| ### `customTemplate` | ` xsd:boolean` Whether this is custom template. Custom templates get created outside of the ad rule workflow and can be referenced in ad tags. Only custom templates can have names and display names. <br /> |
| ### `name` | ` xsd:string` Name of the [BreakTemplate](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.BreakTemplate). The name is case insenstive and can be referenced in ad tags. This value is required if `customTemplate` is true, and cannot be set otherwise. You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, \*, \~, ;, \^, (, ), \<, \>, \[, \], the white space character. <br /> |
| ### `displayName` | ` xsd:string` Descriptive name for the `BreakTemplateDto`. This value is optional if `customTemplate` is true, and cannot be set otherwise. |
| ### `breakTemplateMembers` | ` https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.BreakTemplate.BreakTemplateMember[]` The list of the `BreakTemplateMember` objects in the order in which they should appear in the ad pod. Each `BreakTemplateMember` has a reference to a [AdSpot](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.AdSpot), which defines what kinds of ads can appear at that position, as well as other metadata that defines how each ad spot should be filled. |