jp.co.yahoo.adssearchapi.v13.model.AdGroupServiceMaximizeConversionValueBiddingScheme 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\"> AdGroupServiceMaximizeConversionValueBiddingSchemeオブジェクトは、広告グループ費用対効果(tROAS)の設定情報を表します。 </div> <div lang=\"en\"> AdGroupServiceMaximizeConversionValueBiddingScheme object holds configuration information of Target ROAS (tROAS) of ad group. </div>
*/
@ApiModel(description = " AdGroupServiceMaximizeConversionValueBiddingSchemeオブジェクトは、広告グループ費用対効果(tROAS)の設定情報を表します。 AdGroupServiceMaximizeConversionValueBiddingScheme object holds configuration information of Target ROAS (tROAS) of ad group. ")
@JsonPropertyOrder({
AdGroupServiceMaximizeConversionValueBiddingScheme.JSON_PROPERTY_TARGET_ROAS,
AdGroupServiceMaximizeConversionValueBiddingScheme.JSON_PROPERTY_IS_REMOVE_TARGET_ROAS
})
@JsonTypeName("AdGroupServiceMaximizeConversionValueBiddingScheme")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupServiceMaximizeConversionValueBiddingScheme {
public static final String JSON_PROPERTY_TARGET_ROAS = "targetRoas";
private Double targetRoas;
public static final String JSON_PROPERTY_IS_REMOVE_TARGET_ROAS = "isRemoveTargetRoas";
private AdGroupServiceIsRemoveFlg isRemoveTargetRoas;
public AdGroupServiceMaximizeConversionValueBiddingScheme() {
}
public AdGroupServiceMaximizeConversionValueBiddingScheme targetRoas(Double targetRoas) {
this.targetRoas = targetRoas;
return this;
}
/**
* <div lang=\"ja\"> 広告グループ費用対効果(tROAS)です。<br> ADDおよびSET時、このフィールドは省略可能となります。<br> ※0.01 ~ 1000.00(1% ~ 100000%)の範囲内のみ 許容します。<br> ※campaignBiddingStrategyTypeがMAXIMIZE_CONVERSION_VALUEの場合のみ指定可能です。 </div> <div lang=\"en\"> Target ROAS (tROAS) of ad group.<br> This field is optional in ADD and SET operation.<br> *Limit range: 0.01 - 1000.00 (1% - 100000%)<br> *This can only be specified when campaignBiddingStrategyType is MAXIMIZE_CONVERSION_VALUE. </div>
* @return targetRoas
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告グループ費用対効果(tROAS)です。
ADDおよびSET時、このフィールドは省略可能となります。
※0.01 ~ 1000.00(1% ~ 100000%)の範囲内のみ 許容します。
※campaignBiddingStrategyTypeがMAXIMIZE_CONVERSION_VALUEの場合のみ指定可能です。 Target ROAS (tROAS) of ad group.
This field is optional in ADD and SET operation.
*Limit range: 0.01 - 1000.00 (1% - 100000%)
*This can only be specified when campaignBiddingStrategyType is MAXIMIZE_CONVERSION_VALUE. ")
@JsonProperty(JSON_PROPERTY_TARGET_ROAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getTargetRoas() {
return targetRoas;
}
@JsonProperty(JSON_PROPERTY_TARGET_ROAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTargetRoas(Double targetRoas) {
this.targetRoas = targetRoas;
}
public AdGroupServiceMaximizeConversionValueBiddingScheme isRemoveTargetRoas(AdGroupServiceIsRemoveFlg isRemoveTargetRoas) {
this.isRemoveTargetRoas = isRemoveTargetRoas;
return this;
}
/**
* Get isRemoveTargetRoas
* @return isRemoveTargetRoas
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_IS_REMOVE_TARGET_ROAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AdGroupServiceIsRemoveFlg getIsRemoveTargetRoas() {
return isRemoveTargetRoas;
}
@JsonProperty(JSON_PROPERTY_IS_REMOVE_TARGET_ROAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsRemoveTargetRoas(AdGroupServiceIsRemoveFlg isRemoveTargetRoas) {
this.isRemoveTargetRoas = isRemoveTargetRoas;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupServiceMaximizeConversionValueBiddingScheme adGroupServiceMaximizeConversionValueBiddingScheme = (AdGroupServiceMaximizeConversionValueBiddingScheme) o;
return Objects.equals(this.targetRoas, adGroupServiceMaximizeConversionValueBiddingScheme.targetRoas) &&
Objects.equals(this.isRemoveTargetRoas, adGroupServiceMaximizeConversionValueBiddingScheme.isRemoveTargetRoas);
}
@Override
public int hashCode() {
return Objects.hash(targetRoas, isRemoveTargetRoas);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupServiceMaximizeConversionValueBiddingScheme {\n");
sb.append(" targetRoas: ").append(toIndentedString(targetRoas)).append("\n");
sb.append(" isRemoveTargetRoas: ").append(toIndentedString(isRemoveTargetRoas)).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 ");
}
}