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

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

Information about a single creative.

Generated from protobuf message google.ads.admanager.v1.DaiSession.Creative

Namespace

Google \ Ads \ AdManager \ V1 \ DaiSession

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id_type int

Output only. The type of ID that is used to identify this creative.

↳ id_value string

Output only. The value for the given ID type.

↳ ad_system string

Output only. The ad system that provided this creative.

↳ duration Google\Protobuf\Duration

Output only. Duration of the creative.

↳ pod_sequence int

Output only. The index at which this creative appeared in the ad pod.

↳ vast_infos array<Creative\VastInfo>

Output only. The VAST infos that resulted in this creative.

↳ ad_buffet bool

Output only. Whether this creative was from ad buffet.

getIdType

Output only. The type of ID that is used to identify this creative.

Returns
Type Description
int

hasIdType

clearIdType

setIdType

Output only. The type of ID that is used to identify this creative.

Parameter
Name Description
var int
Returns
Type Description
$this

getIdValue

Output only. The value for the given ID type.

Returns
Type Description
string

hasIdValue

clearIdValue

setIdValue

Output only. The value for the given ID type.

Parameter
Name Description
var string
Returns
Type Description
$this

getAdSystem

Output only. The ad system that provided this creative.

Returns
Type Description
string

hasAdSystem

clearAdSystem

setAdSystem

Output only. The ad system that provided this creative.

Parameter
Name Description
var string
Returns
Type Description
$this

getDuration

Output only. Duration of the creative.

Returns
Type Description
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Output only. Duration of the creative.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getPodSequence

Output only. The index at which this creative appeared in the ad pod.

Returns
Type Description
int

hasPodSequence

clearPodSequence

setPodSequence

Output only. The index at which this creative appeared in the ad pod.

Parameter
Name Description
var int
Returns
Type Description
$this

getVastInfos

Output only. The VAST infos that resulted in this creative.

Returns
Type Description
Google\Protobuf\RepeatedField<Creative\VastInfo>

setVastInfos

Output only. The VAST infos that resulted in this creative.

Parameter
Name Description
var array<Creative\VastInfo>
Returns
Type Description
$this

getAdBuffet

Output only. Whether this creative was from ad buffet.

Returns
Type Description
bool

hasAdBuffet

clearAdBuffet

setAdBuffet

Output only. Whether this creative was from ad buffet.

Parameter
Name Description
var bool
Returns
Type Description
$this