AI-generated Key Takeaways
- 
          PreferredDealError is a type of ApiError that is associated with preferred deal proposal line items. 
- 
          This error type has a field called 'reason' which is an enum that represents the specific cause of the error. 
- 
          Possible reasons for a PreferredDealError include invalid priority, invalid rate type (only CPM is supported), invalid frequency caps, invalid roadblocking type (only ONE_OR_MORE is supported), and invalid delivery rate type (only FRONTLOADED is supported). 
- 
          The inherited fields from ApiError provide additional details about the error, such as the field path, trigger, and error string. 
Errors associated with preferred deal proposal line items.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202411
| Field | |
|---|---|
| ApiError(inherited) | |
| 
                            | 
                            The OGNL field path to identify cause of error. | 
| 
                            | A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. | 
| 
                            | 
                            The data that caused the error. | 
| 
                            | 
                            A simple string representation of the error and reason. | 
| PreferredDealError | |
| 
                            | The error reason represented by an enum. Enumerations 
 |