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

jp.co.yahoo.adsdisplayapi.v13.api.MediaServiceApi Maven / Gradle / Ivy

The newest version!
package jp.co.yahoo.adsdisplayapi.v13.api;

import jp.co.yahoo.adsdisplayapi.v13.ApiClient;

import java.io.File;
import jp.co.yahoo.adsdisplayapi.v13.model.MediaServiceDownloadSelector;
import jp.co.yahoo.adsdisplayapi.v13.model.MediaServiceGetResponse;
import jp.co.yahoo.adsdisplayapi.v13.model.MediaServiceMutateResponse;
import jp.co.yahoo.adsdisplayapi.v13.model.MediaServiceOperation;
import jp.co.yahoo.adsdisplayapi.v13.model.MediaServiceSelector;

import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.stream.Collectors;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.web.client.RestClientException;
import org.springframework.web.client.HttpClientErrorException;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.core.io.FileSystemResource;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
@Component("jp.co.yahoo.adsdisplayapi.v13.api.MediaServiceApi")
public class MediaServiceApi {
    private ApiClient apiClient;

    public MediaServiceApi() {
        this(new ApiClient());
    }

    @Autowired
    public MediaServiceApi(ApiClient apiClient) {
        this.apiClient = apiClient;
    }

    public ApiClient getApiClient() {
        return apiClient;
    }

    public void setApiClient(ApiClient apiClient) {
        this.apiClient = apiClient;
    }

    /**
     * 
     * <div lang=\"ja\">画像のアップロードを行います(最大1件)。</div> <div lang=\"en\">Uploads the media (maximum of 1 media).</div> 
     * 

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220207</td><td>Invalid aspect ratio of a media.</td><td><div lang=\"ja\">メディアファイルのピクセルサイズが間違っています。</div><div lang=\"en\">Wrong pixel size for media file.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceOperation (optional) * @return MediaServiceMutateResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public MediaServiceMutateResponse mediaServiceAddPost(Long xZBaseAccountId, MediaServiceOperation mediaServiceOperation) throws RestClientException { return mediaServiceAddPostWithHttpInfo(xZBaseAccountId, mediaServiceOperation).getBody(); } /** * * <div lang=\"ja\">画像のアップロードを行います(最大1件)。</div> <div lang=\"en\">Uploads the media (maximum of 1 media).</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220207</td><td>Invalid aspect ratio of a media.</td><td><div lang=\"ja\">メディアファイルのピクセルサイズが間違っています。</div><div lang=\"en\">Wrong pixel size for media file.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceOperation (optional) * @return ResponseEntity<MediaServiceMutateResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity mediaServiceAddPostWithHttpInfo(Long xZBaseAccountId, MediaServiceOperation mediaServiceOperation) throws RestClientException { Object postBody = mediaServiceOperation; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling mediaServiceAddPost"); } final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (xZBaseAccountId != null) headerParams.add("x-z-base-account-id", apiClient.parameterToString(xZBaseAccountId)); final String[] localVarAccepts = { "application/json" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] contentTypes = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(contentTypes); String[] authNames = new String[] { "oAuth" }; ParameterizedTypeReference returnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/MediaService/add", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } /** * * <div lang=\"ja\">入稿済みのメディアファイルをダウンロードします。</div> <div lang=\"en\">Download the submitted media file.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220143</td><td>Unable to download this media file.</td><td><div lang=\"ja\">ダウンロードできないメディアファイルです。詳細は審査否認理由をご確認ください。</div><div lang=\"en\">This media file cannot be downloaded. Refer to disapproval reason for more details.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceDownloadSelector (optional) * @return org.springframework.core.io.Resource * @throws RestClientException if an error occurs while attempting to invoke the API */ public org.springframework.core.io.Resource mediaServiceDownloadPost(Long xZBaseAccountId, MediaServiceDownloadSelector mediaServiceDownloadSelector) throws RestClientException { return mediaServiceDownloadPostWithHttpInfo(xZBaseAccountId, mediaServiceDownloadSelector).getBody(); } /** * * <div lang=\"ja\">入稿済みのメディアファイルをダウンロードします。</div> <div lang=\"en\">Download the submitted media file.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220143</td><td>Unable to download this media file.</td><td><div lang=\"ja\">ダウンロードできないメディアファイルです。詳細は審査否認理由をご確認ください。</div><div lang=\"en\">This media file cannot be downloaded. Refer to disapproval reason for more details.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceDownloadSelector (optional) * @return ResponseEntity<org.springframework.core.io.Resource> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity mediaServiceDownloadPostWithHttpInfo(Long xZBaseAccountId, MediaServiceDownloadSelector mediaServiceDownloadSelector) throws RestClientException { Object postBody = mediaServiceDownloadSelector; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling mediaServiceDownloadPost"); } final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (xZBaseAccountId != null) headerParams.add("x-z-base-account-id", apiClient.parameterToString(xZBaseAccountId)); final String[] localVarAccepts = { "application/json" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] contentTypes = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(contentTypes); String[] authNames = new String[] { "oAuth" }; ParameterizedTypeReference returnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/MediaService/download", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } /** * * <div lang=\"ja\">入稿済の画像の一覧を条件を指定して取得します。</div> <div lang=\"en\">Retrieves the list of submitted media from specified condition.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceSelector (optional) * @return MediaServiceGetResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public MediaServiceGetResponse mediaServiceGetPost(Long xZBaseAccountId, MediaServiceSelector mediaServiceSelector) throws RestClientException { return mediaServiceGetPostWithHttpInfo(xZBaseAccountId, mediaServiceSelector).getBody(); } /** * * <div lang=\"ja\">入稿済の画像の一覧を条件を指定して取得します。</div> <div lang=\"en\">Retrieves the list of submitted media from specified condition.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceSelector (optional) * @return ResponseEntity<MediaServiceGetResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity mediaServiceGetPostWithHttpInfo(Long xZBaseAccountId, MediaServiceSelector mediaServiceSelector) throws RestClientException { Object postBody = mediaServiceSelector; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling mediaServiceGetPost"); } final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (xZBaseAccountId != null) headerParams.add("x-z-base-account-id", apiClient.parameterToString(xZBaseAccountId)); final String[] localVarAccepts = { "application/json" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] contentTypes = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(contentTypes); String[] authNames = new String[] { "oAuth" }; ParameterizedTypeReference returnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/MediaService/get", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } /** * * <div lang=\"ja\">入稿済みの画像を削除します。</div> <div lang=\"en\">Delete the submitted media.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceOperation (optional) * @return MediaServiceMutateResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public MediaServiceMutateResponse mediaServiceRemovePost(Long xZBaseAccountId, MediaServiceOperation mediaServiceOperation) throws RestClientException { return mediaServiceRemovePostWithHttpInfo(xZBaseAccountId, mediaServiceOperation).getBody(); } /** * * <div lang=\"ja\">入稿済みの画像を削除します。</div> <div lang=\"en\">Delete the submitted media.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceOperation (optional) * @return ResponseEntity<MediaServiceMutateResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity mediaServiceRemovePostWithHttpInfo(Long xZBaseAccountId, MediaServiceOperation mediaServiceOperation) throws RestClientException { Object postBody = mediaServiceOperation; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling mediaServiceRemovePost"); } final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (xZBaseAccountId != null) headerParams.add("x-z-base-account-id", apiClient.parameterToString(xZBaseAccountId)); final String[] localVarAccepts = { "application/json" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] contentTypes = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(contentTypes); String[] authNames = new String[] { "oAuth" }; ParameterizedTypeReference returnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/MediaService/remove", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } /** * * <div lang=\"ja\">入稿済の画像のステータス(配信設定)の変更を行います。</div> <div lang=\"en\">Change the status (delivery settings) of the submitted media.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220207</td><td>Invalid aspect ratio of a media.</td><td><div lang=\"ja\">メディアファイルのピクセルサイズが間違っています。</div><div lang=\"en\">Wrong pixel size for media file.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceOperation (optional) * @return MediaServiceMutateResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public MediaServiceMutateResponse mediaServiceSetPost(Long xZBaseAccountId, MediaServiceOperation mediaServiceOperation) throws RestClientException { return mediaServiceSetPostWithHttpInfo(xZBaseAccountId, mediaServiceOperation).getBody(); } /** * * <div lang=\"ja\">入稿済の画像のステータス(配信設定)の変更を行います。</div> <div lang=\"en\">Change the status (delivery settings) of the submitted media.</div> *

503 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0099</td><td>Out of service.</td><td><div lang=\"ja\">APIがメンテナンス中、またはご利用できません。</div><div lang=\"en\">API is under maintenance or not available to use.</div></td></tr> </tbody> </table> </div> *

500 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0002</td><td>An internal error has occurred.</td><td><div lang=\"ja\">内部エラーが発生しました。再度操作を実行してください。 <br>もし、問題が解決しない場合は、お問い合わせページをご利用ください。</div><div lang=\"en\">An internal error has occurred. Please try again later. <br>If the problem continues, please contact the support team via Inquiry page for assistance. </div></td></tr> </tbody> </table> </div> *

403 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0098</td><td>Permission denied.</td><td><div lang=\"ja\">権限がありません。</div><div lang=\"en\">Permission denied.</div></td></tr> <tr><td>0003</td><td>Frequency limit exceeded. Please try your request again later</td><td><div lang=\"ja\">アクセス頻度が上限値に達しました。時間をおいて再度実行してください。</div><div lang=\"en\">Frequency limit exceeded. Please try your request again later.</div></td></tr> </tbody> </table> </div> *

401 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0110</td><td>Require access token.</td><td><div lang=\"ja\">アクセストークンがリクエストヘッダに存在していません。</div><div lang=\"en\">There is no access token in the request header.</div></td></tr> <tr><td>0111</td><td>Authentication failed.</td><td><div lang=\"ja\">アクセストークンの認証に失敗しました。</div><div lang=\"en\">The access token authentication failed.</div></td></tr> <tr><td>0112</td><td>Account not found.</td><td><div lang=\"ja\">アカウントが見つかりませんでした。</div><div lang=\"en\">The account can not found.</div></td></tr> <tr><td>0113</td><td>Deactivated account.</td><td><div lang=\"ja\">アカウントが無効です。</div><div lang=\"en\">The account is deactivated.</div></td></tr> </tbody> </table> </div> *

400 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0114</td><td>Invalid scope.</td><td><div lang=\"ja\">アクセストークンが無効です。</div><div lang=\"en\">The access token is invalid.</div></td></tr> </tbody> </table> </div> *

200 - <p class=\"cellContent__head\">Error codes</p> <div class=\"cellContent__body\"> <table class=\"apiTable\"> <colgroup span=\"1\" class=\"short\"></colgroup> <colgroup span=\"2\"></colgroup> <thead> <tr><th>Code</th><th>Message</th><th>Description</th></tr> </thead> <tbody> <tr><td>0001</td><td>Invalid Request.</td><td><div lang=\"ja\">さまざまな要因が考えられます。<br>主な要因は、パラメータの値が不正か、誤りがあるためにオペレーションが完了できません。</div><div lang=\"en\">This error can result for a variety of reasons. <br>Typically because one of the parameter values in the request is wrong or invalid and the operation cannot be completed.</div></td></tr> <tr><td>R0001</td><td>Require.</td><td><div lang=\"ja\">必須です。</div><div lang=\"en\">It is missing required parameter.</div></td></tr> <tr><td>V0001</td><td>Invalid value.</td><td><div lang=\"ja\">値が無効です。</div><div lang=\"en\">The value is invalid.</div></td></tr> <tr><td>I0001</td><td>Deactivated Id.</td><td><div lang=\"ja\">IDが無効です。</div><div lang=\"en\">The ID is Deactivated.</div></td></tr> <tr><td>F0001</td><td>Invalid format.</td><td><div lang=\"ja\">値の形式が不正です。</div><div lang=\"en\">The value format is invalid.</div></td></tr> <tr><td>110005</td><td>Not a valid id.</td><td><div lang=\"ja\">IDが有効ではありません。</div><div lang=\"en\">Not a valid id.</div></td></tr> <tr><td>L0002</td><td>Over list size.</td><td><div lang=\"ja\">配列の要素数が上限値を超過しています。</div><div lang=\"en\">The number of elements in the array exceeds the upper limit.</div></td></tr> <tr><td>D0001</td><td>Duplicate.</td><td><div lang=\"ja\">一意な値が重複しています。</div><div lang=\"en\">The unique value is duplicated.</div></td></tr> <tr><td>RL001</td><td>Invalid relation.</td><td><div lang=\"ja\">リクエストの関連性が矛盾しています。<br> たとえば、開始>終了の日付指定を行なっているなど</div><div lang=\"en\">The relation of the request is contradictory.<br> For example, you are specifying the date of start > end.</div></td></tr> <tr><td>L0001</td><td>Lower list size.</td><td><div lang=\"ja\">配列の要素数が下限値を下回っています。</div><div lang=\"en\">The number of elements in the array is below the lower limit.</div></td></tr> <tr><td>120020</td><td>Can not set value.</td><td><div lang=\"ja\">値を設定することができません。</div><div lang=\"en\">Value cannot be set.</div></td></tr> <tr><td>LT001</td><td>Over limit.</td><td><div lang=\"ja\">登録できる上限値を超過しています。</div><div lang=\"en\">The upper limit value that can be registered is exceeded.</div></td></tr> <tr><td>220129</td><td>Invalid combination in user status and logo flag.</td><td><div lang=\"ja\">配信フラグとロゴフラグの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the status flag and logo flag.</div></td></tr> <tr><td>220130</td><td>Invalid combination in logo flag and media format.</td><td><div lang=\"ja\">ロゴフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the logo flag and image format.</div></td></tr> <tr><td>220131</td><td>Field value is not updatable.</td><td><div lang=\"ja\">更新不可項目に変更が実施されました</div><div lang=\"en\">Update has been attempted to the field that cannot be updated.</div></td></tr> <tr><td>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220207</td><td>Invalid aspect ratio of a media.</td><td><div lang=\"ja\">メディアファイルのピクセルサイズが間違っています。</div><div lang=\"en\">Wrong pixel size for media file.</div></td></tr> <tr><td>V0003</td><td>Over limit of the file size.</td><td><div lang=\"ja\">アップロードファイルサイズが上限を超過しています。</div><div lang=\"en\">The upload file size exceeds the limit.</div></td></tr> <tr><td>F0002</td><td>Invalid file format.</td><td><div lang=\"ja\">アップロードファイルの形式が不正です。</div><div lang=\"en\">The upload file format is invalid.</div></td></tr> <tr><td>220103</td><td>Unsupported filename extension.</td><td><div lang=\"ja\">画像ファイルの拡張子がGIF/JPEGと異なります。</div><div lang=\"en\">The image file is not GIF/JPEG.</div></td></tr> <tr><td>220104</td><td>Only GIF89a is supported.</td><td><div lang=\"ja\">GIFファイルの規格がGIF89aではありません。</div><div lang=\"en\">GIF file is not in GIF89a.</div></td></tr> <tr><td>220105</td><td>Animated GIF pixel size does not fit.</td><td><div lang=\"ja\">アニメーションGIF形式の規定ピクセルサイズではないため、登録されませんでした。</div><div lang=\"en\">The following file could not be registered</div></td></tr> <tr><td>220106</td><td>Only RGB is supported.</td><td><div lang=\"ja\">画像ファイルの色空間がRGBではありません。</div><div lang=\"en\">Color space of image file is not in the RGB.</div></td></tr> <tr><td>220117</td><td>Inifinite loop setting is not allowed for Animated GIF.</td><td><div lang=\"ja\">無限ループのアニメーションGIFです。</div><div lang=\"en\">Inifinate loop has been set for animated GIF ads.</div></td></tr> <tr><td>220118</td><td>Animated GIF movie time is too long (Max 15 seconds).</td><td><div lang=\"ja\">15秒より長いアニメーションが設定されています。</div><div lang=\"en\">Animation has been set longer than 15 seconds.</div></td></tr> <tr><td>210003</td><td>A function is not permitted this account.</td><td><div lang=\"ja\">利用が許可されていないアカウントです。</div><div lang=\"en\">Custom audience is not available for this account.</div></td></tr> <tr><td>220119</td><td>Submitted file is transparent GIF.</td><td><div lang=\"ja\">画像ファイルが透過GIFです。</div><div lang=\"en\">Image file is transparent GIF.</div></td></tr> <tr><td>V0002</td><td>Empty file.</td><td><div lang=\"ja\">アップロードファイルが0byteです。</div><div lang=\"en\">The upload file is 0 byte.</div></td></tr> <tr><td>220137</td><td>Too large compressed image file size.</td><td><div lang=\"ja\">圧縮後の画像ファイルサイズが規定サイズを超えています。</div><div lang=\"en\">The compressed image file size exceeded the limit.</div></td></tr> <tr><td>220138</td><td>Unsupported image format.</td><td><div lang=\"ja\">サポートしていない画像形式です。</div><div lang=\"en\">Unsupported image format.</div></td></tr> <tr><td>220135</td><td>Invalid relation of thumbnail flag to media format.</td><td><div lang=\"ja\">サムネイルフラグと画像フォーマットの組み合わせが無効です。</div><div lang=\"en\">Unavailable setting between the thumbnail flag and image format.</div></td></tr> <tr><td>220139</td><td>Unsupported image size.</td><td><div lang=\"ja\">サポートしていない画像サイズです。</div><div lang=\"en\">Unsupported image size.</div></td></tr> <tr><td>220330</td><td>Invalid combination in user status and campaign banner media.</td><td><div lang=\"ja\">キャンペーンバナー画像の配信設定は変更できません。</div><div lang=\"en\">Unmodifiable the user status on campaign banner media.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param mediaServiceOperation (optional) * @return ResponseEntity<MediaServiceMutateResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity mediaServiceSetPostWithHttpInfo(Long xZBaseAccountId, MediaServiceOperation mediaServiceOperation) throws RestClientException { Object postBody = mediaServiceOperation; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling mediaServiceSetPost"); } final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (xZBaseAccountId != null) headerParams.add("x-z-base-account-id", apiClient.parameterToString(xZBaseAccountId)); final String[] localVarAccepts = { "application/json" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] contentTypes = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(contentTypes); String[] authNames = new String[] { "oAuth" }; ParameterizedTypeReference returnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/MediaService/set", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy