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

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

There is a newer version: 8.1.1-spring5
Show 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 java.util.ArrayList; import java.util.List; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceAppOsType; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceBiddingStrategy; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceBiddingStrategyFailedReason; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceBudget; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceConversionOptimizerEligibility; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceCustomParameters; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceLabel; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceServingStatus; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceSettings; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceType; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceUrlReviewData; import jp.co.yahoo.adssearchapi.v12.model.CampaignServiceUserStatus; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">Campaignオブジェクトは、キャンペーンの情報を表します。</div> <div lang=\"en\">Campaign object describes Campaign information.</div> */ @ApiModel(description = "
Campaignオブジェクトは、キャンペーンの情報を表します。
Campaign object describes Campaign information.
") @JsonPropertyOrder({ Campaign.JSON_PROPERTY_ACCOUNT_ID, Campaign.JSON_PROPERTY_APP_ID, Campaign.JSON_PROPERTY_APP_OS_TYPE, Campaign.JSON_PROPERTY_BIDDING_STRATEGY_CONFIGURATION, Campaign.JSON_PROPERTY_BIDDING_STRATEGY_FAILED_REASON, Campaign.JSON_PROPERTY_BUDGET, Campaign.JSON_PROPERTY_CAMPAIGN_ID, Campaign.JSON_PROPERTY_CAMPAIGN_NAME, Campaign.JSON_PROPERTY_CAMPAIGN_TRACK_ID, Campaign.JSON_PROPERTY_CONVERSION_OPTIMIZER_ELIGIBILITY, Campaign.JSON_PROPERTY_CUSTOM_PARAMETERS, Campaign.JSON_PROPERTY_END_DATE, Campaign.JSON_PROPERTY_FAILED_BIDDING_STRATEGY_CONFIGURATION, Campaign.JSON_PROPERTY_LABELS, Campaign.JSON_PROPERTY_SERVING_STATUS, Campaign.JSON_PROPERTY_SETTINGS, Campaign.JSON_PROPERTY_START_DATE, Campaign.JSON_PROPERTY_TRACKING_URL, Campaign.JSON_PROPERTY_TYPE, Campaign.JSON_PROPERTY_URL_REVIEW_DATA, Campaign.JSON_PROPERTY_USER_STATUS, Campaign.JSON_PROPERTY_CREATED_DATE }) @JsonTypeName("Campaign") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Campaign { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_APP_ID = "appId"; private String appId; public static final String JSON_PROPERTY_APP_OS_TYPE = "appOsType"; private CampaignServiceAppOsType appOsType; public static final String JSON_PROPERTY_BIDDING_STRATEGY_CONFIGURATION = "biddingStrategyConfiguration"; private CampaignServiceBiddingStrategy biddingStrategyConfiguration; public static final String JSON_PROPERTY_BIDDING_STRATEGY_FAILED_REASON = "biddingStrategyFailedReason"; private CampaignServiceBiddingStrategyFailedReason biddingStrategyFailedReason; public static final String JSON_PROPERTY_BUDGET = "budget"; private CampaignServiceBudget budget; public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId"; private Long campaignId; public static final String JSON_PROPERTY_CAMPAIGN_NAME = "campaignName"; private String campaignName; public static final String JSON_PROPERTY_CAMPAIGN_TRACK_ID = "campaignTrackId"; private Long campaignTrackId; public static final String JSON_PROPERTY_CONVERSION_OPTIMIZER_ELIGIBILITY = "conversionOptimizerEligibility"; private CampaignServiceConversionOptimizerEligibility conversionOptimizerEligibility; public static final String JSON_PROPERTY_CUSTOM_PARAMETERS = "customParameters"; private CampaignServiceCustomParameters customParameters; public static final String JSON_PROPERTY_END_DATE = "endDate"; private String endDate; public static final String JSON_PROPERTY_FAILED_BIDDING_STRATEGY_CONFIGURATION = "failedBiddingStrategyConfiguration"; private CampaignServiceBiddingStrategy failedBiddingStrategyConfiguration; public static final String JSON_PROPERTY_LABELS = "labels"; private List labels = null; public static final String JSON_PROPERTY_SERVING_STATUS = "servingStatus"; private CampaignServiceServingStatus servingStatus; public static final String JSON_PROPERTY_SETTINGS = "settings"; private List settings = null; public static final String JSON_PROPERTY_START_DATE = "startDate"; private String startDate; public static final String JSON_PROPERTY_TRACKING_URL = "trackingUrl"; private String trackingUrl; public static final String JSON_PROPERTY_TYPE = "type"; private CampaignServiceType type; public static final String JSON_PROPERTY_URL_REVIEW_DATA = "urlReviewData"; private CampaignServiceUrlReviewData urlReviewData; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; private CampaignServiceUserStatus userStatus; public static final String JSON_PROPERTY_CREATED_DATE = "createdDate"; private String createdDate; public Campaign() { } public Campaign accountId(Long accountId) { this.accountId = accountId; return this; } /** * <div lang=\"ja\">アカウントIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Account ID.<br> Although this field will be returned in the response, it will be ignored on input.</div> * @return accountId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
Account ID.
Although this field will be returned in the response, it will be ignored on input.
") @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAccountId() { return accountId; } @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountId(Long accountId) { this.accountId = accountId; } public Campaign appId(String appId) { this.appId = appId; return this; } /** * <div lang=\"ja\">アプリID(iOS)またはパッケージ名(Android)です。<br> ※アプリキャンペーンでiOSの場合、入力は数値のみです。<br> ADD時、campaignTypeがSTANDARD、またはDYNAMIC_ADS_FOR_SEARCH_SETTINGの場合、無視され、MOBILE_APPの場合、必須となります。</div> <div lang=\"en\">App ID (for iOS) or Package name (for Android).<br> *Input only the numbers for iOS in Mobile App Campaign.<br> In ADD operation, this field will be ignored when campaignType is 'STANDARD' or 'DYNAMIC_ADS_FOR_SEARCH_SETTING', and is required when campaignType is MOBILE_APP.</div> * @return appId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アプリID(iOS)またはパッケージ名(Android)です。
※アプリキャンペーンでiOSの場合、入力は数値のみです。
ADD時、campaignTypeがSTANDARD、またはDYNAMIC_ADS_FOR_SEARCH_SETTINGの場合、無視され、MOBILE_APPの場合、必須となります。
App ID (for iOS) or Package name (for Android).
*Input only the numbers for iOS in Mobile App Campaign.
In ADD operation, this field will be ignored when campaignType is 'STANDARD' or 'DYNAMIC_ADS_FOR_SEARCH_SETTING', and is required when campaignType is MOBILE_APP.
") @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAppId() { return appId; } @JsonProperty(JSON_PROPERTY_APP_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppId(String appId) { this.appId = appId; } public Campaign appOsType(CampaignServiceAppOsType appOsType) { this.appOsType = appOsType; return this; } /** * Get appOsType * @return appOsType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_APP_OS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceAppOsType getAppOsType() { return appOsType; } @JsonProperty(JSON_PROPERTY_APP_OS_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAppOsType(CampaignServiceAppOsType appOsType) { this.appOsType = appOsType; } public Campaign biddingStrategyConfiguration(CampaignServiceBiddingStrategy biddingStrategyConfiguration) { this.biddingStrategyConfiguration = biddingStrategyConfiguration; return this; } /** * Get biddingStrategyConfiguration * @return biddingStrategyConfiguration **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BIDDING_STRATEGY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceBiddingStrategy getBiddingStrategyConfiguration() { return biddingStrategyConfiguration; } @JsonProperty(JSON_PROPERTY_BIDDING_STRATEGY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBiddingStrategyConfiguration(CampaignServiceBiddingStrategy biddingStrategyConfiguration) { this.biddingStrategyConfiguration = biddingStrategyConfiguration; } public Campaign biddingStrategyFailedReason(CampaignServiceBiddingStrategyFailedReason biddingStrategyFailedReason) { this.biddingStrategyFailedReason = biddingStrategyFailedReason; return this; } /** * Get biddingStrategyFailedReason * @return biddingStrategyFailedReason **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BIDDING_STRATEGY_FAILED_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceBiddingStrategyFailedReason getBiddingStrategyFailedReason() { return biddingStrategyFailedReason; } @JsonProperty(JSON_PROPERTY_BIDDING_STRATEGY_FAILED_REASON) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBiddingStrategyFailedReason(CampaignServiceBiddingStrategyFailedReason biddingStrategyFailedReason) { this.biddingStrategyFailedReason = biddingStrategyFailedReason; } public Campaign budget(CampaignServiceBudget budget) { this.budget = budget; return this; } /** * Get budget * @return budget **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_BUDGET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceBudget getBudget() { return budget; } @JsonProperty(JSON_PROPERTY_BUDGET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setBudget(CampaignServiceBudget budget) { this.budget = budget; } public Campaign campaignId(Long campaignId) { this.campaignId = campaignId; return this; } /** * <div lang=\"ja\">キャンペーンIDです。<br> SET時およびREMOVE時、このフィールドは必須です。</div> <div lang=\"en\">Campaign ID.<br> This field is required in SET and REMOVE operation.</div> * @return campaignId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンIDです。
SET時およびREMOVE時、このフィールドは必須です。
Campaign ID.
This field is required in SET and REMOVE operation.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getCampaignId() { return campaignId; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } public Campaign campaignName(String campaignName) { this.campaignName = campaignName; return this; } /** * <div lang=\"ja\">キャンペーン名です。<br>このフィールドは、ADD時に必須となり、SET時に省略可能となります。<br> ※入力制限:50文字以内です。</div> <div lang=\"en\">Campaign name.<br> *Insert limit: Up to 50 characters.<br>This field is required in ADD operation, and will be optional in SET operation.</div> * @return campaignName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーン名です。
このフィールドは、ADD時に必須となり、SET時に省略可能となります。
※入力制限:50文字以内です。
Campaign name.
*Insert limit: Up to 50 characters.
This field is required in ADD operation, and will be optional in SET operation.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCampaignName() { return campaignName; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignName(String campaignName) { this.campaignName = campaignName; } public Campaign campaignTrackId(Long campaignTrackId) { this.campaignTrackId = campaignTrackId; return this; } /** * <div lang=\"ja\">トラッキング用キャンペーンIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Campaign ID for tracking.<br> Although this field will be returned in the response, it will be ignored on input.</div> * @return campaignTrackId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
トラッキング用キャンペーンIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
Campaign ID for tracking.
Although this field will be returned in the response, it will be ignored on input.
") @JsonProperty(JSON_PROPERTY_CAMPAIGN_TRACK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getCampaignTrackId() { return campaignTrackId; } @JsonProperty(JSON_PROPERTY_CAMPAIGN_TRACK_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCampaignTrackId(Long campaignTrackId) { this.campaignTrackId = campaignTrackId; } public Campaign conversionOptimizerEligibility(CampaignServiceConversionOptimizerEligibility conversionOptimizerEligibility) { this.conversionOptimizerEligibility = conversionOptimizerEligibility; return this; } /** * Get conversionOptimizerEligibility * @return conversionOptimizerEligibility **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CONVERSION_OPTIMIZER_ELIGIBILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceConversionOptimizerEligibility getConversionOptimizerEligibility() { return conversionOptimizerEligibility; } @JsonProperty(JSON_PROPERTY_CONVERSION_OPTIMIZER_ELIGIBILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setConversionOptimizerEligibility(CampaignServiceConversionOptimizerEligibility conversionOptimizerEligibility) { this.conversionOptimizerEligibility = conversionOptimizerEligibility; } public Campaign customParameters(CampaignServiceCustomParameters customParameters) { this.customParameters = customParameters; return this; } /** * Get customParameters * @return customParameters **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CUSTOM_PARAMETERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceCustomParameters getCustomParameters() { return customParameters; } @JsonProperty(JSON_PROPERTY_CUSTOM_PARAMETERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCustomParameters(CampaignServiceCustomParameters customParameters) { this.customParameters = customParameters; } public Campaign endDate(String endDate) { this.endDate = endDate; return this; } /** * <div lang=\"ja\">キャンペーンの終了日です。<br> ADD時およびSET時、このフィールドは省略可能となります。ADD時のデフォルト設定値は20371231となります。<br> 過去の日付、開始日以前の日付は指定できません。<br>※YYYYMMDD形式です。</div> <div lang=\"en\">End date of Campaign.<br> This field is optional in ADD and SET operation. The default value in ADD operation will be 20371231.<br> *Cannot set the past date and date before the start date.<br> *In YYYYMMDD format.</div> * @return endDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンの終了日です。
ADD時およびSET時、このフィールドは省略可能となります。ADD時のデフォルト設定値は20371231となります。
過去の日付、開始日以前の日付は指定できません。
※YYYYMMDD形式です。
End date of Campaign.
This field is optional in ADD and SET operation. The default value in ADD operation will be 20371231.
*Cannot set the past date and date before the start date.
*In YYYYMMDD format.
") @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEndDate() { return endDate; } @JsonProperty(JSON_PROPERTY_END_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndDate(String endDate) { this.endDate = endDate; } public Campaign failedBiddingStrategyConfiguration(CampaignServiceBiddingStrategy failedBiddingStrategyConfiguration) { this.failedBiddingStrategyConfiguration = failedBiddingStrategyConfiguration; return this; } /** * Get failedBiddingStrategyConfiguration * @return failedBiddingStrategyConfiguration **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FAILED_BIDDING_STRATEGY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceBiddingStrategy getFailedBiddingStrategyConfiguration() { return failedBiddingStrategyConfiguration; } @JsonProperty(JSON_PROPERTY_FAILED_BIDDING_STRATEGY_CONFIGURATION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFailedBiddingStrategyConfiguration(CampaignServiceBiddingStrategy failedBiddingStrategyConfiguration) { this.failedBiddingStrategyConfiguration = failedBiddingStrategyConfiguration; } public Campaign labels(List labels) { this.labels = labels; return this; } public Campaign addLabelsItem(CampaignServiceLabel labelsItem) { if (this.labels == null) { this.labels = new ArrayList<>(); } this.labels.add(labelsItem); return this; } /** * Get labels * @return labels **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LABELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getLabels() { return labels; } @JsonProperty(JSON_PROPERTY_LABELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLabels(List labels) { this.labels = labels; } public Campaign servingStatus(CampaignServiceServingStatus servingStatus) { this.servingStatus = servingStatus; return this; } /** * Get servingStatus * @return servingStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SERVING_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceServingStatus getServingStatus() { return servingStatus; } @JsonProperty(JSON_PROPERTY_SERVING_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setServingStatus(CampaignServiceServingStatus servingStatus) { this.servingStatus = servingStatus; } public Campaign settings(List settings) { this.settings = settings; return this; } public Campaign addSettingsItem(CampaignServiceSettings settingsItem) { if (this.settings == null) { this.settings = new ArrayList<>(); } this.settings.add(settingsItem); return this; } /** * Get settings * @return settings **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getSettings() { return settings; } @JsonProperty(JSON_PROPERTY_SETTINGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSettings(List settings) { this.settings = settings; } public Campaign startDate(String startDate) { this.startDate = startDate; return this; } /** * <div lang=\"ja\">キャンペーンの開始日です。<br> ADD時およびSET時、このフィールドは省略可能となります。ADD時のデフォルト設定値は当日日付となります。<br> 過去の日付は指定できません。<br>※配信開始済みのキャンペーンは変更できません。<br> ※YYYYMMDD形式です。</div> <div lang=\"en\">Start date of Campaign.<br> This field is optional in ADD and SET operation. The default value in ADD operation will be Today's date.<br> *Cannot set the past date.<br>*Cannot change the date to the campaign that is already active.<br> *In YYYYMMDD format.</div> * @return startDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンの開始日です。
ADD時およびSET時、このフィールドは省略可能となります。ADD時のデフォルト設定値は当日日付となります。
過去の日付は指定できません。
※配信開始済みのキャンペーンは変更できません。
※YYYYMMDD形式です。
Start date of Campaign.
This field is optional in ADD and SET operation. The default value in ADD operation will be Today's date.
*Cannot set the past date.
*Cannot change the date to the campaign that is already active.
*In YYYYMMDD format.
") @JsonProperty(JSON_PROPERTY_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getStartDate() { return startDate; } @JsonProperty(JSON_PROPERTY_START_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartDate(String startDate) { this.startDate = startDate; } public Campaign trackingUrl(String trackingUrl) { this.trackingUrl = trackingUrl; return this; } /** * <div lang=\"ja\">トラッキングURLです。<br> ADD時およびSET時、このフィールドは省略可能となります。<br> ※アプリキャンペーンがAndroidの場合、設定はできません。</div> <div lang=\"en\">Tracking URL.<br> This field is optional in ADD and SET operation.<br> *Cannot set if Mobile App Campaign is in Android.</div> * @return trackingUrl **/ @javax.annotation.Nullable @ApiModelProperty(value = "
トラッキングURLです。
ADD時およびSET時、このフィールドは省略可能となります。
※アプリキャンペーンがAndroidの場合、設定はできません。
Tracking URL.
This field is optional in ADD and SET operation.
*Cannot set if Mobile App Campaign is in Android.
") @JsonProperty(JSON_PROPERTY_TRACKING_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getTrackingUrl() { return trackingUrl; } @JsonProperty(JSON_PROPERTY_TRACKING_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setTrackingUrl(String trackingUrl) { this.trackingUrl = trackingUrl; } public Campaign type(CampaignServiceType type) { this.type = type; return this; } /** * Get type * @return type **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceType getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setType(CampaignServiceType type) { this.type = type; } public Campaign urlReviewData(CampaignServiceUrlReviewData urlReviewData) { this.urlReviewData = urlReviewData; return this; } /** * Get urlReviewData * @return urlReviewData **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_URL_REVIEW_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceUrlReviewData getUrlReviewData() { return urlReviewData; } @JsonProperty(JSON_PROPERTY_URL_REVIEW_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUrlReviewData(CampaignServiceUrlReviewData urlReviewData) { this.urlReviewData = urlReviewData; } public Campaign userStatus(CampaignServiceUserStatus userStatus) { this.userStatus = userStatus; return this; } /** * Get userStatus * @return userStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public CampaignServiceUserStatus getUserStatus() { return userStatus; } @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUserStatus(CampaignServiceUserStatus userStatus) { this.userStatus = userStatus; } public Campaign createdDate(String createdDate) { this.createdDate = createdDate; return this; } /** * <div lang=\"ja\">キャンペーンが作成された日です。<br>※フォーマット:yyyyMMdd</div> <div lang=\"en\">Date of Campaign made.<br>* Format: yyyyMMdd</div> * @return createdDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンが作成された日です。
※フォーマット:yyyyMMdd
Date of Campaign made.
* Format: yyyyMMdd
") @JsonProperty(JSON_PROPERTY_CREATED_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCreatedDate() { return createdDate; } @JsonProperty(JSON_PROPERTY_CREATED_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setCreatedDate(String createdDate) { this.createdDate = createdDate; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Campaign campaign = (Campaign) o; return Objects.equals(this.accountId, campaign.accountId) && Objects.equals(this.appId, campaign.appId) && Objects.equals(this.appOsType, campaign.appOsType) && Objects.equals(this.biddingStrategyConfiguration, campaign.biddingStrategyConfiguration) && Objects.equals(this.biddingStrategyFailedReason, campaign.biddingStrategyFailedReason) && Objects.equals(this.budget, campaign.budget) && Objects.equals(this.campaignId, campaign.campaignId) && Objects.equals(this.campaignName, campaign.campaignName) && Objects.equals(this.campaignTrackId, campaign.campaignTrackId) && Objects.equals(this.conversionOptimizerEligibility, campaign.conversionOptimizerEligibility) && Objects.equals(this.customParameters, campaign.customParameters) && Objects.equals(this.endDate, campaign.endDate) && Objects.equals(this.failedBiddingStrategyConfiguration, campaign.failedBiddingStrategyConfiguration) && Objects.equals(this.labels, campaign.labels) && Objects.equals(this.servingStatus, campaign.servingStatus) && Objects.equals(this.settings, campaign.settings) && Objects.equals(this.startDate, campaign.startDate) && Objects.equals(this.trackingUrl, campaign.trackingUrl) && Objects.equals(this.type, campaign.type) && Objects.equals(this.urlReviewData, campaign.urlReviewData) && Objects.equals(this.userStatus, campaign.userStatus) && Objects.equals(this.createdDate, campaign.createdDate); } @Override public int hashCode() { return Objects.hash(accountId, appId, appOsType, biddingStrategyConfiguration, biddingStrategyFailedReason, budget, campaignId, campaignName, campaignTrackId, conversionOptimizerEligibility, customParameters, endDate, failedBiddingStrategyConfiguration, labels, servingStatus, settings, startDate, trackingUrl, type, urlReviewData, userStatus, createdDate); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Campaign {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" appId: ").append(toIndentedString(appId)).append("\n"); sb.append(" appOsType: ").append(toIndentedString(appOsType)).append("\n"); sb.append(" biddingStrategyConfiguration: ").append(toIndentedString(biddingStrategyConfiguration)).append("\n"); sb.append(" biddingStrategyFailedReason: ").append(toIndentedString(biddingStrategyFailedReason)).append("\n"); sb.append(" budget: ").append(toIndentedString(budget)).append("\n"); sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n"); sb.append(" campaignName: ").append(toIndentedString(campaignName)).append("\n"); sb.append(" campaignTrackId: ").append(toIndentedString(campaignTrackId)).append("\n"); sb.append(" conversionOptimizerEligibility: ").append(toIndentedString(conversionOptimizerEligibility)).append("\n"); sb.append(" customParameters: ").append(toIndentedString(customParameters)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); sb.append(" failedBiddingStrategyConfiguration: ").append(toIndentedString(failedBiddingStrategyConfiguration)).append("\n"); sb.append(" labels: ").append(toIndentedString(labels)).append("\n"); sb.append(" servingStatus: ").append(toIndentedString(servingStatus)).append("\n"); sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n"); sb.append(" trackingUrl: ").append(toIndentedString(trackingUrl)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" urlReviewData: ").append(toIndentedString(urlReviewData)).append("\n"); sb.append(" userStatus: ").append(toIndentedString(userStatus)).append("\n"); sb.append(" createdDate: ").append(toIndentedString(createdDate)).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