com.google.api.ads.adwords.v201109.cm
Class Product

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Criterion
      extended by com.google.api.ads.adwords.v201109.cm.Product
All Implemented Interfaces:
Serializable

public class Product
extends Criterion
implements Serializable

Product targeting criteria, represents a filter for products in the product feed that is defined by the advertiser. The criteria is used to determine the products in a Merchant Center account to be used with the ProductAds in the AdGroup. This criteria is available only to some advertisers.

See Also:
Serialized Form

Constructor Summary
Product()
           
Product(Long id, CriterionType type, String criterionType, ProductCondition[] conditions, String text)
           
 
Method Summary
 boolean equals(Object obj)
           
 ProductCondition[] getConditions()
          Gets the conditions value for this Product.
 ProductCondition getConditions(int i)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getText()
          Gets the text value for this Product.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setConditions(int i, ProductCondition _value)
           
 void setConditions(ProductCondition[] conditions)
          Sets the conditions value for this Product.
 void setText(String text)
          Sets the text value for this Product.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Criterion
getCriterionType, getId, getType, setCriterionType, setId, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Product

public Product()

Product

public Product(Long id,
               CriterionType type,
               String criterionType,
               ProductCondition[] conditions,
               String text)
Method Detail

getConditions

public ProductCondition[] getConditions()
Gets the conditions value for this Product.

Returns:
conditions * Product filter conditions. The condition in the product criteria is defined as {operand1=argument1,operand2=argument2}. The product conditions are anded to evaluate the targeting parameter. null conditions means that all products are targeted.

setConditions

public void setConditions(ProductCondition[] conditions)
Sets the conditions value for this Product.

Parameters:
conditions - * Product filter conditions. The condition in the product criteria is defined as {operand1=argument1,operand2=argument2}. The product conditions are anded to evaluate the targeting parameter. null conditions means that all products are targeted.

getConditions

public ProductCondition getConditions(int i)

setConditions

public void setConditions(int i,
                          ProductCondition _value)

getText

public String getText()
Gets the text value for this Product.

Returns:
text * Product criteria parameter This field can be selected using the value "Text". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setText

public void setText(String text)
Sets the text value for this Product.

Parameters:
text - * Product criteria parameter This field can be selected using the value "Text". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

equals

public boolean equals(Object obj)
Overrides:
equals in class Criterion

hashCode

public int hashCode()
Overrides:
hashCode in class Criterion

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.