enum LineItemActivityAssociationError.Reason (v202411)
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
INVALID_ACTIVITY_FOR_ADVERTISER
|
When associating an activity to a line item the activity must belong to the same
advertiser as the line item.
|
INVALID_COST_TYPE_FOR_ASSOCIATION
|
Activities can only be associated with line items of CostType.CPA .
|
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["The `LineItemActivityAssociationError` enum outlines reasons why associating activities with line items might fail within Google Ad Manager."],["Errors can occur due to advertiser mismatch, incompatible cost types, or unknown reasons."],["Specifically, associating activities with line items requires the activity and line item to belong to the same advertiser and the line item to have a `CostType` of `CPA`."],["The provided namespace and enumeration values offer developers detailed information for troubleshooting and handling these errors in their integrations."]]],["The provided content outlines the `LineItemActivityAssociationError` reasons within the specified namespace. Errors occur when associating an activity with a line item, such as `INVALID_ACTIVITY_FOR_ADVERTISER`, which happens if the activity doesn't match the line item's advertiser. `INVALID_COST_TYPE_FOR_ASSOCIATION` indicates that activities can only be linked to line items with `CostType.CPA`. `UNKNOWN` signifies an unexposed value in the API version. This information is related to `ForecastService`, `LineItemService`, `LineItemTemplateService`, and `OrderService`.\n"]]