Google Ads Ad Manager V1 Client - Class ProposalCompanyAssociation (0.17.0)

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

A ProposalCompanyAssociation represents a Company associated with the Proposal and a set of Contacts belonging to the company.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ company string

Required. The resource name of the Company associated with the Proposal. Format: networks/{network_code}/companies/{company_id}

↳ type int

Required. The association type between the Company and the Proposal.

↳ seller_contacts string[]

Optional. The resource names of the Contacts associated with the Company. Format: networks/{network_code}/contacts/{contact_id}

getCompany

Required. The resource name of the Company associated with the Proposal.

Format: networks/{network_code}/companies/{company_id}

Returns
Type Description
string

hasCompany

clearCompany

setCompany

Required. The resource name of the Company associated with the Proposal.

Format: networks/{network_code}/companies/{company_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Required. The association type between the Company and the Proposal.

Returns
Type Description
int

hasType

clearType

setType

Required. The association type between the Company and the Proposal.

Parameter
Name Description
var int
Returns
Type Description
$this

getSellerContacts

Optional. The resource names of the Contacts associated with the Company.

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

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setSellerContacts

Optional. The resource names of the Contacts associated with the Company.

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

Parameter
Name Description
var string[]
Returns
Type Description
$this