Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.v201809.AdParam Class Reference

Represents an ad parameter. Use ad parameters to update numeric values (such as prices or inventory levels) in any line of a text ad, including the destination URL. You can set two More...

Classes

class  Fields
 List of all supported fields for the AdParam class. More...
 
class  FilterableFields
 List of all supported filterable fields for the AdParam class. More...
 
class  SelectableFields
 List of all supported selectable fields for the AdParam class. More...
 

Properties

long adGroupId [get, set]
 ID of the associated ad group. Text ads in this ad group will be candidates for parameterized text replacement. This field can be selected using the value "AdGroupId".This field can be filtered on. This field is required and should not be More...
 
bool adGroupIdSpecified [get, set]
 
long criterionId [get, set]
 ID of the associated More...
 
bool criterionIdSpecified [get, set]
 
string insertionText [get, set]
 Numeric value to insert into the ad text. The following restrictions apply: More...
 
int paramIndex [get, set]
 Defines which parameterized snippet of ad text to replace. For example, a value of More...
 
bool paramIndexSpecified [get, set]
 

Detailed Description

Represents an ad parameter. Use ad parameters to update numeric values (such as prices or inventory levels) in any line of a text ad, including the destination URL. You can set two

AdParam objects (one for each value of #paramIndex) per ad group Keyword criterion.

When setting or removing an AdParam, it is uniquely identified by the combination of these three fields:

  • adGroupId
  • criterionId
  • paramIndex

Property Documentation

long Google.Api.Ads.AdWords.v201809.AdParam.adGroupId
getset

ID of the associated ad group. Text ads in this ad group will be candidates for parameterized text replacement. This field can be selected using the value "AdGroupId".This field can be filtered on. This field is required and should not be

null.

bool Google.Api.Ads.AdWords.v201809.AdParam.adGroupIdSpecified
getset

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

long Google.Api.Ads.AdWords.v201809.AdParam.criterionId
getset

ID of the associated

Keyword criterion. The keyword must be in the same ad group as this AdParam. Text ads triggered by this keyword will have their {paramN:default-value} snippet replaced by the contents of #insertionText. This field can be selected using the value "CriterionId".This field can be filtered on. This field is required and should not be null.

bool Google.Api.Ads.AdWords.v201809.AdParam.criterionIdSpecified
getset

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

string Google.Api.Ads.AdWords.v201809.AdParam.insertionText
getset

Numeric value to insert into the ad text. The following restrictions apply:

  • Can use , or . as a separator, with an optional . or , (respectively) for fractional values. For example, 1,000,000.00 and 2.000.000,10 are valid.
  • Can be prepended or appended with a currency symbol. For example, $99.99 and 200#x163; are valid.
  • Can be prepended or appended with a currency code. For example, 99.99USD and EUR200 are valid.
  • Can use %. For example, 1.0% and 1,0% are valid.
  • Can use + or -. For example, -10.99 and 25+ are valid.
  • Can use / between two numbers. For example 4/1 and 0.95/0.45 are valid.

This field can be selected using the value "InsertionText". This field is required and should not be null when it is contained within Operators : SET. The length of this string should be between 1 and 25, inclusive.

int Google.Api.Ads.AdWords.v201809.AdParam.paramIndex
getset

Defines which parameterized snippet of ad text to replace. For example, a value of

1 indicates a replacement for the {param1:default-value} token. This field can be selected using the value "ParamIndex". This field must be between 1 and 2, inclusive. This field is required and should not be null.

bool Google.Api.Ads.AdWords.v201809.AdParam.paramIndexSpecified
getset

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


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