Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.NativeStyle Class Reference

Used to define the look and feel of native ads, for both web and apps. Native styles determine how native creatives look for a segment of inventory. More...

Properties

long id [get, set]
 Uniquely identifies the More...
 
bool idSpecified [get, set]
 
string name [get, set]
 The name of the native style. This attribute is required and has a maximum length of 255 characters. More...
 
string htmlSnippet [get, set]
 The HTML snippet of the native style with placeholders for the associated variables. This attribute is required. More...
 
string cssSnippet [get, set]
 The CSS snippet of the native style, with placeholders for the associated variables. This attribute is required. More...
 
long creativeTemplateId [get, set]
 The creative template ID this native style associated with. This attribute is required on creation and is read-only afterwards. More...
 
bool creativeTemplateIdSpecified [get, set]
 
bool isFluid [get, set]
 Whether this is a fluid size native style. If More...
 
bool isFluidSpecified [get, set]
 
Targeting targeting [get, set]
 The targeting criteria for this native style. Only ad unit and key-value targeting are supported at this time. More...
 
NativeStyleStatus status [get, set]
 The status of the native style. This attribute is read-only. More...
 
bool statusSpecified [get, set]
 
Size size [get, set]
 The size of the native style. This attribute is required. More...
 

Detailed Description

Used to define the look and feel of native ads, for both web and apps. Native styles determine how native creatives look for a segment of inventory.

Property Documentation

long Google.Api.Ads.AdManager.v202311.NativeStyle.creativeTemplateId
getset

The creative template ID this native style associated with. This attribute is required on creation and is read-only afterwards.

bool Google.Api.Ads.AdManager.v202311.NativeStyle.creativeTemplateIdSpecified
getset

true, if a value is specified for creativeTemplateId, false otherwise.

string Google.Api.Ads.AdManager.v202311.NativeStyle.cssSnippet
getset

The CSS snippet of the native style, with placeholders for the associated variables. This attribute is required.

string Google.Api.Ads.AdManager.v202311.NativeStyle.htmlSnippet
getset

The HTML snippet of the native style with placeholders for the associated variables. This attribute is required.

long Google.Api.Ads.AdManager.v202311.NativeStyle.id
getset

Uniquely identifies the

NativeStyle. This attribute is read-only and is assigned by Google when a native style is created.

bool Google.Api.Ads.AdManager.v202311.NativeStyle.idSpecified
getset

true, if a value is specified for id, false otherwise.

bool Google.Api.Ads.AdManager.v202311.NativeStyle.isFluid
getset

Whether this is a fluid size native style. If

true, this must be used with 1x1 size.

bool Google.Api.Ads.AdManager.v202311.NativeStyle.isFluidSpecified
getset

true, if a value is specified for isFluid, false otherwise.

string Google.Api.Ads.AdManager.v202311.NativeStyle.name
getset

The name of the native style. This attribute is required and has a maximum length of 255 characters.

Size Google.Api.Ads.AdManager.v202311.NativeStyle.size
getset

The size of the native style. This attribute is required.

NativeStyleStatus Google.Api.Ads.AdManager.v202311.NativeStyle.status
getset

The status of the native style. This attribute is read-only.

bool Google.Api.Ads.AdManager.v202311.NativeStyle.statusSpecified
getset

true, if a value is specified for status, false otherwise.

Targeting Google.Api.Ads.AdManager.v202311.NativeStyle.targeting
getset

The targeting criteria for this native style. Only ad unit and key-value targeting are supported at this time.


The documentation for this class was generated from the following file: