com.google.api.ads.dfp.axis.v201208
Class Network

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

public class Network
extends Object
implements Serializable

Network represents a network.

See Also:
Serialized Form

Constructor Summary
Network()
           
Network(Long id, String displayName, String networkCode, String propertyCode, String timeZone, String currencyCode, String effectiveRootAdUnitId, Long contentBrowseCustomTargetingKeyId, Boolean isTest)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getContentBrowseCustomTargetingKeyId()
          Gets the contentBrowseCustomTargetingKeyId value for this Network.
 String getCurrencyCode()
          Gets the currencyCode value for this Network.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getDisplayName()
          Gets the displayName value for this Network.
 String getEffectiveRootAdUnitId()
          Gets the effectiveRootAdUnitId value for this Network.
 Long getId()
          Gets the id value for this Network.
 Boolean getIsTest()
          Gets the isTest value for this Network.
 String getNetworkCode()
          Gets the networkCode value for this Network.
 String getPropertyCode()
          Gets the propertyCode value for this Network.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getTimeZone()
          Gets the timeZone value for this Network.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setContentBrowseCustomTargetingKeyId(Long contentBrowseCustomTargetingKeyId)
          Sets the contentBrowseCustomTargetingKeyId value for this Network.
 void setCurrencyCode(String currencyCode)
          Sets the currencyCode value for this Network.
 void setDisplayName(String displayName)
          Sets the displayName value for this Network.
 void setEffectiveRootAdUnitId(String effectiveRootAdUnitId)
          Sets the effectiveRootAdUnitId value for this Network.
 void setId(Long id)
          Sets the id value for this Network.
 void setIsTest(Boolean isTest)
          Sets the isTest value for this Network.
 void setNetworkCode(String networkCode)
          Sets the networkCode value for this Network.
 void setPropertyCode(String propertyCode)
          Sets the propertyCode value for this Network.
 void setTimeZone(String timeZone)
          Sets the timeZone value for this Network.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Network

public Network()

Network

public Network(Long id,
               String displayName,
               String networkCode,
               String propertyCode,
               String timeZone,
               String currencyCode,
               String effectiveRootAdUnitId,
               Long contentBrowseCustomTargetingKeyId,
               Boolean isTest)
Method Detail

getId

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

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

setId

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

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

getDisplayName

public String getDisplayName()
Gets the displayName value for this Network.

Returns:
displayName * The display name of the network.

setDisplayName

public void setDisplayName(String displayName)
Sets the displayName value for this Network.

Parameters:
displayName - * The display name of the network.

getNetworkCode

public String getNetworkCode()
Gets the networkCode value for this Network.

Returns:
networkCode * The network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only.

setNetworkCode

public void setNetworkCode(String networkCode)
Sets the networkCode value for this Network.

Parameters:
networkCode - * The network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only.

getPropertyCode

public String getPropertyCode()
Gets the propertyCode value for this Network.

Returns:
propertyCode * The property code. This field is read-only.

setPropertyCode

public void setPropertyCode(String propertyCode)
Sets the propertyCode value for this Network.

Parameters:
propertyCode - * The property code. This field is read-only.

getTimeZone

public String getTimeZone()
Gets the timeZone value for this Network.

Returns:
timeZone * The time zone associated with the delivery of orders and reporting. This field is read-only.

setTimeZone

public void setTimeZone(String timeZone)
Sets the timeZone value for this Network.

Parameters:
timeZone - * The time zone associated with the delivery of orders and reporting. This field is read-only.

getCurrencyCode

public String getCurrencyCode()
Gets the currencyCode value for this Network.

Returns:
currencyCode * The currency code. This field is read-only.

setCurrencyCode

public void setCurrencyCode(String currencyCode)
Sets the currencyCode value for this Network.

Parameters:
currencyCode - * The currency code. This field is read-only.

getEffectiveRootAdUnitId

public String getEffectiveRootAdUnitId()
Gets the effectiveRootAdUnitId value for this Network.

Returns:
effectiveRootAdUnitId * The AdUnit.id of the top most ad unit to which descendant ad units can be added. Should be used for the AdUnit.parentId when first building inventory hierarchy. This field is read-only.

setEffectiveRootAdUnitId

public void setEffectiveRootAdUnitId(String effectiveRootAdUnitId)
Sets the effectiveRootAdUnitId value for this Network.

Parameters:
effectiveRootAdUnitId - * The AdUnit.id of the top most ad unit to which descendant ad units can be added. Should be used for the AdUnit.parentId when first building inventory hierarchy. This field is read-only.

getContentBrowseCustomTargetingKeyId

public Long getContentBrowseCustomTargetingKeyId()
Gets the contentBrowseCustomTargetingKeyId value for this Network.

Returns:
contentBrowseCustomTargetingKeyId * The ID of the CustomTargetingKey that is used to categorize video content in DFP. Values of this CustomTargetingKey can be used as part of the Targeting.contentTargeting for targeting line items to video categories. Additionally, you can use the values of this key with the ContentService to search for all Content that are associated to a particular key/value combination.

setContentBrowseCustomTargetingKeyId

public void setContentBrowseCustomTargetingKeyId(Long contentBrowseCustomTargetingKeyId)
Sets the contentBrowseCustomTargetingKeyId value for this Network.

Parameters:
contentBrowseCustomTargetingKeyId - * The ID of the CustomTargetingKey that is used to categorize video content in DFP. Values of this CustomTargetingKey can be used as part of the Targeting.contentTargeting for targeting line items to video categories. Additionally, you can use the values of this key with the ContentService to search for all Content that are associated to a particular key/value combination.

getIsTest

public Boolean getIsTest()
Gets the isTest value for this Network.

Returns:
isTest * Whether this is a test network. This field is read-only.

setIsTest

public void setIsTest(Boolean isTest)
Sets the isTest value for this Network.

Parameters:
isTest - * Whether this is a test network. This field 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.