Class awAdParam

Description

<p>Represents an ad parameter. Use ad parameters to insert parameterized

numeric values into text ads. An

  1. AdParam
object is associated to exactly one
  1. Keyword
criterion and one ad group. Up to two ad parameters can be set per keyword (one for each paramIndex):</p>
  • paramIndex = 1
  • paramIndex = 2

Located in /classes/cm/AdParam.php

awComplexObject
   |
   --awAdParam
Variable Summary
Variables
long $adGroupId

Id of adgroup

<span class="constraint Required">This field is required and should not be {@code null}.</span>

long $criterionId

The id of the

  1. Keyword
criterion that this ad parameter applies to. The keyword must be associated with the same adgroup as this
  1. AdParam
.

<span class="constraint Required">This field is required and should not be {@code null}.</span>

string $insertionText

Numeric value or currency value (eg. 15, $99.99, 5.99$) to insert into the ad text

<span class="constraint Required">This field is required and should not be {@code null} when it is contained within Operators : SET.</span> <span class="constraint StringLength">The length of this string should be between 1 and 25, inclusive.</span>

int $paramIndex

Index of the param tag in the ad text.

For example, a

value of 1 corresponds to the {param1:} tag in the ad text. Range is restricted to 1 &le; paramIndex &le; 2. <span class="constraint InRange">This field must be between 1.0 and 2.0, inclusive.</span> <span class="constraint Required">This field is required and should not be {@code null}.</span>

Inherited Variables

Inherited from awComplexObject

awComplexObject::$_cachedCheckFields
awComplexObject::$_row
Methods

Documentation generated on Thu, 15 Apr 2010 19:06:08 +0300 by phpDocumentor 1.4.3