AI-generated Key Takeaways
-
CrossSellError.Reason
lists possible reasons for errors related to cross-selling, including issues with companies, networks, partner names, publisher features, and distributor rules. -
Errors like
COMPANY_IS_NOT_DISTRIBUTION_PARTNER
andINVALID_CONTENT_PROVIDER_NETWORK
indicate problems with the company type or the partner network code. -
Issues such as
MISSING_DISTRIBUTOR_PARTNER_NAME
andINVALID_DISTRIBUTOR_PARTNER_NAME
highlight errors related to the cross-sell partner's name. -
Errors and warnings like
DISTRIBUTOR_RULE_VIOLATION_ERROR
andDISTRIBUTOR_RULE_VIOLATION_WARNING
signal violations of rules set by the cross-selling distributor when targeting shared ad units. -
The
UNKNOWN
value is returned if the specific error reason is not available in the requested API version.
The reason of the error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Enumeration | Description |
---|---|
COMPANY_IS_NOT_DISTRIBUTION_PARTNER
|
A company for cross-sell partner must be of type Company.Type.PARTNER. |
CHANGING_PARTNER_NETWORK_IS_NOT_SUPPORTED
|
The network code of a cross-sell partner cannot be changed. |
MISSING_DISTRIBUTOR_PARTNER_NAME
|
A cross-sell partner must have a partner name. |
DISTRIBUTOR_NETWORK_MISSING_PUBLISHER_FEATURE
|
The cross-sell distributor publisher feature must be enabled. |
CONTENT_PROVIDER_NETWORK_MISSING_PUBLISHER_FEATURE
|
The cross-sell publisher features must be enabled on the partner's network. |
INVALID_DISTRIBUTOR_PARTNER_NAME
|
The cross-sell partner name conflicts with an ad unit name on the partner's network. |
INVALID_CONTENT_PROVIDER_NETWORK
|
The network code of a cross-sell partner is invalid. |
CONTENT_PROVIDER_NETWORK_CANNOT_BE_ACTIVE_NETWORK
|
The content provider network must be different than the distributor network. |
CONTENT_PROVIDER_NETWORK_ALREADY_ENABLED_FOR_CROSS_SELLING
|
The same network code was already enabled for cross-sell in a different company. |
DISTRIBUTOR_RULE_VIOLATION_ERROR
|
A rule defined by the cross selling distributor has been violated by a line item targeting a shared ad unit. Violating this rule is an error. |
DISTRIBUTOR_RULE_VIOLATION_WARNING
|
A rule defined by the cross selling distributor has been violated
by a line item targeting a shared ad unit. Violating this rule is a
warning.
By setting LineItem.skipCrossSellingRuleWarningChecks, the content partner can suppress the warning (and create or save the line item). This flag is available beginning in V201411. |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |