com.google.api.ads.dfp.axis.v201206
Class ThirdPartySlot

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

public class ThirdPartySlot
extends Object
implements Serializable

A ThirdPartySlot represents how third-party creatives are uniquely identified in a third-party ad network, yield manager, or ad exchange's system.

See Also:
Serialized Form

Constructor Summary
ThirdPartySlot()
           
ThirdPartySlot(Long id, long[] creativeIds, Long companyId, String externalUniqueId, String externalUniqueName, String description, ThirdPartySlotStatus status)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getCompanyId()
          Gets the companyId value for this ThirdPartySlot.
 long[] getCreativeIds()
          Gets the creativeIds value for this ThirdPartySlot.
 long getCreativeIds(int i)
           
 String getDescription()
          Gets the description value for this ThirdPartySlot.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getExternalUniqueId()
          Gets the externalUniqueId value for this ThirdPartySlot.
 String getExternalUniqueName()
          Gets the externalUniqueName value for this ThirdPartySlot.
 Long getId()
          Gets the id value for this ThirdPartySlot.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 ThirdPartySlotStatus getStatus()
          Gets the status value for this ThirdPartySlot.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCompanyId(Long companyId)
          Sets the companyId value for this ThirdPartySlot.
 void setCreativeIds(int i, long _value)
           
 void setCreativeIds(long[] creativeIds)
          Sets the creativeIds value for this ThirdPartySlot.
 void setDescription(String description)
          Sets the description value for this ThirdPartySlot.
 void setExternalUniqueId(String externalUniqueId)
          Sets the externalUniqueId value for this ThirdPartySlot.
 void setExternalUniqueName(String externalUniqueName)
          Sets the externalUniqueName value for this ThirdPartySlot.
 void setId(Long id)
          Sets the id value for this ThirdPartySlot.
 void setStatus(ThirdPartySlotStatus status)
          Sets the status value for this ThirdPartySlot.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThirdPartySlot

public ThirdPartySlot()

ThirdPartySlot

public ThirdPartySlot(Long id,
                      long[] creativeIds,
                      Long companyId,
                      String externalUniqueId,
                      String externalUniqueName,
                      String description,
                      ThirdPartySlotStatus status)
Method Detail

getId

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

Returns:
id * The unique ID of the ThirdPartySlot. This value is readonly and is assigned by Google.

setId

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

Parameters:
id - * The unique ID of the ThirdPartySlot. This value is readonly and is assigned by Google.

getCreativeIds

public long[] getCreativeIds()
Gets the creativeIds value for this ThirdPartySlot.

Returns:
creativeIds * Set of IDs of Creative objects that belong to this slot.

setCreativeIds

public void setCreativeIds(long[] creativeIds)
Sets the creativeIds value for this ThirdPartySlot.

Parameters:
creativeIds - * Set of IDs of Creative objects that belong to this slot.

getCreativeIds

public long getCreativeIds(int i)

setCreativeIds

public void setCreativeIds(int i,
                           long _value)

getCompanyId

public Long getCompanyId()
Gets the companyId value for this ThirdPartySlot.

Returns:
companyId * ID of the Company to which this slot belongs. This value is required.

setCompanyId

public void setCompanyId(Long companyId)
Sets the companyId value for this ThirdPartySlot.

Parameters:
companyId - * ID of the Company to which this slot belongs. This value is required.

getExternalUniqueId

public String getExternalUniqueId()
Gets the externalUniqueId value for this ThirdPartySlot.

Returns:
externalUniqueId * The unique identification for this creative in the third party system. This value is required and has a maximum length of 255 characters.

setExternalUniqueId

public void setExternalUniqueId(String externalUniqueId)
Sets the externalUniqueId value for this ThirdPartySlot.

Parameters:
externalUniqueId - * The unique identification for this creative in the third party system. This value is required and has a maximum length of 255 characters.

getExternalUniqueName

public String getExternalUniqueName()
Gets the externalUniqueName value for this ThirdPartySlot.

Returns:
externalUniqueName * The name for the unique identification - this value may, and will usually, be the same as externalUniqueId. This value is required and has a maximum length of 255 characters.

setExternalUniqueName

public void setExternalUniqueName(String externalUniqueName)
Sets the externalUniqueName value for this ThirdPartySlot.

Parameters:
externalUniqueName - * The name for the unique identification - this value may, and will usually, be the same as externalUniqueId. This value is required and has a maximum length of 255 characters.

getDescription

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

Returns:
description * A description of the unique identification. This value is required and has a maximum length of 511 characters.

setDescription

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

Parameters:
description - * A description of the unique identification. This value is required and has a maximum length of 511 characters.

getStatus

public ThirdPartySlotStatus getStatus()
Gets the status value for this ThirdPartySlot.

Returns:
status * The status of this ThirdPartySlot. This attribute is read-only.

setStatus

public void setStatus(ThirdPartySlotStatus status)
Sets the status value for this ThirdPartySlot.

Parameters:
status - * The status of this ThirdPartySlot. This attribute is read-only.

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.