// 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;
/**
*
* <a href="https://support.google.com/adwords/answer/6268632">Target CPA</a> is an automated bid
* strategy that sets bids to help get as many conversions as possible at the target cost per
* acquisition (CPA) you set.
*
* <p>A {@linkplain #targetCpa target CPA} must be set for the strategy, but can also be optionally
* set for individual ad groups in the strategy. Ad group targets, if set, will override strategy
* targets.
*
* <p>Note that campaigns must meet
* <a href="https://support.google.com/adwords/answer/2471188">specific eligibility requirements</a>
* before they can use the Target CPA bid strategy.
* <span class="constraint AdxEnabled">This is disabled for AdX.</span>
*
*
* <p>Java class for TargetCpaBiddingScheme complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="TargetCpaBiddingScheme">
* <complexContent>
* <extension base="{https://adwords.google.com/api/adwords/cm/v201702}BiddingScheme">
* <sequence>
* <element name="targetCpa" type="{https://adwords.google.com/api/adwords/cm/v201702}Money" minOccurs="0"/>
* <element name="maxCpcBidCeiling" type="{https://adwords.google.com/api/adwords/cm/v201702}Money" minOccurs="0"/>
* <element name="maxCpcBidFloor" type="{https://adwords.google.com/api/adwords/cm/v201702}Money" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TargetCpaBiddingScheme", propOrder = {
"targetCpa",
"maxCpcBidCeiling",
"maxCpcBidFloor"
})
public class TargetCpaBiddingScheme
extends BiddingScheme
{
protected Money targetCpa;
protected Money maxCpcBidCeiling;
protected Money maxCpcBidFloor;
/**
* Gets the value of the targetCpa property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getTargetCpa() {
return targetCpa;
}
/**
* Sets the value of the targetCpa property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setTargetCpa(Money value) {
this.targetCpa = value;
}
/**
* Gets the value of the maxCpcBidCeiling property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getMaxCpcBidCeiling() {
return maxCpcBidCeiling;
}
/**
* Sets the value of the maxCpcBidCeiling property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setMaxCpcBidCeiling(Money value) {
this.maxCpcBidCeiling = value;
}
/**
* Gets the value of the maxCpcBidFloor property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getMaxCpcBidFloor() {
return maxCpcBidFloor;
}
/**
* Sets the value of the maxCpcBidFloor property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setMaxCpcBidFloor(Money value) {
this.maxCpcBidFloor = value;
}
}