AI-generated Key Takeaways
-
BillingError.Reason provides specific reasons for billing-related errors within the ProposalLineItemService and ProposalService.
-
Reasons include unsupported billing schedules or caps, missing billing source, schedule, or cap under certain conditions, invalid billing source for offline items, and restrictions on updating billing settings after proposal approval.
-
Additional reasons relate to missing or invalid billing base depending on the billing source, and a generic UNKNOWN value for unexposed errors.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
| Enumeration | Description |
|---|---|
UNSUPPORTED_BILLING_SCHEDULE
|
Found unsupported billing schedule. |
UNSUPPORTED_BILLING_CAP
|
Found unsupported billing cap. |
MISSING_BILLING_SOURCE
|
Billing source is missing when either billing scheule or billing cap is provided. |
MISSING_BILLING_SCHEDULE
|
Billing schedule is missing when the provided billing source is CONSTRACTED. |
MISSING_BILLING_CAP
|
Billing cap is missing when the provided billing source is not CONSTRACTED. |
INVALID_BILLING_SOURCE_FOR_OFFLINE
|
The billing source is invalid for offline proposal line item. |
UPDATE_BILLING_NOT_ALLOWED
|
Billing settings cannot be updated once the proposal has been approved. |
MISSING_BILLING_BASE
|
Billing base is missing when the provided billing source is CONTRACTED. |
INVALID_BILLING_BASE
|
The billing base is invalid for the provided billing source. |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |