Page Summary
-
The Company resource in the API represents a business entity, such as an advertiser or agency, within a network.
-
Companies have various attributes including name, ID, type, contact information, labels, teams, and credit status.
-
The type of a company can be Advertiser, House Advertiser, Agency, House Agency, or Ad Network.
-
The credit status of a company determines if its line items can serve and can be Active, Inactive, On Hold, Stop, or Blocked.
-
Methods are available to retrieve a single Company object or a list of Company objects.
Resource: Company
The Company resource.
| JSON representation |
|---|
{ "name": string, "appliedLabels": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the |
appliedLabels[] |
Optional. The labels that are directly applied to the |
appliedTeams[] |
Optional. The resource names of Teams that are directly associated with the |
companyId |
Output only. Deprecated: |
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 [CompanyCreditStatus.ACTIVE][] if basic settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance settings are enabled. |
primaryContact |
Optional. The resource names of primary |
thirdPartyCompanyId |
Optional. The ID of the Google-recognized canonicalized form of the |
updateTime |
Output only. The time the Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
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. |
Methods |
|
|---|---|
|
Creates Company objects. |
|
Batch updates Company objects. |
|
Creates a Company object. |
|
Retrieves a Company object. |
|
Lists Company objects. |
|
Updates a Company object. |