[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eCompanyError.Reason\u003c/code\u003e lists potential errors specific to company operations within the system.\u003c/p\u003e\n"],["\u003cp\u003eThese errors often involve company types, contact assignments, third-party integrations, and billing settings.\u003c/p\u003e\n"],["\u003cp\u003eErrors can arise from invalid company types, incorrect primary contact settings, or mismatched third-party roles.\u003c/p\u003e\n"],["\u003cp\u003eIssues with label associations or billing configurations can also trigger \u003ccode\u003eCompanyError.Reason\u003c/code\u003e enumerations.\u003c/p\u003e\n"],["\u003cp\u003eIf an error occurs that isn't explicitly defined, the \u003ccode\u003eUNKNOWN\u003c/code\u003e enumeration is used.\u003c/p\u003e\n"]]],["The content details the `CompanyError.Reason` enumeration within the `CompanyService` and `InventoryService` APIs (v202411). It outlines ten specific company-related error types, including issues like attempting to set an incorrect third-party company type, changing a company's type, using an unsupported type, and assigning an invalid primary contact. Other errors involve wrong stats provider role types, incorrect label associations, default billing setting problems, having active share assignments and an unknown error type.\n"],null,["# enum CompanyError.Reason (v202411)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202411/CompanyService.CompanyError.Reason) **InventoryService** **Dependencies** \n[CompanyError](/ad-manager/api/reference/v202411/InventoryService.CompanyError) \n▼\n**CompanyError.Reason**\n\nEnumerates all possible company specific errors.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CANNOT_SET_THIRD_PARTY_COMPANY_DUE_TO_TYPE` | Indicates that an attempt was made to set a third party company for a company whose type is not the same as the third party company. |\n| `CANNOT_UPDATE_COMPANY_TYPE` | Indicates that an invalid attempt was made to change a company's type. |\n| `INVALID_COMPANY_TYPE` | Indicates that this type of company is not supported. |\n| `PRIMARY_CONTACT_DOES_NOT_BELONG_TO_THIS_COMPANY` | Indicates that an attempt was made to assign a primary contact who does not belong to the specified company. |\n| `THIRD_PARTY_STATS_PROVIDER_IS_WRONG_ROLE_TYPE` | Indicates that the user specified as the third party stats provider is of the wrong role type. The user must have the third party stats provider role. |\n| `INVALID_LABEL_ASSOCIATION` | Labels can only be applied to [Company.Type.ADVERTISER](/ad-manager/api/reference/v202411/CompanyService.Company.Type#ADVERTISER), [Company.Type.HOUSE_ADVERTISER](/ad-manager/api/reference/v202411/CompanyService.Company.Type#HOUSE_ADVERTISER), and [Company.Type.AD_NETWORK](/ad-manager/api/reference/v202411/CompanyService.Company.Type#AD_NETWORK) company types. |\n| `INVALID_COMPANY_TYPE_FOR_DEFAULT_BILLING_SETTING` | Indicates that the [Company.Type](/ad-manager/api/reference/v202411/CompanyService.Company.Type) does not support default billing settings. |\n| `INVALID_DEFAULT_BILLING_SETTING` | Indicates that the format of the default billing setting is wrong. |\n| `COMPANY_HAS_ACTIVE_SHARE_ASSIGNMENTS` | Cannot remove the cross selling config from a company that has active share assignments. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]