Show / Hide Table of Contents

Class Company

The Company resource.

Inheritance
object
Company
Implements
IMessage<Company>
IEquatable<Company>
IDeepCloneable<Company>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
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

Email

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

HasPrimaryContact

Gets whether the "primary_contact" field is set

Declaration
public bool HasPrimaryContact { 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
In this article
Back to top Generated by DocFX