Google Ads Ad Manager V1 Client - Class Contact (0.1.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}

↳ contact_id int|string

Output only. The unique ID of the contact. This value is readonly and is assigned by Google.

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

getContactId

Output only. The unique ID of the contact. This value is readonly and is assigned by Google.

Returns
Type Description
int|string

setContactId

Output only. The unique ID of the contact. This value is readonly and is assigned by Google.

Parameter
Name Description
var int|string
Returns
Type Description
$this