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

jp.co.yahoo.adsdisplayapi.v15.api.AdGroupAdServiceApi Maven / Gradle / Ivy

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

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

import jp.co.yahoo.adsdisplayapi.v15.model.AdGroupAdServiceGetResponse;
import jp.co.yahoo.adsdisplayapi.v15.model.AdGroupAdServiceMutateResponse;
import jp.co.yahoo.adsdisplayapi.v15.model.AdGroupAdServiceOperation;
import jp.co.yahoo.adsdisplayapi.v15.model.AdGroupAdServiceSelector;

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.v15.api.AdGroupAdServiceApi")
public class AdGroupAdServiceApi {
    private ApiClient apiClient;

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

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

    public ApiClient getApiClient() {
        return apiClient;
    }

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

    /**
     * 
     * <div lang=\"ja\">   広告を追加します。<br> </div> <div lang=\"en\">   Adds an ad.<br> </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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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> <tr><td>220331</td><td>Invalid combination in regular and responsive materials.</td><td><div lang=\"ja\"> 通常の素材とレスポンシブの素材を両方設定することはできません。</div><div lang=\"en\">It is not possible to set both regular and responsive materials.</div></td></tr> <tr><td>220332</td><td>There are already 6 responsive ads in service.</td><td><div lang=\"ja\">レスポンシブ広告かつ配信中である広告が既に6件存在します。</div><div lang=\"en\">There are already 6 responsive ads in service.</div></td></tr> <tr><td>250002</td><td>Invalid field settings.</td><td><div lang=\"ja\">フィールドに指定できない組み合わせ項目が設定されています。</div><div lang=\"en\">Incorrect combination in report fields is set.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param adGroupAdServiceOperation (optional) * @return AdGroupAdServiceMutateResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public AdGroupAdServiceMutateResponse adGroupAdServiceAddPost(Long xZBaseAccountId, AdGroupAdServiceOperation adGroupAdServiceOperation) throws RestClientException { return adGroupAdServiceAddPostWithHttpInfo(xZBaseAccountId, adGroupAdServiceOperation).getBody(); } /** * * <div lang=\"ja\"> 広告を追加します。<br> </div> <div lang=\"en\"> Adds an ad.<br> </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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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> <tr><td>220331</td><td>Invalid combination in regular and responsive materials.</td><td><div lang=\"ja\"> 通常の素材とレスポンシブの素材を両方設定することはできません。</div><div lang=\"en\">It is not possible to set both regular and responsive materials.</div></td></tr> <tr><td>220332</td><td>There are already 6 responsive ads in service.</td><td><div lang=\"ja\">レスポンシブ広告かつ配信中である広告が既に6件存在します。</div><div lang=\"en\">There are already 6 responsive ads in service.</div></td></tr> <tr><td>250002</td><td>Invalid field settings.</td><td><div lang=\"ja\">フィールドに指定できない組み合わせ項目が設定されています。</div><div lang=\"en\">Incorrect combination in report fields is set.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param adGroupAdServiceOperation (optional) * @return ResponseEntity<AdGroupAdServiceMutateResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity adGroupAdServiceAddPostWithHttpInfo(Long xZBaseAccountId, AdGroupAdServiceOperation adGroupAdServiceOperation) throws RestClientException { Object postBody = adGroupAdServiceOperation; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling adGroupAdServiceAddPost"); } 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("/AdGroupAdService/add", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } /** * * <div lang=\"ja\">広告の情報を取得します。</div> <div lang=\"en\">Retrieves ad information.</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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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 adGroupAdServiceSelector (optional) * @return AdGroupAdServiceGetResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public AdGroupAdServiceGetResponse adGroupAdServiceGetPost(Long xZBaseAccountId, AdGroupAdServiceSelector adGroupAdServiceSelector) throws RestClientException { return adGroupAdServiceGetPostWithHttpInfo(xZBaseAccountId, adGroupAdServiceSelector).getBody(); } /** * * <div lang=\"ja\">広告の情報を取得します。</div> <div lang=\"en\">Retrieves ad information.</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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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 adGroupAdServiceSelector (optional) * @return ResponseEntity<AdGroupAdServiceGetResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity adGroupAdServiceGetPostWithHttpInfo(Long xZBaseAccountId, AdGroupAdServiceSelector adGroupAdServiceSelector) throws RestClientException { Object postBody = adGroupAdServiceSelector; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling adGroupAdServiceGetPost"); } 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("/AdGroupAdService/get", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } /** * * <div lang=\"ja\"> 広告を削除します。<br> </div> <div lang=\"en\"> Removes an ad.<br> </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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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 adGroupAdServiceOperation (optional) * @return AdGroupAdServiceMutateResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public AdGroupAdServiceMutateResponse adGroupAdServiceRemovePost(Long xZBaseAccountId, AdGroupAdServiceOperation adGroupAdServiceOperation) throws RestClientException { return adGroupAdServiceRemovePostWithHttpInfo(xZBaseAccountId, adGroupAdServiceOperation).getBody(); } /** * * <div lang=\"ja\"> 広告を削除します。<br> </div> <div lang=\"en\"> Removes an ad.<br> </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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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 adGroupAdServiceOperation (optional) * @return ResponseEntity<AdGroupAdServiceMutateResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity adGroupAdServiceRemovePostWithHttpInfo(Long xZBaseAccountId, AdGroupAdServiceOperation adGroupAdServiceOperation) throws RestClientException { Object postBody = adGroupAdServiceOperation; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling adGroupAdServiceRemovePost"); } 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("/AdGroupAdService/remove", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } /** * * <div lang=\"ja\"> 広告を変更します。<br> </div> <div lang=\"en\"> Updates an ad.<br> </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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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> <tr><td>220331</td><td>Invalid combination in regular and responsive materials.</td><td><div lang=\"ja\"> 通常の素材とレスポンシブの素材を両方設定することはできません。</div><div lang=\"en\">It is not possible to set both regular and responsive materials.</div></td></tr> <tr><td>220332</td><td>There are already 6 responsive ads in service.</td><td><div lang=\"ja\">レスポンシブ広告かつ配信中である広告が既に6件存在します。</div><div lang=\"en\">There are already 6 responsive ads in service.</div></td></tr> <tr><td>250002</td><td>Invalid field settings.</td><td><div lang=\"ja\">フィールドに指定できない組み合わせ項目が設定されています。</div><div lang=\"en\">Incorrect combination in report fields is set.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param adGroupAdServiceOperation (optional) * @return AdGroupAdServiceMutateResponse * @throws RestClientException if an error occurs while attempting to invoke the API */ public AdGroupAdServiceMutateResponse adGroupAdServiceSetPost(Long xZBaseAccountId, AdGroupAdServiceOperation adGroupAdServiceOperation) throws RestClientException { return adGroupAdServiceSetPostWithHttpInfo(xZBaseAccountId, adGroupAdServiceOperation).getBody(); } /** * * <div lang=\"ja\"> 広告を変更します。<br> </div> <div lang=\"en\"> Updates an ad.<br> </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>220009</td><td>Ad type you chose does not support the specified adProductType.</td><td><div lang=\"ja\">キャンペーンで設定した広告商品種別では指定出来ない広告タイプが入力されています。</div><div lang=\"en\">Ad type you chose does not support the specified adProductType.</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>S0001</td><td>Invalid Status.</td><td><div lang=\"ja\">ステータスが無効です。</div><div lang=\"en\">The status is invalid.</div></td></tr> <tr><td>220113</td><td>Unsupported ad product type.</td><td><div lang=\"ja\">キャンペーンの配信方法(AdproductType)が、画像紐づけ不可となっています。</div><div lang=\"en\">Delivery method of campaign (AdproductType) cannot relate to media.</div></td></tr> <tr><td>220115</td><td>Unexpected aspect ratio of an image.</td><td><div lang=\"ja\">指定したピクセルサイズをご利用いただけません。</div><div lang=\"en\">The pixel size is not available to use for the specific image.</div></td></tr> <tr><td>220136</td><td>Url restriction for Commerce ads.</td><td><div lang=\"ja\">コマース広告の表示URL,リンクURLが規定違反です。</div><div lang=\"en\">Url restriction for Commerce ads.</div></td></tr> <tr><td>220015</td><td>Bidding price is higher than campaign budget.</td><td><div lang=\"ja\">入札価格がキャンペーン予算を超えています。</div><div lang=\"en\">The bidding price has been set higher than the campaign budget.</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>220133</td><td>Not allowed to set impression beacon url.</td><td><div lang=\"ja\">広告効果測定ツール提供企業など外部との連係許可がないため、<br>インプレッションビーコンURLの設定はできません。</div><div lang=\"en\">Impression beacon URL is not available since the external link to analyzing tool providers is not allowed.</div></td></tr> <tr><td>220301</td><td>Over limit to delivered ad.</td><td><div lang=\"ja\">配信設定中の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads set to be distributed exceeded the limit.</div></td></tr> <tr><td>220302</td><td>Over limit to ad under account.</td><td><div lang=\"ja\">アカウント配下の広告の件数が上限を超えています。</div><div lang=\"en\">Number of ads under an account exceeded the limit.</div></td></tr> <tr><td>220322</td><td>Invalid tracking parameter.</td><td><div lang=\"ja\">無効な文字列(無効なトラッキングパラメータなど)が存在します。</div><div lang=\"en\">Invalid string (such as invalid Tracking Parameter</div></td></tr> <tr><td>220323</td><td>Tracking parameter is not available for this type of ad distribution.</td><td><div lang=\"ja\">指定された広告掲載方式に対し、トラッキングパラメータは対応していません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the ad product.</div></td></tr> <tr><td>220324</td><td>Entered tracking parameter cannot be used.</td><td><div lang=\"ja\">入力されたトラッキングパラメータは利用できません。</div><div lang=\"en\">There is a Tracking Parameter which is not available for the YDN-unaligned tracking tool</div></td></tr> <tr><td>220325</td><td>Invalid relation of video and thumbnail format.</td><td><div lang=\"ja\">動画とサムネイルのフォーマットが異なります。</div><div lang=\"en\">Invalid relation of video and thumbnail format.</div></td></tr> <tr><td>220326</td><td>Not allowed to set video beacon url.</td><td><div lang=\"ja\">動画視聴用のbeacon urlを設定する権限がありません。</div><div lang=\"en\">Not allowed to set video beacon url.</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> <tr><td>220331</td><td>Invalid combination in regular and responsive materials.</td><td><div lang=\"ja\"> 通常の素材とレスポンシブの素材を両方設定することはできません。</div><div lang=\"en\">It is not possible to set both regular and responsive materials.</div></td></tr> <tr><td>220332</td><td>There are already 6 responsive ads in service.</td><td><div lang=\"ja\">レスポンシブ広告かつ配信中である広告が既に6件存在します。</div><div lang=\"en\">There are already 6 responsive ads in service.</div></td></tr> <tr><td>250002</td><td>Invalid field settings.</td><td><div lang=\"ja\">フィールドに指定できない組み合わせ項目が設定されています。</div><div lang=\"en\">Incorrect combination in report fields is set.</div></td></tr> </tbody> </table> </div> * @param xZBaseAccountId <div lang=\"ja\">アカウントIDを指定してください。</div> <div lang=\"en\">Specify Account ID.</div> (required) * @param adGroupAdServiceOperation (optional) * @return ResponseEntity<AdGroupAdServiceMutateResponse> * @throws RestClientException if an error occurs while attempting to invoke the API */ public ResponseEntity adGroupAdServiceSetPostWithHttpInfo(Long xZBaseAccountId, AdGroupAdServiceOperation adGroupAdServiceOperation) throws RestClientException { Object postBody = adGroupAdServiceOperation; // verify the required parameter 'xZBaseAccountId' is set if (xZBaseAccountId == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'xZBaseAccountId' when calling adGroupAdServiceSetPost"); } 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("/AdGroupAdService/set", HttpMethod.POST, Collections.emptyMap(), queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, authNames, returnType); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy