Show / Hide Table of Contents

Class Partner

The [Partner][google.ads.admanager.v1.Partner] resource.

Represents a publishing partner with established agreements to share inventory and revenue based on assignments.

For more information, see [Add publishing partner assignments] (https://support.google.com/admanager/answer/7032752).

Inheritance
object
Partner
Implements
IMessage<Partner>
IEquatable<Partner>
IDeepCloneable<Partner>
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 Partner : IMessage<Partner>, IEquatable<Partner>, IDeepCloneable<Partner>, IBufferMessage, IMessage

Constructors

Partner()

Declaration
public Partner()

Partner(Partner)

Declaration
public Partner(Partner other)
Parameters
Type Name Description
Partner other

Properties

Address

Optional. The address for the [Partner][google.ads.admanager.v1.Partner].

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 [Partner][google.ads.admanager.v1.Partner].

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 [Partner][google.ads.admanager.v1.Partner]. 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 [Partner][google.ads.admanager.v1.Partner].

This value has a maximum length of 1024 characters.

Declaration
public string Comment { get; set; }
Property Value
Type Description
string

CreditStatus

Optional. The credit status of the [Partner][google.ads.admanager.v1.Partner].

This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic settings are enabled and [CompanyCreditStatus.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 [Partner][google.ads.admanager.v1.Partner].

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
string

Email

Optional. The email for the [Partner][google.ads.admanager.v1.Partner].

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 [Partner][google.ads.admanager.v1.Partner].

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 [Partner][google.ads.admanager.v1.Partner].

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

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

Name

Identifier. The resource name of the [Partner][google.ads.admanager.v1.Partner]. Format: networks/{network_code}/partners/{partner_id}

Declaration
public string Name { get; set; }
Property Value
Type Description
string

PartnerName

PartnerName-typed view over the Name resource name property.

Declaration
public PartnerName PartnerName { get; set; }
Property Value
Type Description
PartnerName

Phone

Optional. The phone number for the [Partner][google.ads.admanager.v1.Partner].

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 [Partner][google.ads.admanager.v1.Partner]. 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

UpdateTime

Output only. The time the [Partner][google.ads.admanager.v1.Partner] was last updated.

Declaration
public Timestamp UpdateTime { get; set; }
Property Value
Type Description
Timestamp
In this article
Back to top Generated by DocFX