Source Google Ads: Convert to airbyte-lib (#34007)
This commit is contained in:
@@ -2,14 +2,7 @@
|
||||
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
|
||||
#
|
||||
|
||||
|
||||
import sys
|
||||
|
||||
from airbyte_cdk.entrypoint import launch
|
||||
from source_google_ads import SourceGoogleAds
|
||||
from source_google_ads.config_migrations import MigrateCustomQuery
|
||||
from source_google_ads.run import run
|
||||
|
||||
if __name__ == "__main__":
|
||||
source = SourceGoogleAds()
|
||||
MigrateCustomQuery.migrate(sys.argv[1:], source)
|
||||
launch(source, sys.argv[1:])
|
||||
run()
|
||||
|
||||
@@ -11,7 +11,7 @@ data:
|
||||
connectorSubtype: api
|
||||
connectorType: source
|
||||
definitionId: 253487c0-2246-43ba-a21f-5116b20a2c50
|
||||
dockerImageTag: 3.3.0
|
||||
dockerImageTag: 3.3.1
|
||||
dockerRepository: airbyte/source-google-ads
|
||||
documentationUrl: https://docs.airbyte.com/integrations/sources/google-ads
|
||||
githubIssueLabel: source-google-ads
|
||||
|
||||
@@ -14,6 +14,11 @@ MAIN_REQUIREMENTS = ["airbyte-cdk>=0.51.3", "google-ads==22.1.0", "protobuf", "p
|
||||
TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock", "freezegun", "requests-mock"]
|
||||
|
||||
setup(
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"source-google-ads=source_google_ads.run:run",
|
||||
],
|
||||
},
|
||||
name="source_google_ads",
|
||||
description="Source implementation for Google Ads.",
|
||||
author="Airbyte",
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
|
||||
#
|
||||
|
||||
|
||||
import sys
|
||||
|
||||
from airbyte_cdk.entrypoint import launch
|
||||
from source_google_ads import SourceGoogleAds
|
||||
from source_google_ads.config_migrations import MigrateCustomQuery
|
||||
|
||||
|
||||
def run():
|
||||
source = SourceGoogleAds()
|
||||
MigrateCustomQuery.migrate(sys.argv[1:], source)
|
||||
launch(source, sys.argv[1:])
|
||||
@@ -280,6 +280,7 @@ Due to a limitation in the Google Ads API which does not allow getting performan
|
||||
|
||||
| Version | Date | Pull Request | Subject |
|
||||
|:---------|:-----------|:---------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `3.3.1` | 2024-01-16 | [34007](https://github.com/airbytehq/airbyte/pull/34007) | prepare for airbyte-lib |
|
||||
| `3.3.0` | 2024-01-12 | [34212](https://github.com/airbytehq/airbyte/pull/34212) | Remove metric from query in Ad Group stream for non-manager account |
|
||||
| `3.2.1` | 2024-01-12 | [34200](https://github.com/airbytehq/airbyte/pull/34200) | Disable raising error for not enabled accounts |
|
||||
| `3.2.0` | 2024-01-09 | [33707](https://github.com/airbytehq/airbyte/pull/33707) | Add possibility to sync all connected accounts |
|
||||
|
||||
Reference in New Issue
Block a user