com.google.api.ads.dfp.axis.v201203
Class AudienceSegment

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201203.AudienceSegment
All Implemented Interfaces:
Serializable

public class AudienceSegment
extends Object
implements Serializable

An AudienceSegment represents audience segment object.

See Also:
Serialized Form

Constructor Summary
AudienceSegment()
           
AudienceSegment(Long id, String name, String description, AudienceSegmentStatus status, Long size, String audienceSegmentType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAudienceSegmentType()
          Gets the audienceSegmentType value for this AudienceSegment.
 String getDescription()
          Gets the description value for this AudienceSegment.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getId()
          Gets the id value for this AudienceSegment.
 String getName()
          Gets the name value for this AudienceSegment.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Long getSize()
          Gets the size value for this AudienceSegment.
 AudienceSegmentStatus getStatus()
          Gets the status value for this AudienceSegment.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAudienceSegmentType(String audienceSegmentType)
          Sets the audienceSegmentType value for this AudienceSegment.
 void setDescription(String description)
          Sets the description value for this AudienceSegment.
 void setId(Long id)
          Sets the id value for this AudienceSegment.
 void setName(String name)
          Sets the name value for this AudienceSegment.
 void setSize(Long size)
          Sets the size value for this AudienceSegment.
 void setStatus(AudienceSegmentStatus status)
          Sets the status value for this AudienceSegment.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudienceSegment

public AudienceSegment()

AudienceSegment

public AudienceSegment(Long id,
                       String name,
                       String description,
                       AudienceSegmentStatus status,
                       Long size,
                       String audienceSegmentType)
Method Detail

getId

public Long getId()
Gets the id value for this AudienceSegment.

Returns:
id * Id of the AudienceSegment. This value is readonly and is populated by Google.

setId

public void setId(Long id)
Sets the id value for this AudienceSegment.

Parameters:
id - * Id of the AudienceSegment. This value is readonly and is populated by Google.

getName

public String getName()
Gets the name value for this AudienceSegment.

Returns:
name * Name of the AudienceSegment. This attribute is required and has a maximum length of 255 characters.

setName

public void setName(String name)
Sets the name value for this AudienceSegment.

Parameters:
name - * Name of the AudienceSegment. This attribute is required and has a maximum length of 255 characters.

getDescription

public String getDescription()
Gets the description value for this AudienceSegment.

Returns:
description * Description of the AudienceSegment. This attribute is required and has a maximum length of 8192 characters.

setDescription

public void setDescription(String description)
Sets the description value for this AudienceSegment.

Parameters:
description - * Description of the AudienceSegment. This attribute is required and has a maximum length of 8192 characters.

getStatus

public AudienceSegmentStatus getStatus()
Gets the status value for this AudienceSegment.

Returns:
status * Status of the AudienceSegment. This controls whether the given segment is available for targeting or not.

setStatus

public void setStatus(AudienceSegmentStatus status)
Sets the status value for this AudienceSegment.

Parameters:
status - * Status of the AudienceSegment. This controls whether the given segment is available for targeting or not.

getSize

public Long getSize()
Gets the size value for this AudienceSegment.

Returns:
size * Number of unique cookies in the AudienceSegment. This value is readonly and is populated by Google.

setSize

public void setSize(Long size)
Sets the size value for this AudienceSegment.

Parameters:
size - * Number of unique cookies in the AudienceSegment. This value is readonly and is populated by Google.

getAudienceSegmentType

public String getAudienceSegmentType()
Gets the audienceSegmentType value for this AudienceSegment.

Returns:
audienceSegmentType * Indicates that this instance is a subtype of AudienceSegment. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

setAudienceSegmentType

public void setAudienceSegmentType(String audienceSegmentType)
Sets the audienceSegmentType value for this AudienceSegment.

Parameters:
audienceSegmentType - * Indicates that this instance is a subtype of AudienceSegment. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

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 © 2012. All Rights Reserved.