|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.Ad
public class Ad
The base class of all ad types. To update basic ad fields,
you can construct an Ad object (instead of
the ad's concrete type) with the appropriate fields set.
| Constructor Summary | |
|---|---|
Ad()
|
|
Ad(Long id,
String url,
String displayUrl,
AdApprovalStatus approvalStatus,
String[] disapprovalReasons,
Boolean trademarkDisapproved,
String adType)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAdType()
Gets the adType value for this Ad. |
AdApprovalStatus |
getApprovalStatus()
Gets the approvalStatus value for this Ad. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String[] |
getDisapprovalReasons()
Gets the disapprovalReasons value for this Ad. |
String |
getDisapprovalReasons(int i)
|
String |
getDisplayUrl()
Gets the displayUrl value for this Ad. |
Long |
getId()
Gets the id value for this Ad. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
Boolean |
getTrademarkDisapproved()
Gets the trademarkDisapproved value for this Ad. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
String |
getUrl()
Gets the url value for this Ad. |
int |
hashCode()
|
void |
setAdType(String adType)
Sets the adType value for this Ad. |
void |
setApprovalStatus(AdApprovalStatus approvalStatus)
Sets the approvalStatus value for this Ad. |
void |
setDisapprovalReasons(int i,
String _value)
|
void |
setDisapprovalReasons(String[] disapprovalReasons)
Sets the disapprovalReasons value for this Ad. |
void |
setDisplayUrl(String displayUrl)
Sets the displayUrl value for this Ad. |
void |
setId(Long id)
Sets the id value for this Ad. |
void |
setTrademarkDisapproved(Boolean trademarkDisapproved)
Sets the trademarkDisapproved value for this Ad. |
void |
setUrl(String url)
Sets the url value for this Ad. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ad()
public Ad(Long id,
String url,
String displayUrl,
AdApprovalStatus approvalStatus,
String[] disapprovalReasons,
Boolean trademarkDisapproved,
String adType)
| Method Detail |
|---|
public Long getId()
AdGroupAdService.
This field can
be selected using the value "Id".This
field can be filtered on.public void setId(Long id)
id - * ID of this ad. This field is ignored when creating
ads using AdGroupAdService.
This field can
be selected using the value "Id".This
field can be filtered on.public String getUrl()
public void setUrl(String url)
url - * Destination URL.
This field can
be selected using the value "Url".This
field can be filtered on.public String getDisplayUrl()
public void setDisplayUrl(String displayUrl)
displayUrl - * Visible URL.
This field can
be selected using the value "DisplayUrl".This field can be filtered on.public AdApprovalStatus getApprovalStatus()
public void setApprovalStatus(AdApprovalStatus approvalStatus)
approvalStatus - * Approval status.
This field can
be selected using the value "CreativeApprovalStatus".This field can be filtered on.
This field is read only and should
not be set. If this field is sent to the API, it will be ignored.public String[] getDisapprovalReasons()
public void setDisapprovalReasons(String[] disapprovalReasons)
disapprovalReasons - * List of disapproval reasons.
This field can
be selected using the value "DisapprovalReasons".
This field is read
only and should not be set. If this field is sent to the API, it
will be ignored.public String getDisapprovalReasons(int i)
public void setDisapprovalReasons(int i,
String _value)
public Boolean getTrademarkDisapproved()
approvalStatus is an
approved status.
This field can
be selected using the value "TrademarkDisapproved".
This field is read
only and should not be set. If this field is sent to the API, it
will be ignored.public void setTrademarkDisapproved(Boolean trademarkDisapproved)
trademarkDisapproved - * True if and only if this ad is not serving because it does
not meet
trademark policy.
This field is only useful when approvalStatus is an
approved status.
This field can
be selected using the value "TrademarkDisapproved".
This field is read
only and should not be set. If this field is sent to the API, it
will be ignored.public String getAdType()
public void setAdType(String adType)
adType - * Indicates that this instance is a subtype of Ad.
Although this field is returned in the response, it
is ignored on input
and cannot be selected. Specify xsi:type instead.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 | |||||||||