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

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

public class ProductExtension
extends AdExtension
implements Serializable

Metadata to be used for retrieving offers from Google Base.

See Also:
Serialized Form

Constructor Summary
ProductExtension()
           
ProductExtension(Long id, String adExtensionType, Integer googleBaseCustomerId, String advertiserName, ProductConditionAndGroup[] productSelection)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAdvertiserName()
          Gets the advertiserName value for this ProductExtension.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getGoogleBaseCustomerId()
          Gets the googleBaseCustomerId value for this ProductExtension.
 ProductConditionAndGroup[] getProductSelection()
          Gets the productSelection value for this ProductExtension.
 ProductConditionAndGroup getProductSelection(int i)
           
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 setAdvertiserName(String advertiserName)
          Sets the advertiserName value for this ProductExtension.
 void setGoogleBaseCustomerId(Integer googleBaseCustomerId)
          Sets the googleBaseCustomerId value for this ProductExtension.
 void setProductSelection(int i, ProductConditionAndGroup _value)
           
 void setProductSelection(ProductConditionAndGroup[] productSelection)
          Sets the productSelection value for this ProductExtension.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.AdExtension
getAdExtensionType, getId, setAdExtensionType, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductExtension

public ProductExtension()

ProductExtension

public ProductExtension(Long id,
                        String adExtensionType,
                        Integer googleBaseCustomerId,
                        String advertiserName,
                        ProductConditionAndGroup[] productSelection)
Method Detail

getGoogleBaseCustomerId

public Integer getGoogleBaseCustomerId()
Gets the googleBaseCustomerId value for this ProductExtension.

Returns:
googleBaseCustomerId * Google Base customer id This field can be selected using the value "GoogleBaseCustomerId". This field is required and should not be null.

setGoogleBaseCustomerId

public void setGoogleBaseCustomerId(Integer googleBaseCustomerId)
Sets the googleBaseCustomerId value for this ProductExtension.

Parameters:
googleBaseCustomerId - * Google Base customer id This field can be selected using the value "GoogleBaseCustomerId". This field is required and should not be null.

getAdvertiserName

public String getAdvertiserName()
Gets the advertiserName value for this ProductExtension.

Returns:
advertiserName * Advertiser name This field can be selected using the value "AdvertiserName". This field is required and should not be null.

setAdvertiserName

public void setAdvertiserName(String advertiserName)
Sets the advertiserName value for this ProductExtension.

Parameters:
advertiserName - * Advertiser name This field can be selected using the value "AdvertiserName". This field is required and should not be null.

getProductSelection

public ProductConditionAndGroup[] getProductSelection()
Gets the productSelection value for this ProductExtension.

Returns:
productSelection * List of ProductConditionAndGroups to OR together to determine if a product in the feed should be eligible to show. If this list is null/empty, there are no selection criteria to enforce on the feed (ie. all products in the feed are eligible). This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored.

setProductSelection

public void setProductSelection(ProductConditionAndGroup[] productSelection)
Sets the productSelection value for this ProductExtension.

Parameters:
productSelection - * List of ProductConditionAndGroups to OR together to determine if a product in the feed should be eligible to show. If this list is null/empty, there are no selection criteria to enforce on the feed (ie. all products in the feed are eligible). This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored.

getProductSelection

public ProductConditionAndGroup getProductSelection(int i)

setProductSelection

public void setProductSelection(int i,
                                ProductConditionAndGroup _value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class AdExtension

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.