Skip to content

Commit

Permalink
Source Amazon Ads: add region to inputOAuthConfiguration (airbytehq#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-yermilov-gl authored and jatinyadav-cc committed Feb 26, 2024
1 parent ff57519 commit a446336
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ acceptance_tests:
tests:
- config_path: secrets/config.json
backward_compatibility_tests_config:
disable_for_version: 2.3.1
disable_for_version: 3.4.3
full_refresh:
tests:
- config_path: secrets/config.json
Expand All @@ -64,6 +64,6 @@ acceptance_tests:
tests:
- spec_path: integration_tests/spec.json
backward_compatibility_tests_config:
disable_for_version: "3.2.0"
disable_for_version: 3.4.3
connector_image: airbyte/source-amazon-ads:dev
test_strictness_level: high
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@
"predicate_key": ["auth_type"],
"predicate_value": "oauth2.0",
"oauth_config_specification": {
"oauth_user_input_from_connector_config_specification": {
"type": "object",
"additionalProperties": false,
"properties": {
"region": {
"type": "string",
"path_in_connector_config": ["region"]
}
}
},
"complete_oauth_output_specification": {
"type": "object",
"additionalProperties": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: c6b0a29e-1da9-4512-9002-7bfd0cba2246
dockerImageTag: 4.0.0
dockerImageTag: 4.0.1
dockerRepository: airbyte/source-amazon-ads
documentationUrl: https://docs.airbyte.com/integrations/sources/amazon-ads
githubIssueLabel: source-amazon-ads
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ advanced_auth:
- auth_type
predicate_value: oauth2.0
oauth_config_specification:
oauth_user_input_from_connector_config_specification:
type: object
additionalProperties: false
properties:
region:
type: string
path_in_connector_config:
- region
complete_oauth_output_specification:
type: object
additionalProperties: true
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/amazon-ads.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Information about expected report generation waiting time you may find [here](ht

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------|
| 4.0.1 | 2023-12-28 | [33833](https://github.com/airbytehq/airbyte/pull/33833) | Updated oauth spec to put region, so we can choose oauth consent url based on it |
| 4.0.0 | 2023-12-28 | [33817](https://github.com/airbytehq/airbyte/pull/33817) | Fix schema for streams: `SponsoredBrandsAdGroups` and `SponsoredBrandsKeywords` |
| 3.4.2 | 2023-12-12 | [33361](https://github.com/airbytehq/airbyte/pull/33361) | Fix unexpected crash when handling error messages which don't have `requestId` field |
| 3.4.1 | 2023-10-19 | [31599](https://github.com/airbytehq/airbyte/pull/31599) | Base image migration: remove Dockerfile and use the python-connector-base image |
Expand Down

0 comments on commit a446336

Please sign in to comment.