Google Ads Ad Manager V1 Client - Class Contact (0.3.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Contact.

A contact represents a person who is affiliated with a single company. A contact can have a variety of contact information associated to it, and can be invited to view their company's orders, line items, creatives, and reports.

Generated from protobuf message google.ads.admanager.v1.Contact

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the Contact. Format: networks/{network_code}/contacts/{contact_id}

↳ company_display_name string

Output only. The display name of the Company.

getName

Identifier. The resource name of the Contact.

Format: networks/{network_code}/contacts/{contact_id}

Returns
Type Description
string

setName

Identifier. The resource name of the Contact.

Format: networks/{network_code}/contacts/{contact_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getCompanyDisplayName

Output only. The display name of the Company.

Returns
Type Description
string

hasCompanyDisplayName

clearCompanyDisplayName

setCompanyDisplayName

Output only. The display name of the Company.

Parameter
Name Description
var string
Returns
Type Description
$this