{"components":{"callbacks":{},"examples":{},"headers":{},"links":{},"parameters":{"ClientIdHeader":{"description":"The identifier of a client associated with a \u0027Login with Amazon\u0027 account.","in":"header","name":"Amazon-Ads-ClientId","required":true,"schema":{"type":"string"}},"MaxResultsQuery":{"in":"query","name":"maxResults","schema":{"default":100,"format":"int32","maximum":1000,"minimum":10,"type":"integer"}},"NextTokenQuery":{"in":"query","name":"nextToken","schema":{"type":"string"}}},"requestBodies":{},"responses":{},"schemas":{"AdProduct":{"description":"**AdProduct Enum:**\n\n| AdProduct | Description |\n|------|------|\n| `AMAZON_DSP` | Amazon Demand-Side Platform ad product. |\n","enum":["AMAZON_DSP"],"type":"string"},"BadGatewayResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"BadRequestResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"Commitment":{"properties":{"adProduct":{"$ref":"#/components/schemas/AdProduct"},"advertiserIds":{"description":"Advertiser IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"campaignIds":{"description":"Campaign IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"commitmentId":{"description":"A unique identifier for the commitment.","type":"string"},"commitmentName":{"description":"The name of the commitment.","type":"string"},"committedSpend":{"description":"The total committed spend for the commitment.","format":"double","type":"number"},"currencyCode":{"$ref":"#/components/schemas/CurrencyCode"},"dealIds":{"description":"Deal IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"endDateTime":{"description":"The end date and time of the commitment.","format":"date-time","type":"string"},"fulfillmentLevel":{"$ref":"#/components/schemas/FulfillmentLevel"},"spendCalculationMode":{"$ref":"#/components/schemas/SpendCalculationMode"},"startDateTime":{"description":"The start date and time of the commitment.","format":"date-time","type":"string"}},"required":["commitmentId","commitmentName","committedSpend","currencyCode","endDateTime","fulfillmentLevel","spendCalculationMode","startDateTime"],"type":"object"},"CommitmentAdvertiserAccountIdFilter":{"properties":{"include":{"items":{"type":"string"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"CommitmentAdvertisingDealIdFilter":{"properties":{"include":{"items":{"type":"string"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"CommitmentCampaignIdFilter":{"properties":{"include":{"items":{"type":"string"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"CommitmentCommitmentIdFilter":{"properties":{"include":{"items":{"type":"string"},"maxItems":100,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"CommitmentCommitmentNameFilter":{"properties":{"include":{"items":{"type":"string"},"maxItems":1,"minItems":1,"type":"array"},"queryTermMatchType":{"$ref":"#/components/schemas/CommitmentCommitmentNameFilterType"}},"required":["include","queryTermMatchType"],"type":"object"},"CommitmentCommitmentNameFilterType":{"description":"**CommitmentCommitmentNameFilterType Enum:**\n| CommitmentCommitmentNameFilterType | Description |\n| --- | --- |\n| `EXACT_MATCH` | Filter by exact match. |\n| `BROAD_MATCH` | Filter by broad match. |","enum":["BROAD_MATCH","EXACT_MATCH"],"type":"string"},"CommitmentCreate":{"properties":{"adProduct":{"$ref":"#/components/schemas/AdProduct"},"advertiserIds":{"description":"Advertiser IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"campaignIds":{"description":"Campaign IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"commitmentName":{"description":"The name of the commitment.","type":"string"},"committedSpend":{"description":"The total committed spend for the commitment.","format":"double","type":"number"},"currencyCode":{"$ref":"#/components/schemas/CurrencyCode"},"dealIds":{"description":"Deal IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"endDateTime":{"description":"The end date and time of the commitment.","format":"date-time","type":"string"},"fulfillmentLevel":{"$ref":"#/components/schemas/FulfillmentLevel"},"spendCalculationMode":{"$ref":"#/components/schemas/SpendCalculationMode"},"startDateTime":{"description":"The start date and time of the commitment.","format":"date-time","type":"string"}},"required":["commitmentName","committedSpend","currencyCode","endDateTime","fulfillmentLevel","spendCalculationMode","startDateTime"],"type":"object"},"CommitmentMultiStatusResponse":{"properties":{"error":{"items":{"$ref":"#/components/schemas/ErrorsIndex"},"maxItems":1000,"minItems":0,"type":"array"},"success":{"items":{"$ref":"#/components/schemas/CommitmentMultiStatusSuccess"},"maxItems":1000,"minItems":0,"type":"array"}},"type":"object"},"CommitmentMultiStatusSuccess":{"properties":{"commitment":{"$ref":"#/components/schemas/Commitment"},"index":{"format":"int32","maximum":999,"minimum":0,"type":"integer"}},"required":["commitment","index"],"type":"object"},"CommitmentSpendCalculationModeFilter":{"properties":{"include":{"description":"**SpendCalculationMode Enum:**\n| SpendCalculationMode | Description |\n| --- | --- |\n| `MANAGER_ACCOUNT` | Spend is aggregated at the manager account level |\n| `ADVERTISER_ACCOUNT` | Spend is aggregated at the advertiser account level |\n| `CAMPAIGN` | Spend is aggregated at the campaign level |","items":{"$ref":"#/components/schemas/SpendCalculationMode"},"maxItems":1,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"CommitmentSuccessResponse":{"properties":{"commitments":{"items":{"$ref":"#/components/schemas/Commitment"},"maxItems":1000,"minItems":0,"type":"array"},"nextToken":{"type":"string"}},"type":"object"},"CommitmentUpdate":{"properties":{"adProduct":{"$ref":"#/components/schemas/AdProduct"},"advertiserIds":{"description":"Advertiser IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"campaignIds":{"description":"Campaign IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"commitmentId":{"description":"A unique identifier for the commitment.","type":"string"},"commitmentName":{"description":"The name of the commitment.","type":"string"},"committedSpend":{"description":"The total committed spend for the commitment.","format":"double","type":"number"},"currencyCode":{"$ref":"#/components/schemas/CurrencyCode"},"dealIds":{"description":"Deal IDs associated with the commitment.","items":{"type":"string"},"maxItems":1000,"minItems":0,"type":"array"},"endDateTime":{"description":"The end date and time of the commitment.","format":"date-time","type":"string"},"fulfillmentLevel":{"$ref":"#/components/schemas/FulfillmentLevel"},"spendCalculationMode":{"$ref":"#/components/schemas/SpendCalculationMode"},"startDateTime":{"description":"The start date and time of the commitment.","format":"date-time","type":"string"}},"required":["commitmentId"],"type":"object"},"ContentTooLargeResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"CreateCommitmentRequest":{"properties":{"commitments":{"items":{"$ref":"#/components/schemas/CommitmentCreate"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["commitments"],"type":"object"},"CurrencyCode":{"description":"**CurrencyCode Enum:**\n\n| CurrencyCode | Description |\n|------|------|\n| `AED` | United Arab Emirates Dirham |\n| `AUD` | Australian Dollar |\n| `BRL` | Brazilian Real |\n| `CAD` | Canadian Dollar |\n| `DKK` | Danish Krone |\n| `EUR` | Euro |\n| `GBP` | British Pound Sterling |\n| `INR` | Indian Rupee |\n| `JPY` | Japanese Yen |\n| `MXN` | Mexican Peso |\n| `NOK` | Norwegian Krone |\n| `NZD` | New Zealand Dollar |\n| `SAR` | Saudi Riyal |\n| `SEK` | Swedish Krona |\n| `SGD` | Singapore Dollar |\n| `TRY` | Turkish Lira |\n| `USD` | United States Dollar |\n","enum":["AED","AUD","BRL","CAD","DKK","EUR","GBP","INR","JPY","MXN","NOK","NZD","SAR","SEK","SGD","TRY","USD"],"type":"string"},"Error":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"fieldLocation":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"ErrorCode":{"description":"**ErrorCode Enum:**\n\n| ErrorCode | Description |\n|------|------|\n| `BAD_REQUEST` | The request is not valid considering the documented schema. |\n| `CONTENT_TOO_LARGE` | The request is too large. Consider splitting it into multiple requests. |\n| `FORBIDDEN` | The caller is not authorized to make the given request. |\n| `INTERNAL_ERROR` | The server encountered an unexpected condition that prevented it from fulfilling the request. |\n| `NOT_FOUND` | The requested resource does not exist. |\n| `TOO_MANY_REQUESTS` | There have been too many requests, please slow down your call rate. |\n| `UNAUTHORIZED` | The request lacks the necessary credentials. |\n","enum":["BAD_REQUEST","CONTENT_TOO_LARGE","FORBIDDEN","INTERNAL_ERROR","NOT_FOUND","TOO_MANY_REQUESTS","UNAUTHORIZED"],"type":"string"},"ErrorsIndex":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/Error"},"maxItems":20,"minItems":1,"type":"array"},"index":{"format":"int32","maximum":999,"minimum":0,"type":"integer"}},"required":["errors","index"],"type":"object"},"ForbiddenResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"FulfillmentLevel":{"description":"**FulfillmentLevel Enum:**\n\n| FulfillmentLevel | Description |\n|------|------|\n| `LEVEL_0` | Tracking-only commitments |\n| `LEVEL_5` | Prioritize commitment over campaign performance |\n","enum":["LEVEL_0","LEVEL_5"],"type":"string"},"GatewayTimeoutResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"InternalServerErrorResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"NotFoundResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"QueryCommitmentRequest":{"properties":{"advertiserIdsFilter":{"$ref":"#/components/schemas/CommitmentAdvertiserAccountIdFilter"},"campaignIdsFilter":{"$ref":"#/components/schemas/CommitmentCampaignIdFilter"},"commitmentIdFilter":{"$ref":"#/components/schemas/CommitmentCommitmentIdFilter"},"commitmentNameFilter":{"$ref":"#/components/schemas/CommitmentCommitmentNameFilter"},"dealIdsFilter":{"$ref":"#/components/schemas/CommitmentAdvertisingDealIdFilter"},"maxResults":{"default":100,"format":"int32","maximum":1000,"minimum":10,"type":"integer"},"nextToken":{"type":"string"},"spendCalculationModeFilter":{"$ref":"#/components/schemas/CommitmentSpendCalculationModeFilter"}},"type":"object"},"RetrieveCommitmentRequest":{"properties":{"commitmentIds":{"items":{"type":"string"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["commitmentIds"],"type":"object"},"ServiceUnavailableErrorResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"SpendCalculationMode":{"description":"**SpendCalculationMode Enum:**\n\n| SpendCalculationMode | Description |\n|------|------|\n| `ADVERTISER_ACCOUNT` | Spend is aggregated at the advertiser account level |\n| `CAMPAIGN` | Spend is aggregated at the campaign level |\n| `MANAGER_ACCOUNT` | Spend is aggregated at the manager account level |\n","enum":["ADVERTISER_ACCOUNT","CAMPAIGN","MANAGER_ACCOUNT"],"type":"string"},"TooManyRequestsResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"UnauthorizedResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"UpdateCommitmentRequest":{"properties":{"commitments":{"items":{"$ref":"#/components/schemas/CommitmentUpdate"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["commitments"],"type":"object"}},"securitySchemes":{"OAuth2":{"flows":{"authorizationCode":{"authorizationUrl":"https://www.amazon.com/ap/oa","scopes":{"advertising::audiences":"Grants access to data provider APIs","advertising::campaign_management":"Grants write access to campaign management.","advertising::test:create_account":"Grants write access to create test accounts functionality","cpc_advertising:campaign_management":"Grants write access to campaign management. Legacy name (no difference from advertising::campaign_management)"},"tokenUrl":"https://api.amazon.com/auth/o2/token"}},"type":"oauth2"}}},"info":{"description":"Amazon Ads API v1 is a reimagined approach to our Ads API, built to provide a seamless experience across all Amazon advertising products through a common model. [Learn more about Ads API v1.](https://advertising.amazon.com/API/docs/en-us/reference/amazon-ads/overview) To learn about prerequisites and header values, see [Getting started with Amazon Ads API v1](https://advertising.amazon.com/API/docs/en-us/reference/amazon-ads/getting-started).\n\n**Download Amazon Ads API V1 OpenAPI Spec** ([All Products](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPIALLMerged_prod_3p.json) | [SP](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISPMerged_prod_3p.json) | [SP Global](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISPGLOBALMerged_prod_3p.json) | [SB](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISBMerged_prod_3p.json) | [DSP](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPIDSPMerged_prod_3p.json) | [ST](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISTMerged_prod_3p.json) | [SD](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISDMerged_prod_3p.json))","title":"Commitments API","version":"3.0"},"openapi":"3.0.1","paths":{"/adsApi/v1/commitments":{"get":{"description":"List commitments\n\n**Requires one of these permissions**:\n[]","operationId":"ListCommitment","parameters":[{"$ref":"#/components/parameters/NextTokenQuery"},{"$ref":"#/components/parameters/MaxResultsQuery"},{"$ref":"#/components/parameters/ClientIdHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitmentSuccessResponse"}}},"description":"ListCommitment 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["Commitments"]}},"/adsApi/v1/create/commitments":{"post":{"description":"Create commitments\n\n**Requires one of these permissions**:\n[]","operationId":"CreateCommitment","parameters":[{"$ref":"#/components/parameters/ClientIdHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCommitmentRequest"}}},"required":true},"responses":{"207":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitmentMultiStatusResponse"}}},"description":"CreateCommitment 207 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["Commitments"]}},"/adsApi/v1/query/commitments":{"post":{"description":"Query commitments with filters\n\n**Requires one of these permissions**:\n[]","operationId":"QueryCommitment","parameters":[{"$ref":"#/components/parameters/ClientIdHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryCommitmentRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitmentSuccessResponse"}}},"description":"QueryCommitment 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["Commitments"]}},"/adsApi/v1/retrieve/commitments":{"post":{"description":"Get Commitments\n\n**Requires one of these permissions**:\n[]","operationId":"RetrieveCommitment","parameters":[{"$ref":"#/components/parameters/ClientIdHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrieveCommitmentRequest"}}},"required":true},"responses":{"207":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitmentMultiStatusResponse"}}},"description":"RetrieveCommitment 207 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["Commitments"]}},"/adsApi/v1/update/commitments":{"post":{"description":"Update commitments\n\n**Requires one of these permissions**:\n[]","operationId":"UpdateCommitment","parameters":[{"$ref":"#/components/parameters/ClientIdHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCommitmentRequest"}}},"required":true},"responses":{"207":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitmentMultiStatusResponse"}}},"description":"UpdateCommitment 207 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["Commitments"]}}},"servers":[{"description":"Production server for NA","url":"https://advertising-api.amazon.com"},{"description":"Production server for EU","url":"https://advertising-api-eu.amazon.com"},{"description":"Production server for FE","url":"https://advertising-api-fe.amazon.com"}]}