diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml
index 071cb2ce3fb8..79983472ffb4 100644
--- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml
+++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml
@@ -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
diff --git a/airbyte-integrations/connectors/source-google-ads/Dockerfile b/airbyte-integrations/connectors/source-google-ads/Dockerfile
index 699f08441558..6f8987e4f03f 100644
--- a/airbyte-integrations/connectors/source-google-ads/Dockerfile
+++ b/airbyte-integrations/connectors/source-google-ads/Dockerfile
@@ -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
diff --git a/airbyte-integrations/connectors/source-google-ads/source_google_ads/spec.json b/airbyte-integrations/connectors/source-google-ads/source_google_ads/spec.json
index 0943f7c5b4b4..edac03384d3e 100644
--- a/airbyte-integrations/connectors/source-google-ads/source_google_ads/spec.json
+++ b/airbyte-integrations/connectors/source-google-ads/source_google_ads/spec.json
@@ -34,6 +34,12 @@
"description": "Google client secret. More instruction on how to find this value in our docs",
"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 docs",
+ "airbyte_secret": true
+ },
"refresh_token": {
"type": "string",
"title": "Refresh Token",
@@ -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"]
]
}
}
diff --git a/docs/integrations/sources/google-ads.md b/docs/integrations/sources/google-ads.md
index 6b664a5c6a8d..982867781b30 100644
--- a/docs/integrations/sources/google-ads.md
+++ b/docs/integrations/sources/google-ads.md
@@ -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 |