AI-generated Key Takeaways
- 
          This document describes managing Company objects in the Ad Manager API version v202508. 
- 
          Supported operations include creating, retrieving, performing actions on, and updating Company objects. 
- 
          The document lists numerous potential errors that can occur when using the CompanyService, categorized by type. 
- 
          Each error type is explained with its possible reasons or enumeration values. 
Provides operations for creating, updating and retrieving Company objects.
- Production WSDL
- 
               https://ads.google.com/apis/ads/publisher/v202508/CompanyService?wsdl
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202508
- Operations
- Errors
- 
               - ApiVersionError
- AuthenticationError
- CollectionSizeError
- CommonError
- CompanyCreditStatusError
- CompanyError
- CrossSellError
- CustomFieldValueError
- ExchangeSignupApiError
- FeatureError
- InternalApiError
- InvalidEmailError
- InvalidUrlError
- InventoryClientApiError
- LabelEntityAssociationError
- McmError
- NetworkError
- NotNullError
- NullError
- ParseError
- PermissionError
- PublisherQueryLanguageContextError
- PublisherQueryLanguageSyntaxError
- QuotaError
- RegExError
- RequiredCollectionError
- RequiredError
- RequiredNumberError
- ServerError
- SiteError
- StatementError
- StringFormatError
- StringLengthError
- TeamError
- TypeError
- UniqueError
 
createCompanies
Creates new Company objects.
Parameters
| Field | Type | Description | 
|---|---|---|
| companies | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
getCompaniesByStatement
Gets a CompanyPage of Company objects that satisfy the given Statement.query. The following fields are supported for filtering:
| PQL Property | Object Property | 
|---|---|
| id | Company.id | 
| name | Company.name | 
| type | Company.type | 
| lastModifiedDateTime | Company.lastModifiedDateTime | 
Parameters
| Field | Type | Description | 
|---|---|---|
| filterStatement | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
performCompanyAction
Performs actions on Company objects that match the given Statement.
Parameters
| Field | Type | Description | 
|---|---|---|
| companyAction | 
                              
                            | |
| statement | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
updateCompanies
Updates the specified Company objects.
Parameters
| Field | Type | Description | 
|---|---|---|
| companies | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
Errors
| Error | Reasons | 
|---|---|
| ApiVersionError | Errors related to the usage of API versions. Enumerations 
 | 
| AuthenticationError | An error for an exception that occurred when authenticating. Enumerations 
 | 
| CollectionSizeError | Error for the size of the collection being too large Enumerations 
 | 
| CommonError | A place for common errors that can be used across services. Enumerations 
 | 
| CompanyCreditStatusError | Lists all errors due to Company.creditStatus. Enumerations 
 | 
| CompanyError | A list of all errors associated with companies. Enumerations 
 | 
| CrossSellError | Lists all errors associated with cross selling. Enumerations 
 | 
| CustomFieldValueError | Errors specific to editing custom field values Enumerations 
 | 
| ExchangeSignupApiError | ApiError for exceptions thrown by ExchangeSignupService. Enumerations 
 | 
| FeatureError | Errors related to feature management.  If you attempt using a feature that is not available to
            the current network you'll receive a FeatureError with the missing feature as the trigger. Enumerations 
 | 
| InternalApiError | Indicates that a server-side error has occured. InternalApiErrors
            are generally not the result of an invalid request or message sent by the
            client.Enumerations 
 | 
| InvalidEmailError | Caused by supplying a value for an email attribute that is not a valid
            email address. Enumerations 
 | 
| InvalidUrlError | Lists all errors associated with URLs. Enumerations 
 | 
| InventoryClientApiError | ApiError for common exceptions thrown when accessing AdSense InventoryClient. Enumerations 
 | 
| LabelEntityAssociationError | Errors specific to creating label entity associations. Enumerations 
 | 
| McmError | An error for multiple customer management. Enumerations 
 | 
| NetworkError | An error for a network. Enumerations 
 | 
| NotNullError | Caused by supplying a null value for an attribute that cannot be null. Enumerations 
 | 
| NullError | Caused by supplying a non-null value for an attribute that should be null. Enumerations 
 | 
| ParseError | Lists errors related to parsing. Enumerations 
 | 
| PermissionError | Errors related to incorrect permission. Enumerations 
 | 
| PublisherQueryLanguageContextError | An error that occurs while executing a PQL query contained in
            a Statement object. Enumerations 
 | 
| PublisherQueryLanguageSyntaxError | An error that occurs while parsing a PQL query contained in a
            Statement object. Enumerations 
 | 
| QuotaError | Describes a client-side error on which a user is attempting
            to perform an action to which they have no quota remaining. Enumerations 
 | 
| RegExError | Caused by supplying a value for an object attribute that does not conform
            to a documented valid regular expression. Enumerations 
 | 
| RequiredCollectionError | A list of all errors to be used for validating sizes of collections. Enumerations 
 | 
| RequiredError | Errors due to missing required field. Enumerations 
 | 
| RequiredNumberError | A list of all errors to be used in conjunction with required number
            validators. Enumerations 
 | 
| ServerError | Errors related to the server. Enumerations 
 | 
| SiteError | Errors associated with the Site.Enumerations 
 | 
| StatementError | An error that occurs while parsing Statement objects. Enumerations 
 | 
| StringFormatError | A list of error code for reporting invalid content of input strings. Enumerations 
 | 
| StringLengthError | Errors for Strings which do not meet given length constraints. Enumerations 
 | 
| TeamError | Errors related to a Team. Enumerations 
 | 
| TypeError | An error for a field which is an invalid type. | 
| UniqueError | An error for a field which must satisfy a uniqueness constraint |