jp.co.yahoo.adssearchapi.v13.model.ConversionTrackerServiceWebConversion 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.ConversionTrackerServiceMarkupLanguage;
import jp.co.yahoo.adssearchapi.v13.model.ConversionTrackerServiceTrackingCodeType;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">ConversionTrackerServiceWebConversionオブジェクトは、ウェブページのコンバージョン測定タグやタグごとのパフォーマンスデータなどのコンバージョン設定を表します。<br> このフィールドは、ADDおよびSET時に省略可能となります。<br> ※ADD時、conversionTrackerTypeがWEB_CONVERSIONの場合、このフィールドは必須となります。</div> <div lang=\"en\">ConversionTrackerServiceWebConversion describes ConversionTracker settings such as ConversionTag and performance data by tag.<br> This field is optional in ADD and SET operation.<br> *If the conversionTrackerType is WEB_CONVERSION, this field will be required in ADD operation.</div>
*/
@ApiModel(description = "ConversionTrackerServiceWebConversionオブジェクトは、ウェブページのコンバージョン測定タグやタグごとのパフォーマンスデータなどのコンバージョン設定を表します。
このフィールドは、ADDおよびSET時に省略可能となります。
※ADD時、conversionTrackerTypeがWEB_CONVERSIONの場合、このフィールドは必須となります。 ConversionTrackerServiceWebConversion describes ConversionTracker settings such as ConversionTag and performance data by tag.
This field is optional in ADD and SET operation.
*If the conversionTrackerType is WEB_CONVERSION, this field will be required in ADD operation. ")
@JsonPropertyOrder({
ConversionTrackerServiceWebConversion.JSON_PROPERTY_MARKUP_LANGUAGE,
ConversionTrackerServiceWebConversion.JSON_PROPERTY_ADVANCED_SNIPPET,
ConversionTrackerServiceWebConversion.JSON_PROPERTY_TRACKING_CODE_TYPE
})
@JsonTypeName("ConversionTrackerServiceWebConversion")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ConversionTrackerServiceWebConversion {
public static final String JSON_PROPERTY_MARKUP_LANGUAGE = "markupLanguage";
private ConversionTrackerServiceMarkupLanguage markupLanguage;
public static final String JSON_PROPERTY_ADVANCED_SNIPPET = "advancedSnippet";
private String advancedSnippet;
public static final String JSON_PROPERTY_TRACKING_CODE_TYPE = "trackingCodeType";
private ConversionTrackerServiceTrackingCodeType trackingCodeType;
public ConversionTrackerServiceWebConversion() {
}
public ConversionTrackerServiceWebConversion markupLanguage(ConversionTrackerServiceMarkupLanguage markupLanguage) {
this.markupLanguage = markupLanguage;
return this;
}
/**
* Get markupLanguage
* @return markupLanguage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MARKUP_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ConversionTrackerServiceMarkupLanguage getMarkupLanguage() {
return markupLanguage;
}
@JsonProperty(JSON_PROPERTY_MARKUP_LANGUAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMarkupLanguage(ConversionTrackerServiceMarkupLanguage markupLanguage) {
this.markupLanguage = markupLanguage;
}
public ConversionTrackerServiceWebConversion advancedSnippet(String advancedSnippet) {
this.advancedSnippet = advancedSnippet;
return this;
}
/**
* <div lang=\"ja\"> リニューアル版のコンバージョンタグは、従来のタグよりもブラウザーなどの環境の影響を受けづらい新しいフォーマットです。<br> 詳細は以下のヘルプを参照してください。<br> ・<a href=\"https://ads-help.yahoo-net.jp/s/article/H000045014?language=ja\">コンバージョン測定とは</a><br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> The new format of conversion tag avoids the impacts such as changes made to the browser. <br> See also the help below.<br> * <a href=\"https://ads-help.yahoo-net.jp/s/article/H000045014?language=en_US\">Conversion Analytics</a><br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return advancedSnippet
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " リニューアル版のコンバージョンタグは、従来のタグよりもブラウザーなどの環境の影響を受けづらい新しいフォーマットです。
詳細は以下のヘルプを参照してください。
・コンバージョン測定とは
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 The new format of conversion tag avoids the impacts such as changes made to the browser.
See also the help below.
* Conversion Analytics
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_ADVANCED_SNIPPET)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAdvancedSnippet() {
return advancedSnippet;
}
@JsonProperty(JSON_PROPERTY_ADVANCED_SNIPPET)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdvancedSnippet(String advancedSnippet) {
this.advancedSnippet = advancedSnippet;
}
public ConversionTrackerServiceWebConversion trackingCodeType(ConversionTrackerServiceTrackingCodeType trackingCodeType) {
this.trackingCodeType = trackingCodeType;
return this;
}
/**
* Get trackingCodeType
* @return trackingCodeType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TRACKING_CODE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ConversionTrackerServiceTrackingCodeType getTrackingCodeType() {
return trackingCodeType;
}
@JsonProperty(JSON_PROPERTY_TRACKING_CODE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTrackingCodeType(ConversionTrackerServiceTrackingCodeType trackingCodeType) {
this.trackingCodeType = trackingCodeType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConversionTrackerServiceWebConversion conversionTrackerServiceWebConversion = (ConversionTrackerServiceWebConversion) o;
return Objects.equals(this.markupLanguage, conversionTrackerServiceWebConversion.markupLanguage) &&
Objects.equals(this.advancedSnippet, conversionTrackerServiceWebConversion.advancedSnippet) &&
Objects.equals(this.trackingCodeType, conversionTrackerServiceWebConversion.trackingCodeType);
}
@Override
public int hashCode() {
return Objects.hash(markupLanguage, advancedSnippet, trackingCodeType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConversionTrackerServiceWebConversion {\n");
sb.append(" markupLanguage: ").append(toIndentedString(markupLanguage)).append("\n");
sb.append(" advancedSnippet: ").append(toIndentedString(advancedSnippet)).append("\n");
sb.append(" trackingCodeType: ").append(toIndentedString(trackingCodeType)).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 ");
}
}