|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.api.ads.dfp.v201111.SiteTargetingInfo
com.google.api.ads.dfp.v201111.Placement
public class Placement
A Placement groups related AdUnit objects.
| Constructor Summary | |
|---|---|
Placement()
|
|
Placement(String targetingDescription,
String targetingSiteName,
String targetingAdLocation,
String siteTargetingInfoType,
Long id,
String name,
String description,
String placementCode,
InventoryStatus status,
Boolean isAdSenseTargetingEnabled,
Boolean isAdPlannerTargetingEnabled,
String adSenseTargetingLocale,
String[] targetedAdUnitIds)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAdSenseTargetingLocale()
Gets the adSenseTargetingLocale value for this Placement. |
String |
getDescription()
Gets the description value for this Placement. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
Long |
getId()
Gets the id value for this Placement. |
Boolean |
getIsAdPlannerTargetingEnabled()
Gets the isAdPlannerTargetingEnabled value for this Placement. |
Boolean |
getIsAdSenseTargetingEnabled()
Gets the isAdSenseTargetingEnabled value for this Placement. |
String |
getName()
Gets the name value for this Placement. |
String |
getPlacementCode()
Gets the placementCode value for this Placement. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
InventoryStatus |
getStatus()
Gets the status value for this Placement. |
String[] |
getTargetedAdUnitIds()
Gets the targetedAdUnitIds value for this Placement. |
String |
getTargetedAdUnitIds(int i)
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setAdSenseTargetingLocale(String adSenseTargetingLocale)
Sets the adSenseTargetingLocale value for this Placement. |
void |
setDescription(String description)
Sets the description value for this Placement. |
void |
setId(Long id)
Sets the id value for this Placement. |
void |
setIsAdPlannerTargetingEnabled(Boolean isAdPlannerTargetingEnabled)
Sets the isAdPlannerTargetingEnabled value for this Placement. |
void |
setIsAdSenseTargetingEnabled(Boolean isAdSenseTargetingEnabled)
Sets the isAdSenseTargetingEnabled value for this Placement. |
void |
setName(String name)
Sets the name value for this Placement. |
void |
setPlacementCode(String placementCode)
Sets the placementCode value for this Placement. |
void |
setStatus(InventoryStatus status)
Sets the status value for this Placement. |
void |
setTargetedAdUnitIds(int i,
String _value)
|
void |
setTargetedAdUnitIds(String[] targetedAdUnitIds)
Sets the targetedAdUnitIds value for this Placement. |
| Methods inherited from class com.google.api.ads.dfp.v201111.SiteTargetingInfo |
|---|
getSiteTargetingInfoType, getTargetingAdLocation, getTargetingDescription, getTargetingSiteName, setSiteTargetingInfoType, setTargetingAdLocation, setTargetingDescription, setTargetingSiteName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Placement()
public Placement(String targetingDescription,
String targetingSiteName,
String targetingAdLocation,
String siteTargetingInfoType,
Long id,
String name,
String description,
String placementCode,
InventoryStatus status,
Boolean isAdSenseTargetingEnabled,
Boolean isAdPlannerTargetingEnabled,
String adSenseTargetingLocale,
String[] targetedAdUnitIds)
| Method Detail |
|---|
public Long getId()
Placement. This attribute is
read-only and
is assigned by Google when a placement is created.public void setId(Long id)
id - * Uniquely identifies the Placement. This attribute is
read-only and
is assigned by Google when a placement is created.public String getName()
Placement. This value is required and
has a maximum
length of 255 characters.public void setName(String name)
name - * The name of the Placement. This value is required and
has a maximum
length of 255 characters.public String getDescription()
Placement. This value is required
and its
maximum length is 65,535 characters.public void setDescription(String description)
description - * A description of the Placement. This value is required
and its
maximum length is 65,535 characters.public String getPlacementCode()
Placement for
purposes of
serving the ad. This attribute is read-only and
is assigned by Google when
a placement is created.public void setPlacementCode(String placementCode)
placementCode - * A string used to uniquely identify the Placement for
purposes of
serving the ad. This attribute is read-only and
is assigned by Google when
a placement is created.public InventoryStatus getStatus()
Placement. This attribute is read-only.public void setStatus(InventoryStatus status)
status - * The status of the Placement. This attribute is read-only.public Boolean getIsAdSenseTargetingEnabled()
Placement is available for site
targeting by
AdWords advertisers.public void setIsAdSenseTargetingEnabled(Boolean isAdSenseTargetingEnabled)
isAdSenseTargetingEnabled - * Describes whether the Placement is available for site
targeting by
AdWords advertisers.public Boolean getIsAdPlannerTargetingEnabled()
Placement is available for targeting
by AdPlanner advertiserspublic void setIsAdPlannerTargetingEnabled(Boolean isAdPlannerTargetingEnabled)
isAdPlannerTargetingEnabled - * Describes whether the Placement is available for targeting
by AdPlanner advertiserspublic String getAdSenseTargetingLocale()
isAdSenseTargetingEnabled is true, restricts AdWords
ads to those only in the placement's language.public void setAdSenseTargetingLocale(String adSenseTargetingLocale)
adSenseTargetingLocale - * If isAdSenseTargetingEnabled is true, restricts AdWords
ads to those only in the placement's language.public String[] getTargetedAdUnitIds()
AdUnit object IDs that constitute
the Placement.public void setTargetedAdUnitIds(String[] targetedAdUnitIds)
targetedAdUnitIds - * The collection of AdUnit object IDs that constitute
the Placement.public String getTargetedAdUnitIds(int i)
public void setTargetedAdUnitIds(int i,
String _value)
public boolean equals(Object obj)
equals in class SiteTargetingInfopublic int hashCode()
hashCode in class SiteTargetingInfopublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||