Google Ads Ad Manager V1 Client - Class Team (0.1.0)

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

A Team defines a grouping of users and what entities they have access to.

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

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 Team. Format: networks/{network_code}/teams/{team_id}

↳ team_id int|string

Output only. The unique ID of the Team. This value is assigned by Google. Teams that are created by Google will have negative IDs.

getName

Identifier. The resource name of the Team.

Format: networks/{network_code}/teams/{team_id}

Returns
Type Description
string

setName

Identifier. The resource name of the Team.

Format: networks/{network_code}/teams/{team_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getTeamId

Output only. The unique ID of the Team. This value is assigned by Google.

Teams that are created by Google will have negative IDs.

Returns
Type Description
int|string

setTeamId

Output only. The unique ID of the Team. This value is assigned by Google.

Teams that are created by Google will have negative IDs.

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