public class SuggestedAdUnit extends Object implements Serializable
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 type is read-only.| Constructor and Description |
|---|
SuggestedAdUnit() |
SuggestedAdUnit(String id,
Long numRequests,
String[] path,
AdUnitParent[] parentPath,
AdUnitTargetWindow targetWindow,
TargetPlatform targetPlatform,
AdUnitSize[] suggestedAdUnitSizes) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
AdUnitParent[] |
getParentPath()
Gets the parentPath value for this SuggestedAdUnit.
|
AdUnitParent |
getParentPath(int i) |
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 |
setParentPath(AdUnitParent[] parentPath)
Sets the parentPath value for this SuggestedAdUnit.
|
void |
setParentPath(int i,
AdUnitParent _value) |
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.
|
String |
toString() |
public SuggestedAdUnit()
public SuggestedAdUnit(String id, Long numRequests, String[] path, AdUnitParent[] parentPath, AdUnitTargetWindow targetWindow, TargetPlatform targetPlatform, AdUnitSize[] suggestedAdUnitSizes)
public String getId()
public void setId(String id)
id - * The unique ID of the suggested ad unit. After API version 201311
this field will be a numerical
ID. Earlier versions will return a string value which
is the complete path to the suggested ad
unit with path elements separated by '/' characters.
This attribute is read-only and is
populated by Google.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 attribute is read-only
and is populated by Google.public String[] getPath()
last existing
ad unit after this and all
suggested parent ad units have been created. Each
path element is a separate ad unit code in
the returned list. This attribute is read-only and
is populated by Google.public void setPath(String[] path)
path - * The hierarchical path from the last existing
ad unit after this and all
suggested parent ad units have been created. Each
path element is a separate ad unit code in
the returned list. This attribute is read-only and
is populated by Google.public String getPath(int i)
public void setPath(int i,
String _value)
public AdUnitParent[] getParentPath()
parentPath
and the path make up the full
path of the suggested ad unit after it is approved.
This attribute is read-only and is
populated by Google.
Note: The ad unit code for each of the parent ad units will not be provided.
public void setParentPath(AdUnitParent[] parentPath)
parentPath - * The existing hierarchical path leading up to, and including,
the parent of the first suggested
ad unit in the ad unit hierarchy. The parentPath
and the path make up the full
path of the suggested ad unit after it is approved.
This attribute is read-only and is
populated by Google.
Note: The ad unit code for each of the parent ad units will not be provided.
public AdUnitParent getParentPath(int i)
public void setParentPath(int i,
AdUnitParent _value)
public AdUnitTargetWindow getTargetWindow()
target attribute of the underlying ad tag, as defined
in the AdUnit. This
attribute is read-only and is populated by Google.public void setTargetWindow(AdUnitTargetWindow targetWindow)
targetWindow - * The target attribute of the underlying ad tag, as defined
in the AdUnit. This
attribute is read-only and is populated by Google.public TargetPlatform getTargetPlatform()
public void setTargetPlatform(TargetPlatform targetPlatform)
targetPlatform - * The target platform for the browser that clicked the underlying
ad tag. This attribute is
read-only and is populated by Google.public AdUnitSize[] getSuggestedAdUnitSizes()
SuggestedAdUnit.
This attribute is read-only and
is populated by Google.public void setSuggestedAdUnitSizes(AdUnitSize[] suggestedAdUnitSizes)
suggestedAdUnitSizes - * The target sizes associated with this SuggestedAdUnit.
This attribute is read-only and
is populated by Google.public AdUnitSize getSuggestedAdUnitSizes(int i)
public void setSuggestedAdUnitSizes(int i,
AdUnitSize _value)
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2020. All rights reserved.