Google Ads Ad Manager V1 Client - Class BatchUpdateContactsRequest (0.5.0)

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

Request object for BatchUpdateContacts method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where Contacts will be updated. Format: networks/{network_code} The parent field in the UpdateContactRequest must match this field.

↳ requests array<UpdateContactRequest>

Required. The Contact objects to update. A maximum of 100 objects can be updated in a batch.

getParent

Required. The parent resource where Contacts will be updated.

Format: networks/{network_code} The parent field in the UpdateContactRequest must match this field.

Returns
Type Description
string

setParent

Required. The parent resource where Contacts will be updated.

Format: networks/{network_code} The parent field in the UpdateContactRequest must match this field.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequests

Required. The Contact objects to update.

A maximum of 100 objects can be updated in a batch.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The Contact objects to update.

A maximum of 100 objects can be updated in a batch.

Parameter
Name Description
var array<UpdateContactRequest>
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where Contacts will be updated. Format: networks/{network_code} The parent field in the UpdateContactRequest must match this field. Please see ContactServiceClient::networkName() for help formatting this field.

requests array<UpdateContactRequest>

Required. The Contact objects to update. A maximum of 100 objects can be updated in a batch.

Returns
Type Description
BatchUpdateContactsRequest