Skip to content

Commit

Permalink
Update Google Ads oauth specs (#6458)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ChristopheDuong authored Sep 27, 2021
1 parent b563b1a commit 4ce6a03
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- sourceDefinitionId: 253487c0-2246-43ba-a21f-5116b20a2c50
name: Google Ads
dockerRepository: airbyte/source-google-ads
dockerImageTag: 0.1.11
dockerImageTag: 0.1.12
documentationUrl: https://docs.airbyte.io/integrations/sources/google-ads
sourceType: api
- sourceDefinitionId: ef69ef6e-aa7f-4af1-a01d-ef775033524e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ RUN pip install .

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

LABEL io.airbyte.version=0.1.11
LABEL io.airbyte.version=0.1.12
LABEL io.airbyte.name=airbyte/source-google-ads
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"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>",
"airbyte_secret": true
},
"access_token": {
"type": "string",
"title": "Access Token",
"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>",
"airbyte_secret": true
},
"refresh_token": {
"type": "string",
"title": "Refresh Token",
Expand Down Expand Up @@ -95,10 +101,15 @@
"authSpecification": {
"auth_type": "oauth2.0",
"oauth2Specification": {
"rootObject": ["credentials", 0],
"oauthFlowInitParameters": [
["credentials", "developer_token"],
["credentials", "client_id"],
["credentials", "client_secret"]
["client_id"],
["client_secret"],
["developer_token"]
],
"oauthFlowOutputParameters": [
["access_token"],
["refresh_token"]
]
}
}
Expand Down
3 changes: 2 additions & 1 deletion docs/integrations/sources/google-ads.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ The Google Ads Query Language can query the Google Ads API. Check out [Google Ad

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

0 comments on commit 4ce6a03

Please sign in to comment.