AI-generated Key Takeaways
- 
          
AdRuleError.Reasondescribes the reasons forAdRuleErrors within the AdRuleService. - 
          
The
AdRuleError.Reasonenumeration includes reasons such as invalid characters in the name, issues with break templates, and unknown errors. - 
          
The namespace for this service is
https://www.google.com/apis/ads/publisher/v202505. 
                  Service
               
               
                  AdRuleService
               
            
                  Dependencies
               
               
                  AdRuleError
                  
            ▼
                  AdRuleError.Reason
               Describes reason for AdRuleErrors.
- Namespace
 - 
               
https://www.google.com/apis/ads/publisher/v202505 
| Enumeration | Description | 
|---|---|
                        NAME_CONTAINS_INVALID_CHARACTERS
                      | 
                     The name contains unsupported or reserved characters. | 
                        BREAK_TEMPLATE_MUST_HAVE_EXACTLY_ONE_FLEXIBLE_AD_SPOT
                      | 
                     The break template must have exactly one flexible ad spot. | 
                        UNKNOWN
                      | 
                     The value returned if the actual value is not exposed by the requested API version. |