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

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

Request object for GetNativeStyle method.

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

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 NativeStyle. Format: networks/{network_code}/nativeStyles/{native_style_id}

getName

Required. The resource name of the NativeStyle.

Format: networks/{network_code}/nativeStyles/{native_style_id}

Returns
Type Description
string

setName

Required. The resource name of the NativeStyle.

Format: networks/{network_code}/nativeStyles/{native_style_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the NativeStyle. Format: networks/{network_code}/nativeStyles/{native_style_id} Please see NativeStyleServiceClient::nativeStyleName() for help formatting this field.

Returns
Type Description
GetNativeStyleRequest