jp.co.yahoo.adssearchapi.v13.model.AdGroupServiceMaximizeConversionsBiddingScheme Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* The version of the OpenAPI document: v13
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package jp.co.yahoo.adssearchapi.v13.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jp.co.yahoo.adssearchapi.v13.model.AdGroupServiceIsRemoveFlg;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\"> AdGroupServiceMaximizeConversionsBiddingSchemeオブジェクトは、広告グループ目標単価(tCPA)の設定情報を表します。 </div> <div lang=\"en\"> AdGroupServiceMaximizeConversionsBiddingScheme object holds configuration information of Target CPA (tCPA) of ad group. </div>
*/
@ApiModel(description = " AdGroupServiceMaximizeConversionsBiddingSchemeオブジェクトは、広告グループ目標単価(tCPA)の設定情報を表します。 AdGroupServiceMaximizeConversionsBiddingScheme object holds configuration information of Target CPA (tCPA) of ad group. ")
@JsonPropertyOrder({
AdGroupServiceMaximizeConversionsBiddingScheme.JSON_PROPERTY_TARGET_CPA,
AdGroupServiceMaximizeConversionsBiddingScheme.JSON_PROPERTY_IS_REMOVE_TARGET_CPA
})
@JsonTypeName("AdGroupServiceMaximizeConversionsBiddingScheme")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupServiceMaximizeConversionsBiddingScheme {
public static final String JSON_PROPERTY_TARGET_CPA = "targetCpa";
private Long targetCpa;
public static final String JSON_PROPERTY_IS_REMOVE_TARGET_CPA = "isRemoveTargetCpa";
private AdGroupServiceIsRemoveFlg isRemoveTargetCpa;
public AdGroupServiceMaximizeConversionsBiddingScheme() {
}
public AdGroupServiceMaximizeConversionsBiddingScheme targetCpa(Long targetCpa) {
this.targetCpa = targetCpa;
return this;
}
/**
* <div lang=\"ja\"> 広告グループ目標単価(tCPA)です。<br> ADDおよびSET時、このフィールドは省略可能となります。<br> ※制限値:1 ~ 800000<br> ※日本円のみの設定です。<br> ※campaignBiddingStrategyTypeがMAXIMIZE_CONVERSIONSの場合のみ指定可能です。 </div> <div lang=\"en\"> Target CPA (tCPA) of ad group.<br> This field is optional in ADD and SET operation.<br> *Range limit: 1 - 800000<br> *JPY only.<br> *This can only be specified when campaignBiddingStrategyType is MAXIMIZE_CONVERSIONS. </div>
* @return targetCpa
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告グループ目標単価(tCPA)です。
ADDおよびSET時、このフィールドは省略可能となります。
※制限値:1 ~ 800000
※日本円のみの設定です。
※campaignBiddingStrategyTypeがMAXIMIZE_CONVERSIONSの場合のみ指定可能です。 Target CPA (tCPA) of ad group.
This field is optional in ADD and SET operation.
*Range limit: 1 - 800000
*JPY only.
*This can only be specified when campaignBiddingStrategyType is MAXIMIZE_CONVERSIONS. ")
@JsonProperty(JSON_PROPERTY_TARGET_CPA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getTargetCpa() {
return targetCpa;
}
@JsonProperty(JSON_PROPERTY_TARGET_CPA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTargetCpa(Long targetCpa) {
this.targetCpa = targetCpa;
}
public AdGroupServiceMaximizeConversionsBiddingScheme isRemoveTargetCpa(AdGroupServiceIsRemoveFlg isRemoveTargetCpa) {
this.isRemoveTargetCpa = isRemoveTargetCpa;
return this;
}
/**
* Get isRemoveTargetCpa
* @return isRemoveTargetCpa
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_IS_REMOVE_TARGET_CPA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupServiceIsRemoveFlg getIsRemoveTargetCpa() {
return isRemoveTargetCpa;
}
@JsonProperty(JSON_PROPERTY_IS_REMOVE_TARGET_CPA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsRemoveTargetCpa(AdGroupServiceIsRemoveFlg isRemoveTargetCpa) {
this.isRemoveTargetCpa = isRemoveTargetCpa;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupServiceMaximizeConversionsBiddingScheme adGroupServiceMaximizeConversionsBiddingScheme = (AdGroupServiceMaximizeConversionsBiddingScheme) o;
return Objects.equals(this.targetCpa, adGroupServiceMaximizeConversionsBiddingScheme.targetCpa) &&
Objects.equals(this.isRemoveTargetCpa, adGroupServiceMaximizeConversionsBiddingScheme.isRemoveTargetCpa);
}
@Override
public int hashCode() {
return Objects.hash(targetCpa, isRemoveTargetCpa);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupServiceMaximizeConversionsBiddingScheme {\n");
sb.append(" targetCpa: ").append(toIndentedString(targetCpa)).append("\n");
sb.append(" isRemoveTargetCpa: ").append(toIndentedString(isRemoveTargetCpa)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}