REST Resource: networks.partners

Resource: Partner

The 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.

JSON representation
{
  "name": string,
  "appliedLabels": [
    {
      object (AppliedLabel)
    }
  ],
  "appliedTeams": [
    string
  ],
  "updateTime": string,
  "displayName": string,
  "address": string,
  "email": string,
  "fax": string,
  "phone": string,
  "externalId": string,
  "comment": string,
  "primaryContact": string,
  "creditStatus": enum (CompanyCreditStatus)
}
Fields
name

string

Identifier. The resource name of the Partner. Format: networks/{networkCode}/partners/{partner_id}

appliedLabels[]

object (AppliedLabel)

Optional. The labels that are directly applied to the Partner.

appliedTeams[]

string

Optional. The resource names of Teams that are directly associated with the Partner. Format: "networks/{networkCode}/teams/{team_id}"

updateTime

string (Timestamp format)

Output only. The time the Partner was last updated.

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

displayName

string

Required. The display name of the Partner.

address

string

Optional. The address for the Partner.

This value has a maximum length of 1024 characters.

email

string

Optional. The email for the Partner.

This value has a maximum length of 128 characters.

fax

string

Optional. The fax number for the Partner.

This value has a maximum length of 63 characters.

phone

string

Optional. The phone number for the Partner.

This value has a maximum length of 63 characters.

externalId

string

Optional. The external ID for the Partner.

This value has a maximum length of 255 characters.

comment

string

Optional. Comments about the Partner.

This value has a maximum length of 1024 characters.

primaryContact

string

Optional. The resource names of primary Contact of the Partner. Format: "networks/{networkCode}/contacts/{contactId}"

creditStatus

enum (CompanyCreditStatus)

Optional. The credit status of the Partner.

This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance settings are enabled.

Methods

batchUpdate

Batch updates Partner objects.

get

Retrieves a Partner object.

list

Lists Partner objects.

patch

Updates a Partner object.