public class RelatedToUrlSearchParameter extends SearchParameter
SearchParameter that specifies a set of URLs that results should
in some way be related to. For example, keyword results would be
similar to content keywords found on the related URLs.
This element is supported by following IdeaTypes: KEYWORD.
This element is supported by following RequestTypes: IDEAS.
Java class for RelatedToUrlSearchParameter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RelatedToUrlSearchParameter">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/o/v201809}SearchParameter">
<sequence>
<element name="urls" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="includeSubUrls" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
includeSubUrls |
protected List<String> |
urls |
searchParameterType| Constructor and Description |
|---|
RelatedToUrlSearchParameter() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getUrls()
Gets the value of the urls property.
|
Boolean |
isIncludeSubUrls()
Gets the value of the includeSubUrls property.
|
void |
setIncludeSubUrls(Boolean value)
Sets the value of the includeSubUrls property.
|
getSearchParameterType, setSearchParameterTypepublic List<String> getUrls()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the urls property.
For example, to add a new item, do as follows:
getUrls().add(newItem);
Objects of the following type(s) are allowed in the list
String
public Boolean isIncludeSubUrls()
BooleanCopyright © 2023. All rights reserved.