Skip to content

Commit 4ce6a03

Browse files
Update Google Ads oauth specs (#6458)
* Update oauth specs * Update docs/integrations/sources/google-ads.md * Add access_token generated from the first oauth complete flow * path to property should be rootObject + property path
1 parent b563b1a commit 4ce6a03

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
- sourceDefinitionId: 253487c0-2246-43ba-a21f-5116b20a2c50
3434
name: Google Ads
3535
dockerRepository: airbyte/source-google-ads
36-
dockerImageTag: 0.1.11
36+
dockerImageTag: 0.1.12
3737
documentationUrl: https://docs.airbyte.io/integrations/sources/google-ads
3838
sourceType: api
3939
- sourceDefinitionId: ef69ef6e-aa7f-4af1-a01d-ef775033524e

airbyte-integrations/connectors/source-google-ads/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ RUN pip install .
1313

1414
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1515

16-
LABEL io.airbyte.version=0.1.11
16+
LABEL io.airbyte.version=0.1.12
1717
LABEL io.airbyte.name=airbyte/source-google-ads

airbyte-integrations/connectors/source-google-ads/source_google_ads/spec.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
"description": "Google client secret. More instruction on how to find this value in our <a href=\"https://docs.airbyte.io/integrations/sources/google-adwords#setup-guide\">docs</a>",
3535
"airbyte_secret": true
3636
},
37+
"access_token": {
38+
"type": "string",
39+
"title": "Access Token",
40+
"description": "Access token generated using developer_token, oauth_client_id, and oauth_client_secret. More instruction on how to find this value in our <a href=\"https://docs.airbyte.io/integrations/sources/google-adwords#setup-guide\">docs</a>",
41+
"airbyte_secret": true
42+
},
3743
"refresh_token": {
3844
"type": "string",
3945
"title": "Refresh Token",
@@ -95,10 +101,15 @@
95101
"authSpecification": {
96102
"auth_type": "oauth2.0",
97103
"oauth2Specification": {
104+
"rootObject": ["credentials", 0],
98105
"oauthFlowInitParameters": [
99-
["credentials", "developer_token"],
100-
["credentials", "client_id"],
101-
["credentials", "client_secret"]
106+
["client_id"],
107+
["client_secret"],
108+
["developer_token"]
109+
],
110+
"oauthFlowOutputParameters": [
111+
["access_token"],
112+
["refresh_token"]
102113
]
103114
}
104115
}

docs/integrations/sources/google-ads.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ The Google Ads Query Language can query the Google Ads API. Check out [Google Ad
8787

8888
| Version | Date | Pull Request | Subject |
8989
| :------ | :-------- | :----- | :------ |
90-
| `0.1.11` | 2021-09-22 | [#6373](https://github.com/airbytehq/airbyte/pull/6373) | Fix inconsistent segments.date field type acros all streams |
90+
| `0.1.12` | 2021-09-27 | [6458](https://github.com/airbytehq/airbyte/pull/6458) | Update OAuth Spec File |
91+
| `0.1.11` | 2021-09-22 | [#6373](https://github.com/airbytehq/airbyte/pull/6373) | Fix inconsistent segments.date field type across all streams |
9192
| `0.1.10` | 2021-09-13 | [#6022](https://github.com/airbytehq/airbyte/pull/6022) | Annotate Oauth2 flow initialization parameters in connector spec |
9293
| `0.1.9` | 2021-09-07 | [#5302](https://github.com/airbytehq/airbyte/pull/5302) | Add custom query stream support |
9394
| `0.1.8` | 2021-08-03 | [#5509](https://github.com/airbytehq/airbyte/pull/5509) | allow additionalProperties in spec.json |

0 commit comments

Comments
 (0)