|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.AdParam
public class AdParam
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:
adGroupIdcriterionIdparamIndex
| Constructor Summary | |
|---|---|
AdParam()
|
|
AdParam(Long adGroupId,
Long criterionId,
String insertionText,
Integer paramIndex)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Long |
getAdGroupId()
Gets the adGroupId value for this AdParam. |
Long |
getCriterionId()
Gets the criterionId value for this AdParam. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getInsertionText()
Gets the insertionText value for this AdParam. |
Integer |
getParamIndex()
Gets the paramIndex value for this AdParam. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setAdGroupId(Long adGroupId)
Sets the adGroupId value for this AdParam. |
void |
setCriterionId(Long criterionId)
Sets the criterionId value for this AdParam. |
void |
setInsertionText(String insertionText)
Sets the insertionText value for this AdParam. |
void |
setParamIndex(Integer paramIndex)
Sets the paramIndex value for this AdParam. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdParam()
public AdParam(Long adGroupId,
Long criterionId,
String insertionText,
Integer paramIndex)
| Method Detail |
|---|
public Long getAdGroupId()
null.public void setAdGroupId(Long adGroupId)
adGroupId - * 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.public Long getCriterionId()
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.public void setCriterionId(Long criterionId)
criterionId - * 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.public String getInsertionText()
, 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.$99.99 and 200£ are
valid.99.99USD and EUR200 are
valid.%. For example, 1.0%
and
1,0% are valid.+ or -. For
example,
-10.99 and 25+ are valid./ between two numbers. For example
4/1 and 0.95/0.45 are valid.null when it is contained within Operators : SET.
The length of
this string should be between 1 and 25, inclusive.public void setInsertionText(String insertionText)
insertionText - * Numeric value to insert into the ad text. The following restrictions
apply:
, 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.$99.99 and 200£ are
valid.99.99USD and EUR200 are
valid.%. For example, 1.0%
and
1,0% are valid.+ or -. For
example,
-10.99 and 25+ are valid./ between two numbers. For example
4/1 and 0.95/0.45 are valid.null when it is contained within Operators : SET.
The length of
this string should be between 1 and 25, inclusive.public Integer getParamIndex()
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.public void setParamIndex(Integer paramIndex)
paramIndex - * 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.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||