com.google.api.ads.adwords.v201109.ch
Class AdGroupChangeData

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.ch.AdGroupChangeData
All Implemented Interfaces:
Serializable

public class AdGroupChangeData
extends Object
implements Serializable

Holds information about a changed adgroup

See Also:
Serialized Form

Constructor Summary
AdGroupChangeData()
           
AdGroupChangeData(Long adGroupId, ChangeStatus adGroupChangeStatus, long[] changedAds, long[] changedCriteria, long[] deletedCriteria)
           
 
Method Summary
 boolean equals(Object obj)
           
 ChangeStatus getAdGroupChangeStatus()
          Gets the adGroupChangeStatus value for this AdGroupChangeData.
 Long getAdGroupId()
          Gets the adGroupId value for this AdGroupChangeData.
 long[] getChangedAds()
          Gets the changedAds value for this AdGroupChangeData.
 long getChangedAds(int i)
           
 long[] getChangedCriteria()
          Gets the changedCriteria value for this AdGroupChangeData.
 long getChangedCriteria(int i)
           
 long[] getDeletedCriteria()
          Gets the deletedCriteria value for this AdGroupChangeData.
 long getDeletedCriteria(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
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAdGroupChangeStatus(ChangeStatus adGroupChangeStatus)
          Sets the adGroupChangeStatus value for this AdGroupChangeData.
 void setAdGroupId(Long adGroupId)
          Sets the adGroupId value for this AdGroupChangeData.
 void setChangedAds(int i, long _value)
           
 void setChangedAds(long[] changedAds)
          Sets the changedAds value for this AdGroupChangeData.
 void setChangedCriteria(int i, long _value)
           
 void setChangedCriteria(long[] changedCriteria)
          Sets the changedCriteria value for this AdGroupChangeData.
 void setDeletedCriteria(int i, long _value)
           
 void setDeletedCriteria(long[] deletedCriteria)
          Sets the deletedCriteria value for this AdGroupChangeData.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdGroupChangeData

public AdGroupChangeData()

AdGroupChangeData

public AdGroupChangeData(Long adGroupId,
                         ChangeStatus adGroupChangeStatus,
                         long[] changedAds,
                         long[] changedCriteria,
                         long[] deletedCriteria)
Method Detail

getAdGroupId

public Long getAdGroupId()
Gets the adGroupId value for this AdGroupChangeData.

Returns:
adGroupId * The adgroup Id.

setAdGroupId

public void setAdGroupId(Long adGroupId)
Sets the adGroupId value for this AdGroupChangeData.

Parameters:
adGroupId - * The adgroup Id.

getAdGroupChangeStatus

public ChangeStatus getAdGroupChangeStatus()
Gets the adGroupChangeStatus value for this AdGroupChangeData.

Returns:
adGroupChangeStatus * Whether or not the fields of this adgroup have changed, for example the AdGroup name. Changes to the Ads and Criteria are enumerated in their respective lists and will not be reflected in this status.

setAdGroupChangeStatus

public void setAdGroupChangeStatus(ChangeStatus adGroupChangeStatus)
Sets the adGroupChangeStatus value for this AdGroupChangeData.

Parameters:
adGroupChangeStatus - * Whether or not the fields of this adgroup have changed, for example the AdGroup name. Changes to the Ads and Criteria are enumerated in their respective lists and will not be reflected in this status.

getChangedAds

public long[] getChangedAds()
Gets the changedAds value for this AdGroupChangeData.

Returns:
changedAds * The IDs of any changed ads of this adgroup. This includes ads that have been deleted.

setChangedAds

public void setChangedAds(long[] changedAds)
Sets the changedAds value for this AdGroupChangeData.

Parameters:
changedAds - * The IDs of any changed ads of this adgroup. This includes ads that have been deleted.

getChangedAds

public long getChangedAds(int i)

setChangedAds

public void setChangedAds(int i,
                          long _value)

getChangedCriteria

public long[] getChangedCriteria()
Gets the changedCriteria value for this AdGroupChangeData.

Returns:
changedCriteria * The IDs of any changed criterion of this adgroup.

setChangedCriteria

public void setChangedCriteria(long[] changedCriteria)
Sets the changedCriteria value for this AdGroupChangeData.

Parameters:
changedCriteria - * The IDs of any changed criterion of this adgroup.

getChangedCriteria

public long getChangedCriteria(int i)

setChangedCriteria

public void setChangedCriteria(int i,
                               long _value)

getDeletedCriteria

public long[] getDeletedCriteria()
Gets the deletedCriteria value for this AdGroupChangeData.

Returns:
deletedCriteria * The IDs of any deleted criterion of this adgroup.

setDeletedCriteria

public void setDeletedCriteria(long[] deletedCriteria)
Sets the deletedCriteria value for this AdGroupChangeData.

Parameters:
deletedCriteria - * The IDs of any deleted criterion of this adgroup.

getDeletedCriteria

public long getDeletedCriteria(int i)

setDeletedCriteria

public void setDeletedCriteria(int i,
                               long _value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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.