Google Ads Ad Manager V1 Client - Class PreviewLineItemCreativeAssociationRequest (0.17.0)

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

Request message for PreviewLineItemCreativeAssociation method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the LineItemCreativeAssociation object to preview. Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}

↳ site_url string

Required. The URL of the site that the creative should be previewed in

getName

Required. The name of the LineItemCreativeAssociation object to preview.

Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}

Returns
Type Description
string

setName

Required. The name of the LineItemCreativeAssociation object to preview.

Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getSiteUrl

Required. The URL of the site that the creative should be previewed in

Returns
Type Description
string

setSiteUrl

Required. The URL of the site that the creative should be previewed in

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. The name of the LineItemCreativeAssociation object to preview. Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id} Please see LineItemCreativeAssociationServiceClient::lineItemCreativeAssociationName() for help formatting this field.

siteUrl string

Required. The URL of the site that the creative should be previewed in

Returns
Type Description
PreviewLineItemCreativeAssociationRequest