Class Company
The Company resource.
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Company : IMessage<Company>, IEquatable<Company>, IDeepCloneable<Company>, IBufferMessage, IMessage
Constructors
Company()
Declaration
public Company()
Company(Company)
Declaration
public Company(Company other)
Parameters
| Type | Name | Description |
|---|---|---|
| Company | other |
Properties
Address
Optional. The address for the Company.
This value has a maximum length of 1024 characters.
Declaration
public string Address { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AppliedLabels
Optional. The labels that are directly applied to the Company.
Declaration
public RepeatedField<AppliedLabel> AppliedLabels { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<AppliedLabel> |
AppliedTeams
Optional. The resource names of Teams that are directly associated with the
Company. Format: "networks/{network_code}/teams/{team_id}"
Declaration
public RepeatedField<string> AppliedTeams { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
AppliedTeamsAsTeamNames
TeamName-typed view over the AppliedTeams resource name property.
Declaration
public ResourceNameList<TeamName> AppliedTeamsAsTeamNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<TeamName> |
Comment
Optional. Comments about the Company.
This value has a maximum length of 1024 characters.
Declaration
public string Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CompanyId
Output only. Company ID.
Declaration
public long CompanyId { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
CompanyName
CompanyName-typed view over the Name resource name property.
Declaration
public CompanyName CompanyName { get; set; }
Property Value
| Type | Description |
|---|---|
| CompanyName |
CreditStatus
Optional. The credit status of the Company.
This attribute defaults to ACTIVE if basic settings are enabled and
ON_HOLD if advance settings are enabled.
Declaration
public CompanyCreditStatusEnum.Types.CompanyCreditStatus CreditStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| CompanyCreditStatusEnum.Types.CompanyCreditStatus |
DisplayName
Required. The display name of the Company.
This value has a maximum length of 127 characters.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Optional. The email for the Company.
This value has a maximum length of 128 characters.
Declaration
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExternalId
Optional. The external ID for the Company.
This value has a maximum length of 255 characters.
Declaration
public string ExternalId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fax
Optional. The fax number for the Company.
This value has a maximum length of 63 characters.
Declaration
public string Fax { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasAddress
Gets whether the "address" field is set
Declaration
public bool HasAddress { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasComment
Gets whether the "comment" field is set
Declaration
public bool HasComment { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCompanyId
Gets whether the "company_id" field is set
Declaration
public bool HasCompanyId { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCreditStatus
Gets whether the "credit_status" field is set
Declaration
public bool HasCreditStatus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasEmail
Gets whether the "email" field is set
Declaration
public bool HasEmail { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasExternalId
Gets whether the "external_id" field is set
Declaration
public bool HasExternalId { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasFax
Gets whether the "fax" field is set
Declaration
public bool HasFax { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPhone
Gets whether the "phone" field is set
Declaration
public bool HasPhone { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPrimaryContact
Gets whether the "primary_contact" field is set
Declaration
public bool HasPrimaryContact { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasThirdPartyCompanyId
Gets whether the "third_party_company_id" field is set
Declaration
public bool HasThirdPartyCompanyId { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasType
Gets whether the "type" field is set
Declaration
public bool HasType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Identifier. The resource name of the Company.
Format: networks/{network_code}/companies/{company_id}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Phone
Optional. The phone number for the Company.
This value has a maximum length of 63 characters.
Declaration
public string Phone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrimaryContact
Optional. The resource names of primary Contact of the Company.
Format: "networks/{network_code}/contacts/{contact_id}"
Declaration
public string PrimaryContact { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrimaryContactAsContactName
ContactName-typed view over the PrimaryContact resource name property.
Declaration
public ContactName PrimaryContactAsContactName { get; set; }
Property Value
| Type | Description |
|---|---|
| ContactName |
ThirdPartyCompanyId
Optional. The ID of the Google-recognized canonicalized form of the
Company.
Declaration
public long ThirdPartyCompanyId { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Type
Required. The type of the Company.
Declaration
public CompanyTypeEnum.Types.CompanyType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CompanyTypeEnum.Types.CompanyType |
UpdateTime
Output only. The time the Company was last modified.
Declaration
public Timestamp UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |