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

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

A finding that occurred while making an ad request.

Generated from protobuf message google.ads.admanager.v1.DaiSession.Finding.AdRequestFinding

Namespace

Google \ Ads \ AdManager \ V1 \ DaiSession \ Finding

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Output only. The finding's type.

↳ ad_selection_key int|string

Output only. The ID that links to the relevant ad selection.

↳ ad_request_key int|string

Output only. The ID that links to the relevant ad request.

getType

Output only. The finding's type.

Returns
Type Description
int

hasType

clearType

setType

Output only. The finding's type.

Parameter
Name Description
var int
Returns
Type Description
$this

getAdSelectionKey

Output only. The ID that links to the relevant ad selection.

Returns
Type Description
int|string

hasAdSelectionKey

clearAdSelectionKey

setAdSelectionKey

Output only. The ID that links to the relevant ad selection.

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

getAdRequestKey

Output only. The ID that links to the relevant ad request.

Returns
Type Description
int|string

hasAdRequestKey

clearAdRequestKey

setAdRequestKey

Output only. The ID that links to the relevant ad request.

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