Google Ads Ad Manager V1 Client - Class GetDaiSessionRequest (0.14.1)

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

Request object for GetDaiSession method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the DaiSession. The dai_session can be either the session ID or debug key, that DAI returns on stream create. For details, see Locate a DAI session ID or debug key. Format: networks/{network_code}/daiSessions/{dai_session} Format: networks/{network_code}/daiSessions/{session_id} Format: networks/{network_code}/daiSessions/{debug_key}

getName

Required. The resource name of the DaiSession. The dai_session can be either the session ID or debug key, that DAI returns on stream create. For details, see Locate a DAI session ID or debug key.

Format: networks/{network_code}/daiSessions/{dai_session} Format: networks/{network_code}/daiSessions/{session_id} Format: networks/{network_code}/daiSessions/{debug_key}

Returns
Type Description
string

setName

Required. The resource name of the DaiSession. The dai_session can be either the session ID or debug key, that DAI returns on stream create. For details, see Locate a DAI session ID or debug key.

Format: networks/{network_code}/daiSessions/{dai_session} Format: networks/{network_code}/daiSessions/{session_id} Format: networks/{network_code}/daiSessions/{debug_key}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the DaiSession. The dai_session can be either the session ID or debug key, that DAI returns on stream create. For details, see Locate a DAI session ID or debug key.

Format: networks/{network_code}/daiSessions/{dai_session} Format: networks/{network_code}/daiSessions/{session_id} Format: networks/{network_code}/daiSessions/{debug_key} Please see DaiSessionServiceClient::daiSessionName() for help formatting this field.

Returns
Type Description
GetDaiSessionRequest