|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201203.SuggestedAdUnit
public class SuggestedAdUnit
A SuggestedAdUnit represents a suggestion for a new ad
unit, based on an ad tag that has
been served at least ten times in the past week, but which
does not correspond to a defined ad
unit. This class is read-only.
| Constructor Summary | |
|---|---|
SuggestedAdUnit()
|
|
SuggestedAdUnit(String id,
Long numRequests,
String[] path,
AdUnitTargetWindow targetWindow,
TargetPlatform targetPlatform,
AdUnitSize[] suggestedAdUnitSizes)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getId()
Gets the id value for this SuggestedAdUnit. |
Long |
getNumRequests()
Gets the numRequests value for this SuggestedAdUnit. |
String[] |
getPath()
Gets the path value for this SuggestedAdUnit. |
String |
getPath(int i)
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
AdUnitSize[] |
getSuggestedAdUnitSizes()
Gets the suggestedAdUnitSizes value for this SuggestedAdUnit. |
AdUnitSize |
getSuggestedAdUnitSizes(int i)
|
TargetPlatform |
getTargetPlatform()
Gets the targetPlatform value for this SuggestedAdUnit. |
AdUnitTargetWindow |
getTargetWindow()
Gets the targetWindow value for this SuggestedAdUnit. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setId(String id)
Sets the id value for this SuggestedAdUnit. |
void |
setNumRequests(Long numRequests)
Sets the numRequests value for this SuggestedAdUnit. |
void |
setPath(int i,
String _value)
|
void |
setPath(String[] path)
Sets the path value for this SuggestedAdUnit. |
void |
setSuggestedAdUnitSizes(AdUnitSize[] suggestedAdUnitSizes)
Sets the suggestedAdUnitSizes value for this SuggestedAdUnit. |
void |
setSuggestedAdUnitSizes(int i,
AdUnitSize _value)
|
void |
setTargetPlatform(TargetPlatform targetPlatform)
Sets the targetPlatform value for this SuggestedAdUnit. |
void |
setTargetWindow(AdUnitTargetWindow targetWindow)
Sets the targetWindow value for this SuggestedAdUnit. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuggestedAdUnit()
public SuggestedAdUnit(String id,
Long numRequests,
String[] path,
AdUnitTargetWindow targetWindow,
TargetPlatform targetPlatform,
AdUnitSize[] suggestedAdUnitSizes)
| Method Detail |
|---|
public String getId()
SuggestedAdUnit. This value is
the complete path to the
SuggestedAdUnit; path elements are separated by '/'
characters. This field is read-only.public void setId(String id)
id - * The unique ID of the SuggestedAdUnit. This value is
the complete path to the
SuggestedAdUnit; path elements are separated by '/'
characters. This field is read-only.public Long getNumRequests()
public void setNumRequests(Long numRequests)
numRequests - * Returns the number of times the ad tag corresponding to this
suggested ad unit has been served
in the previous week. (Suggested ad units are only
created when they have been served at least
ten times in that period.) This field is read-only.public String[] getPath()
public void setPath(String[] path)
path - * The path to the suggested ad unit. Each path element is a
separate ad unit code in the
returned list. This field is read-only.public String getPath(int i)
public void setPath(int i,
String _value)
public AdUnitTargetWindow getTargetWindow()
target attribute of the underlying ad tag, as defined
in AdUnit. This
field is read-only.public void setTargetWindow(AdUnitTargetWindow targetWindow)
targetWindow - * The target attribute of the underlying ad tag, as defined
in AdUnit. This
field is read-only.public TargetPlatform getTargetPlatform()
public void setTargetPlatform(TargetPlatform targetPlatform)
targetPlatform - * The target platform for the browser that clicked the underlying
ad tag. This field is
read-only.public AdUnitSize[] getSuggestedAdUnitSizes()
SuggestedAdUnit.
This field is read-only.public void setSuggestedAdUnitSizes(AdUnitSize[] suggestedAdUnitSizes)
suggestedAdUnitSizes - * The target sizes associated with this SuggestedAdUnit.
This field is read-only.public AdUnitSize getSuggestedAdUnitSizes(int i)
public void setSuggestedAdUnitSizes(int i,
AdUnitSize _value)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic 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 | |||||||||