Resource: Company
The Company
resource.
JSON representation |
---|
{ "name": string, "companyId": string, "displayName": string, "type": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the |
companyId |
Output only. |
displayName |
Required. The display name of the This value has a maximum length of 127 characters. |
type |
Required. The type of the |
address |
Optional. The address for the This value has a maximum length of 1024 characters. |
email |
Optional. The email for the This value has a maximum length of 128 characters. |
fax |
Optional. The fax number for the This value has a maximum length of 63 characters. |
phone |
Optional. The phone number for the This value has a maximum length of 63 characters. |
externalId |
Optional. The external ID for the This value has a maximum length of 255 characters. |
comment |
Optional. Comments about the This value has a maximum length of 1024 characters. |
creditStatus |
Optional. The credit status of the This attribute defaults to |
appliedLabels[] |
Optional. The labels that are directly applied to the |
appliedTeams[] |
Optional. The resource names of Teams that are directly associated with the |
updateTime |
Output only. The instant the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
thirdPartyCompanyId |
Optional. The ID of the Google-recognized canonicalized form of the |
primaryContact |
Optional. The resource names of primary Contact of the |
CompanyType
The type of a company.
Enums | |
---|---|
COMPANY_TYPE_UNSPECIFIED |
No value specified |
ADVERTISER |
A business entity that purchases ad inventory. |
HOUSE_ADVERTISER |
A company representing the publisher's own advertiser for house ads. |
AGENCY |
An organization that manages ad accounts and offers services, such as ad creation, placement, and management to advertisers. |
HOUSE_AGENCY |
A company representing the publisher's own agency. |
AD_NETWORK |
A company representing multiple advertisers and agencies. |
CompanyCreditStatus
The credit status of a company.
Credit statuses specify the credit-worthiness of a company and affect the ad serving of campaigns belonging to the company.
In basic settings, only the ACTIVE
and INACTIVE
credit statuses are applicable. In advance settings, all credit statuses are applicable.
Enums | |
---|---|
COMPANY_CREDIT_STATUS_UNSPECIFIED |
No value specified |
ACTIVE |
The company's credit status is active. Line items belonging to the company can serve. This credit status is the default for basic settings and is available in both basic and advance settings. |
INACTIVE |
The company's credit status is inactive. Line items belonging to the company cannot be activated. However, line items that were activated before the credit status changed will remain active. New orders or line items belonging to the company cannot be created. Companies with this credit status will be hidden by default in company search results. This credit status is available in both basic and advance settings. |
ON_HOLD |
The company's credit status is on hold. Line items belonging to the company cannot be activated. However, line items that were activated before the credit status changed will remain active. New orders or line items belonging to the company can be created. This credit status is the default in advance settings and is only available in advance settings. |
STOP |
The company's credit status is stopped. Line items belonging to the company cannot be activated. However, line items that were activated before the credit status changed will remain active. New orders or line items belonging to the company cannot be created. This credit status is only available in advance settings. |
BLOCKED |
The company's credit status is blocked. All active line items belonging to the company will stop serving with immediate effect. Line items belonging to the company cannot be activated, and new orders or line items belonging to the company cannot be created. This credit status is only available in advance settings. |
Methods |
|
---|---|
|
API to retrieve a Company object. |
|
API to retrieve a list of Company objects. |