com.google.api.ads.dfp.axis.v201204
Class SiteTargetingInfo

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201204.SiteTargetingInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Placement

public class SiteTargetingInfo
extends Object
implements Serializable

Contains information required for AdWords advertisers to place their ads.

See Also:
Serialized Form

Constructor Summary
SiteTargetingInfo()
           
SiteTargetingInfo(String targetingDescription, String targetingSiteName, String targetingAdLocation, String siteTargetingInfoType)
           
 
Method Summary
 boolean equals(Object obj)
           
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
 String getSiteTargetingInfoType()
          Gets the siteTargetingInfoType value for this SiteTargetingInfo.
 String getTargetingAdLocation()
          Gets the targetingAdLocation value for this SiteTargetingInfo.
 String getTargetingDescription()
          Gets the targetingDescription value for this SiteTargetingInfo.
 String getTargetingSiteName()
          Gets the targetingSiteName value for this SiteTargetingInfo.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setSiteTargetingInfoType(String siteTargetingInfoType)
          Sets the siteTargetingInfoType value for this SiteTargetingInfo.
 void setTargetingAdLocation(String targetingAdLocation)
          Sets the targetingAdLocation value for this SiteTargetingInfo.
 void setTargetingDescription(String targetingDescription)
          Sets the targetingDescription value for this SiteTargetingInfo.
 void setTargetingSiteName(String targetingSiteName)
          Sets the targetingSiteName value for this SiteTargetingInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteTargetingInfo

public SiteTargetingInfo()

SiteTargetingInfo

public SiteTargetingInfo(String targetingDescription,
                         String targetingSiteName,
                         String targetingAdLocation,
                         String siteTargetingInfoType)
Method Detail

getTargetingDescription

public String getTargetingDescription()
Gets the targetingDescription value for this SiteTargetingInfo.

Returns:
targetingDescription * Description of the Placement visible to AdWords advertisers. This field is required if Placement.isAdSenseTargetingEnabled is true and has a maximum length of 65535 characters.

setTargetingDescription

public void setTargetingDescription(String targetingDescription)
Sets the targetingDescription value for this SiteTargetingInfo.

Parameters:
targetingDescription - * Description of the Placement visible to AdWords advertisers. This field is required if Placement.isAdSenseTargetingEnabled is true and has a maximum length of 65535 characters.

getTargetingSiteName

public String getTargetingSiteName()
Gets the targetingSiteName value for this SiteTargetingInfo.

Returns:
targetingSiteName * The name of the site targeted which is visible to AdWords advertisers. This field is required if Placement.isAdSenseTargetingEnabled is true and has a maximum of 70 characters.

setTargetingSiteName

public void setTargetingSiteName(String targetingSiteName)
Sets the targetingSiteName value for this SiteTargetingInfo.

Parameters:
targetingSiteName - * The name of the site targeted which is visible to AdWords advertisers. This field is required if Placement.isAdSenseTargetingEnabled is true and has a maximum of 70 characters.

getTargetingAdLocation

public String getTargetingAdLocation()
Gets the targetingAdLocation value for this SiteTargetingInfo.

Returns:
targetingAdLocation * A description of the location of the Placement on the web page, visible to AdWords users. This field is optional and has a maximum length of 50 characters.

setTargetingAdLocation

public void setTargetingAdLocation(String targetingAdLocation)
Sets the targetingAdLocation value for this SiteTargetingInfo.

Parameters:
targetingAdLocation - * A description of the location of the Placement on the web page, visible to AdWords users. This field is optional and has a maximum length of 50 characters.

getSiteTargetingInfoType

public String getSiteTargetingInfoType()
Gets the siteTargetingInfoType value for this SiteTargetingInfo.

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

setSiteTargetingInfoType

public void setSiteTargetingInfoType(String siteTargetingInfoType)
Sets the siteTargetingInfoType value for this SiteTargetingInfo.

Parameters:
siteTargetingInfoType - * Indicates that this instance is a subtype of SiteTargetingInfo. 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.