public class Carrier extends Criterion
A criterion of this type can only be created using an ID. A criterion of this type can be either targeted or excluded. This is enabled for AdX.
Java class for Carrier complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Carrier">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Criterion">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="countryCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
countryCode |
protected String |
name |
criterionType, id, type| Constructor and Description |
|---|
Carrier() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountryCode()
Gets the value of the countryCode property.
|
String |
getName()
Gets the value of the name property.
|
void |
setCountryCode(String value)
Sets the value of the countryCode property.
|
void |
setName(String value)
Sets the value of the name property.
|
getCriterionType, getId, getType, setCriterionType, setId, setTypepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getCountryCode()
StringCopyright © 2023. All rights reserved.