// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.api.ads.adwords.jaxws.v201702.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * Represents categories that AdWords finds automatically for your website. * * <p> * No categories available means that AdWords couldn't automatically find categories for your * website. To control how categories are assigned, manually add breadcrumbs to your webpages. * * <p> * Categories can be filtered by domain name or by a set of campaign IDs. * * * <p>Java class for DomainCategory complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="DomainCategory"> * <complexContent> * <extension base="{https://adwords.google.com/api/adwords/cm/v201702}DimensionProperties"> * <sequence> * <element name="category" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="coverage" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="domainName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="isoLanguage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="recommendedCpc" type="{https://adwords.google.com/api/adwords/cm/v201702}Money" minOccurs="0"/> * <element name="hasChild" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="categoryRank" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DomainCategory", propOrder = { "category", "coverage", "domainName", "isoLanguage", "recommendedCpc", "hasChild", "categoryRank" }) public class DomainCategory extends DimensionProperties { protected String category; protected Double coverage; protected String domainName; protected String isoLanguage; protected Money recommendedCpc; protected Boolean hasChild; protected Integer categoryRank; /** * Gets the value of the category property. * * @return * possible object is * {@link String } * */ public String getCategory() { return category; } /** * Sets the value of the category property. * * @param value * allowed object is * {@link String } * */ public void setCategory(String value) { this.category = value; } /** * Gets the value of the coverage property. * * @return * possible object is * {@link Double } * */ public Double getCoverage() { return coverage; } /** * Sets the value of the coverage property. * * @param value * allowed object is * {@link Double } * */ public void setCoverage(Double value) { this.coverage = value; } /** * Gets the value of the domainName property. * * @return * possible object is * {@link String } * */ public String getDomainName() { return domainName; } /** * Sets the value of the domainName property. * * @param value * allowed object is * {@link String } * */ public void setDomainName(String value) { this.domainName = value; } /** * Gets the value of the isoLanguage property. * * @return * possible object is * {@link String } * */ public String getIsoLanguage() { return isoLanguage; } /** * Sets the value of the isoLanguage property. * * @param value * allowed object is * {@link String } * */ public void setIsoLanguage(String value) { this.isoLanguage = value; } /** * Gets the value of the recommendedCpc property. * * @return * possible object is * {@link Money } * */ public Money getRecommendedCpc() { return recommendedCpc; } /** * Sets the value of the recommendedCpc property. * * @param value * allowed object is * {@link Money } * */ public void setRecommendedCpc(Money value) { this.recommendedCpc = value; } /** * Gets the value of the hasChild property. * * @return * possible object is * {@link Boolean } * */ public Boolean isHasChild() { return hasChild; } /** * Sets the value of the hasChild property. * * @param value * allowed object is * {@link Boolean } * */ public void setHasChild(Boolean value) { this.hasChild = value; } /** * Gets the value of the categoryRank property. * * @return * possible object is * {@link Integer } * */ public Integer getCategoryRank() { return categoryRank; } /** * Sets the value of the categoryRank property. * * @param value * allowed object is * {@link Integer } * */ public void setCategoryRank(Integer value) { this.categoryRank = value; } }