{"components":{"callbacks":{},"examples":{},"headers":{},"links":{},"parameters":{},"requestBodies":{},"responses":{},"schemas":{"CreateAdvertiserSeatsFailureResponseItem":{"properties":{"advertiserId":{"description":"The ADSP advertiserId.","maxLength":255,"minLength":1,"pattern":"^[0-9]+$","type":"string"},"errors":{"items":{"$ref":"#/components/schemas/DspDealException"},"maxItems":10,"minItems":1,"type":"array"}},"required":["advertiserId","errors"],"type":"object"},"CreateAdvertiserSeatsRequestContent":{"properties":{"advertiserIds":{"items":{"description":"The ADSP advertiserId.","maxLength":255,"minLength":1,"pattern":"^[0-9]+$","type":"string"},"maxItems":1,"minItems":1,"type":"array"}},"required":["advertiserIds"],"type":"object"},"CreateAdvertiserSeatsResponseContent":{"properties":{"error":{"description":"Advertisers for which seat creation failed.","items":{"$ref":"#/components/schemas/CreateAdvertiserSeatsFailureResponseItem"},"maxItems":1,"minItems":0,"type":"array"},"success":{"description":"Advertisers for which seat creation succeeded.","items":{"$ref":"#/components/schemas/CurrentAdvertiserSeats"},"maxItems":1,"minItems":0,"type":"array"}},"type":"object"},"CurrentAdvertiserSeats":{"description":"Advertiser seatIds for all available exchanges.","properties":{"advertiserId":{"description":"The ADSP advertiserId.","maxLength":255,"minLength":1,"pattern":"^[0-9]+$","type":"string"},"currentSeats":{"description":"SeatIds for all available exchanges.","items":{"$ref":"#/components/schemas/CurrentSeat"},"maxItems":100,"minItems":0,"type":"array"}},"required":["advertiserId","currentSeats"],"type":"object"},"CurrentSeat":{"description":"SeatIds for an exchange.","properties":{"dealCreationId":{"description":"The seatId used to identify a buyer.","maxLength":255,"minLength":1,"type":"string"},"exchangeId":{"description":"The unique identifier of the exchange.","type":"number"},"exchangeName":{"description":"The name of the exchange.","maxLength":255,"minLength":1,"type":"string"},"spendTrackingId":{"description":"The seatId used to identify a buyer.","maxLength":255,"minLength":1,"type":"string"}},"required":["exchangeId","exchangeName"],"type":"object"},"DspBadRequestExceptionResponseContent":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/DspSubError"},"maxItems":100,"minItems":1,"type":"array"},"requestId":{"type":"string"}},"type":"object"},"DspDealException":{"properties":{"errorKey":{"$ref":"#/components/schemas/ErrorKey"},"message":{"type":"string"}},"required":["errorKey","message"],"type":"object"},"DspForbiddenExceptionResponseContent":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/DspSubError"},"maxItems":100,"minItems":1,"type":"array"},"requestId":{"type":"string"}},"type":"object"},"DspInternalServerExceptionResponseContent":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/DspSubError"},"maxItems":100,"minItems":1,"type":"array"},"requestId":{"type":"string"}},"type":"object"},"DspNotFoundExceptionResponseContent":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/DspSubError"},"maxItems":100,"minItems":1,"type":"array"},"requestId":{"type":"string"}},"type":"object"},"DspSubError":{"properties":{"errorCode":{"type":"string"},"errorId":{"type":"string"},"errorMessage":{"type":"string"}},"required":["errorCode","errorMessage"],"type":"object"},"DspTooManyRequestsExceptionResponseContent":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/DspSubError"},"maxItems":100,"minItems":1,"type":"array"},"requestId":{"type":"string"}},"type":"object"},"ErrorKey":{"enum":["UNKNOWN_ERROR"],"type":"string"},"ListAdvertiserSeatsRequestContent":{"properties":{"exchangeIdFilter":{"items":{"description":"The unique identifier of the exchange.","type":"number"},"maxItems":100,"minItems":0,"type":"array"},"maxResults":{"maximum":200,"minimum":1,"type":"number"},"nextToken":{"type":"string"}},"type":"object"},"ListAdvertiserSeatsResponseContent":{"properties":{"advertiserSeats":{"items":{"$ref":"#/components/schemas/CurrentAdvertiserSeats"},"maxItems":200,"minItems":0,"type":"array"},"nextToken":{"type":"string"}},"required":["advertiserSeats"],"type":"object"},"ReconcileAdvertiserSeatRequestContent":{"properties":{"cfid":{"type":"string"},"globalAccountId":{"type":"string"},"isMainRegion":{"type":"boolean"},"managerAccountId":{"type":"string"},"region":{"type":"string"},"seatId":{"type":"string"}},"required":["cfid","globalAccountId","isMainRegion","managerAccountId","region","seatId"],"type":"object"},"ReconcileAdvertiserSeatResponseContent":{"properties":{"cfid":{"type":"string"},"error":{"type":"string"},"status":{"type":"string"}},"required":["cfid","status"],"type":"object"}},"securitySchemes":{}},"info":{"description":"Seats API Service.","title":"D16GSeatsApiService","version":"3.0"},"openapi":"3.0.1","paths":{"/dsp/v1/seats/advertisers/create":{"post":{"description":"Create default advertiser level seats for given advertisers.\n\n**Authorized resource type**:\nDSP Rodeo Entity ID, DSP Advertiser Account ID\n\n**Parameter name**:\nAmazon-Ads-AccountId\n\n**Parameter in**:\nheader\n\n**Requires one of these permissions**:\n[\"campaign_view\"]","operationId":"CreateAdvertiserSeats","parameters":[{"description":"Account identifier you use to access the DSP. This is your Amazon DSP Advertiser ID.","in":"header","name":"Amazon-Ads-AccountId","schema":{"description":"Account identifier you use to access the DSP. This is your Amazon DSP Advertiser ID.","type":"string"}},{"description":"The identifier of a client associated with a \"Login with Amazon\" account.","in":"header","name":"Amazon-Advertising-API-ClientId","required":true,"schema":{"description":"The identifier of a client associated with a \"Login with Amazon\" account.","type":"string"}},{"description":"The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.","in":"header","name":"Amazon-Advertising-API-Scope","schema":{"description":"The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdvertiserSeatsRequestContent"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdvertiserSeatsResponseContent"}}},"description":"CreateAdvertiserSeats 202 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspBadRequestExceptionResponseContent"}}},"description":"DspBadRequestException 400 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspForbiddenExceptionResponseContent"}}},"description":"DspForbiddenException 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspNotFoundExceptionResponseContent"}}},"description":"DspNotFoundException 404 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspTooManyRequestsExceptionResponseContent"}}},"description":"DspTooManyRequestsException 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspInternalServerExceptionResponseContent"}}},"description":"DspInternalServerException 500 response"}},"tags":["Create Seat"]}},"/dsp/v1/seats/advertisers/current/list":{"post":{"description":"List current seats for advertisers by exchange.\n\n**Authorized resource type**:\nDSP Rodeo Entity ID, DSP Advertiser Account ID\n\n**Parameter name**:\nAmazon-Ads-AccountId\n\n**Parameter in**:\nheader\n\n**Requires one of these permissions**:\n[\"campaign_view\"]","operationId":"ListAdvertiserSeats","parameters":[{"description":"Account identifier you use to access the DSP. This is your Amazon DSP Advertiser ID.","in":"header","name":"Amazon-Ads-AccountId","schema":{"description":"Account identifier you use to access the DSP. This is your Amazon DSP Advertiser ID.","type":"string"}},{"description":"The identifier of a client associated with a \"Login with Amazon\" account.","in":"header","name":"Amazon-Advertising-API-ClientId","required":true,"schema":{"description":"The identifier of a client associated with a \"Login with Amazon\" account.","type":"string"}},{"description":"The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.","in":"header","name":"Amazon-Advertising-API-Scope","schema":{"description":"The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAdvertiserSeatsRequestContent"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAdvertiserSeatsResponseContent"}}},"description":"ListAdvertiserSeats 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspBadRequestExceptionResponseContent"}}},"description":"DspBadRequestException 400 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspForbiddenExceptionResponseContent"}}},"description":"DspForbiddenException 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspNotFoundExceptionResponseContent"}}},"description":"DspNotFoundException 404 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspTooManyRequestsExceptionResponseContent"}}},"description":"DspTooManyRequestsException 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspInternalServerExceptionResponseContent"}}},"description":"DspInternalServerException 500 response"}},"tags":["Current Seat"]}},"/v1/seats/reconcile":{"post":{"description":"Reconcile advertiser seat during SGA backfill. Internal API - restricted to GlobalRegistrationService.\n\n**Requires one of these permissions**:\n[]","operationId":"ReconcileAdvertiserSeat","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileAdvertiserSeatRequestContent"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileAdvertiserSeatResponseContent"}}},"description":"ReconcileAdvertiserSeat 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspBadRequestExceptionResponseContent"}}},"description":"DspBadRequestException 400 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspForbiddenExceptionResponseContent"}}},"description":"DspForbiddenException 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspNotFoundExceptionResponseContent"}}},"description":"DspNotFoundException 404 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DspInternalServerExceptionResponseContent"}}},"description":"DspInternalServerException 500 response"}},"tags":["Reconcile Seat"]}}}}