All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.yahoo.adssearchapi.v12.model.FeedItemServiceTargetingCampaign Maven / Gradle / Ivy

The newest version!
/*
 * Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
 * 
Yahoo!広告 検索広告 APIのWebサービスについて説明します。
Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
OpenAPI Specification
Best Practice
Best Practice
* * The version of the OpenAPI document: v12 * * * 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.v12.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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">FeedItemServiceTargetingCampaignオブジェクトは、データ自動挿入のキャンペーンとの紐付けを表します。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。<br> ※アドカスタマイザーの場合は、ADDおよびSET時に省略可能となります。</div> <div lang=\"en\">FeedItemServiceTargetingCampaign contains Campaign setting for Data Auto Insertion.<br> Although this field will be returned in the response, it will be ignored on input.<br> *For AD_CUSTOMIZER, this field is optional in ADD and SET operation.</div> */ @ApiModel(description = "
FeedItemServiceTargetingCampaignオブジェクトは、データ自動挿入のキャンペーンとの紐付けを表します。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
※アドカスタマイザーの場合は、ADDおよびSET時に省略可能となります。
FeedItemServiceTargetingCampaign contains Campaign setting for Data Auto Insertion.
Although this field will be returned in the response, it will be ignored on input.
*For AD_CUSTOMIZER, this field is optional in ADD and SET operation.
") @JsonPropertyOrder({ FeedItemServiceTargetingCampaign.JSON_PROPERTY_TARGETING_CAMPAIGN_ID }) @JsonTypeName("FeedItemServiceTargetingCampaign") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class FeedItemServiceTargetingCampaign { public static final String JSON_PROPERTY_TARGETING_CAMPAIGN_ID = "targetingCampaignId"; private Long targetingCampaignId; public FeedItemServiceTargetingCampaign() { } public FeedItemServiceTargetingCampaign targetingCampaignId(Long targetingCampaignId) { this.targetingCampaignId = targetingCampaignId; return this; } /** * <div lang=\"ja\">配信に使用するキャンペーンIDです。<br> ※設定を解除する場合は「0」を指定してください。<br> ※addのリクエストで、「0」指定は未指定と同じ扱いになります。<br> データ自動挿入の場合、このフィールドはADDおよびSET時に必須となります。</div> <div lang=\"en\">Campaign ID used for ad display.<br> *Specify &#39;0&#39; to clear the setting.<br> *The specified &#39;0&#39; will be handled as same as &#39;not specified&#39; by add request.<br> For AD_CUSTOMIZER, This field is required in ADD and SET operation.</div> * @return targetingCampaignId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
配信に使用するキャンペーンIDです。
※設定を解除する場合は「0」を指定してください。
※addのリクエストで、「0」指定は未指定と同じ扱いになります。
データ自動挿入の場合、このフィールドはADDおよびSET時に必須となります。
Campaign ID used for ad display.
*Specify '0' to clear the setting.
*The specified '0' will be handled as same as 'not specified' by add request.
For AD_CUSTOMIZER, This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_TARGETING_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getTargetingCampaignId() { return targetingCampaignId; } @JsonProperty(JSON_PROPERTY_TARGETING_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTargetingCampaignId(Long targetingCampaignId) { this.targetingCampaignId = targetingCampaignId; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FeedItemServiceTargetingCampaign feedItemServiceTargetingCampaign = (FeedItemServiceTargetingCampaign) o; return Objects.equals(this.targetingCampaignId, feedItemServiceTargetingCampaign.targetingCampaignId); } @Override public int hashCode() { return Objects.hash(targetingCampaignId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FeedItemServiceTargetingCampaign {\n"); sb.append(" targetingCampaignId: ").append(toIndentedString(targetingCampaignId)).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 "); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy