public class DynamicSearchAd extends Ad
Auto-generated fields: headline and final URL.
Note: we recommend using the ExpandedDynamicSearchAd type, introduced in v201705, rather than the DynamicSearchAd type.
Required fields: description1, description2, displayUrl.
The tracking URL field must contain at least one of the following placeholder tags (URL parameters):
Note that finalUrls and finalMobileUrls
cannot be set for dynamic search ads.
For more information, see the article Using dynamic tracking URLs.
This is disabled for AdX when it is contained within Operators: ADD, SET.Java class for DynamicSearchAd complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DynamicSearchAd">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Ad">
<sequence>
<element name="description1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description1 |
protected String |
description2 |
adType, automated, devicePreference, displayUrl, finalAppUrls, finalMobileUrls, finalUrls, finalUrlSuffix, id, systemManagedEntitySource, trackingUrlTemplate, type, url, urlCustomParameters, urlData| Constructor and Description |
|---|
DynamicSearchAd() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription1()
Gets the value of the description1 property.
|
String |
getDescription2()
Gets the value of the description2 property.
|
void |
setDescription1(String value)
Sets the value of the description1 property.
|
void |
setDescription2(String value)
Sets the value of the description2 property.
|
getAdType, getDevicePreference, getDisplayUrl, getFinalAppUrls, getFinalMobileUrls, getFinalUrls, getFinalUrlSuffix, getId, getSystemManagedEntitySource, getTrackingUrlTemplate, getType, getUrl, getUrlCustomParameters, getUrlData, isAutomated, setAdType, setAutomated, setDevicePreference, setDisplayUrl, setFinalUrlSuffix, setId, setSystemManagedEntitySource, setTrackingUrlTemplate, setType, setUrl, setUrlCustomParameterspublic String getDescription1()
Stringpublic void setDescription1(String value)
value - allowed object is
Stringpublic String getDescription2()
StringCopyright © 2023. All rights reserved.