Skip to content

Commit

Permalink
chore: update auto generated api
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-fisher authored and Whitebox Bot committed Jan 13, 2023
1 parent 36987c7 commit 27541f0
Show file tree
Hide file tree
Showing 15 changed files with 3,010 additions and 4,628 deletions.
36 changes: 18 additions & 18 deletions docs/schemas/attribution.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,18 @@
"description": "The identifier of a publisher that does not support macros.",
"type": "string"
},
"PublishersResponse": {
"type": "object",
"properties": {
"publisher": {
"description": "A list of publishers.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Publisher"
}
}
}
},
"MaaSError": {
"description": "The error response object.",
"type": "object",
Expand All @@ -467,30 +479,12 @@
}
}
},
"PublishersResponse": {
"type": "object",
"properties": {
"publisher": {
"description": "A list of publishers.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Publisher"
}
}
}
},
"macroPublishers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/macroPublisher"
}
},
"nonMacroPublishers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/nonMacroPublisher"
}
},
"Publisher": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -520,6 +514,12 @@
}
}
},
"nonMacroPublishers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/nonMacroPublisher"
}
},
"attributionTagMap": {
"description": "An object representing the association between a publisher identifier and an attribution tag.",
"additionalProperties": {
Expand Down
82 changes: 41 additions & 41 deletions docs/schemas/common-audiences.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"/audiences/list": {
"post": {
"summary": "Gets audience segments based on filters",
"description": "Returns a list of audience segments for an advertiser. The result set can be filtered by providing an array of Filter objects. Each item in the resulting set will match all specified filters.\n\n**Requires one of these permissions**:\n[\"advertiser_campaign_edit\",\"advertiser_campaign_view\"]",
"tags": [
"Discovery"
],
"requestBody": {
"content": {
"application/json": {
Expand All @@ -18,7 +22,6 @@
},
"required": false
},
"description": "Returns a list of audience segments for an advertiser. The result set can be filtered by providing an array of Filter objects. Each item in the resulting set will match all specified filters.\n\n**Requires one of these permissions**:\n[\"advertiser_campaign_edit\",\"advertiser_campaign_view\"]",
"operationId": "listAudiences",
"responses": {
"200": {
Expand Down Expand Up @@ -127,15 +130,16 @@
"name": "maxResults",
"description": "Sets the maximum number of audiences in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned."
}
],
"tags": [
"Discovery"
]
}
},
"/audiences/taxonomy/list": {
"post": {
"summary": "Browse the taxonomy of audience categories",
"description": "Returns a list of audience categories for a given category path\n\n**Requires one of these permissions**:\n[\"advertiser_campaign_edit\",\"advertiser_campaign_view\"]",
"tags": [
"Discovery"
],
"requestBody": {
"content": {
"application/json": {
Expand All @@ -146,7 +150,6 @@
},
"required": true
},
"description": "Returns a list of audience categories for a given category path\n\n**Requires one of these permissions**:\n[\"advertiser_campaign_edit\",\"advertiser_campaign_view\"]",
"operationId": "fetchTaxonomy",
"responses": {
"200": {
Expand Down Expand Up @@ -246,9 +249,6 @@
"name": "maxResults",
"description": "Sets the maximum number of categories in the returned array. Use in conjunction with the `nextToken` parameter to control pagination. For example, supplying maxResults=20 with a previously returned token will fetch up to the next 20 items. In some cases, fewer items may be returned."
}
],
"tags": [
"Discovery"
]
}
}
Expand Down Expand Up @@ -291,33 +291,33 @@
}
}
},
"FetchTaxonomyRequestBodyV1": {
"description": "The response data will have the categories that are under the given path, and main categories will be returned if no path is specified. The response data also depends on the adType specified here since ad programs may support targeting audiences in certain categories.",
"AudienceFilterV1": {
"type": "object",
"properties": {
"adType": {
"type": "string",
"enum": [
"DSP",
"SD"
]
"field": {
"description": "Field to filter by. Supported enums are 'audienceName', 'category', 'categoryPath', 'audienceId' and 'status'. The 'category' enum returns all audiences under a high-level category, whereas the 'categoryPath' enum expects a path of nodes in the taxonomy tree and returns audiences attached directly to the node at the specified path.",
"type": "string"
},
"categoryPath": {
"values": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"AudienceFilterV1": {
"FetchTaxonomyRequestBodyV1": {
"description": "The response data will have the categories that are under the given path, and main categories will be returned if no path is specified. The response data also depends on the adType specified here since ad programs may support targeting audiences in certain categories.",
"type": "object",
"properties": {
"field": {
"description": "Field to filter by. Supported enums are 'audienceName', 'category', 'categoryPath' and 'audienceId'. The 'category' enum returns all audiences under a high-level category, whereas the 'categoryPath' enum expects a path of nodes in the taxonomy tree and returns audiences attached directly to the node at the specified path.",
"type": "string"
"adType": {
"type": "string",
"enum": [
"DSP",
"SD"
]
},
"values": {
"categoryPath": {
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -495,25 +495,6 @@
}
}
},
"AudienceSubErrorV1": {
"description": "The sub error object.",
"type": "object",
"required": [
"errorType",
"message"
],
"properties": {
"fieldName": {
"type": "string"
},
"errorType": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"FetchTaxonomyResponseV1": {
"type": "object",
"properties": {
Expand All @@ -534,6 +515,25 @@
}
}
},
"AudienceSubErrorV1": {
"description": "The sub error object.",
"type": "object",
"required": [
"errorType",
"message"
],
"properties": {
"fieldName": {
"type": "string"
},
"errorType": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"FetchTaxonomyNodeV1": {
"type": "object",
"properties": {
Expand Down
16 changes: 8 additions & 8 deletions docs/schemas/common-billing.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,14 +1404,6 @@
}
}
},
"thirdPartyContactInformation": {
"description": "Additional contacts. This field is used in cases such as Loi Sapin in France where both advertiser and agency addresses need to be provided.\n",
"title": "Third Party Contact Info",
"type": "array",
"items": {
"$ref": "#/components/schemas/contactInfo"
}
},
"invoice": {
"title": "Invoice",
"type": "object",
Expand Down Expand Up @@ -1463,6 +1455,14 @@
}
}
},
"thirdPartyContactInformation": {
"description": "Additional contacts. This field is used in cases such as Loi Sapin in France where both advertiser and agency addresses need to be provided.\n",
"title": "Third Party Contact Info",
"type": "array",
"items": {
"$ref": "#/components/schemas/contactInfo"
}
},
"billingStatusCode": {
"type": "string",
"title": "Billing Status Code",
Expand Down
4 changes: 2 additions & 2 deletions docs/schemas/common-eligibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@
]
},
"ProgramEligibilityRequestContent": {
"description": "A request to evaluate account level eligibility for Amazon ad programs (Sponsored Products, Sponsored Brands, Sponsored Display, Stores, etc).",
"description": "A request to evaluate account level eligibility for Amazon ad programs (Sponsored Products, Sponsored Brands, Sponsored Display, Stores, DirectToConsumer, Amazon Attribution, etc).",
"type": "object",
"properties": {
"skipChecks": {
Expand Down Expand Up @@ -640,7 +640,7 @@
}
},
"EligibilityStatusMap": {
"description": "This is a map that will be key'd on the ad program (SB/SD); the value will be an eligibility object.",
"description": "This is a map that will be key'd on the ad program (SB/SD/DTC/MAAS); the value will be an eligibility object.",
"additionalProperties": {
"$ref": "#/components/schemas/EligibilityStatusDetail"
},
Expand Down
Loading

0 comments on commit 27541f0

Please sign in to comment.