Skip to content

Commit

Permalink
🐛 Source Google Ads: Fix wrong schema for `ad_group_criterion.topic.p…
Browse files Browse the repository at this point in the history
…ath` and shifted `Campaigns` stream to non-managers stream list (#15084)

* Fix wrong schema for ad_group_criterion.topic.path

* Shifted campaingns stream to non-manager streams

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
lazebnyi and octavia-squidington-iii authored Jul 28, 2022
1 parent 22c107a commit 39029f8
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
- name: Google Ads
sourceDefinitionId: 253487c0-2246-43ba-a21f-5116b20a2c50
dockerRepository: airbyte/source-google-ads
dockerImageTag: 0.1.43
dockerImageTag: 0.1.44
documentationUrl: https://docs.airbyte.io/integrations/sources/google-ads
icon: google-adwords.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2798,7 +2798,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-google-ads:0.1.43"
- dockerImage: "airbyte/source-google-ads:0.1.44"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/google-ads"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ COPY main.py ./

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

LABEL io.airbyte.version=0.1.43
LABEL io.airbyte.version=0.1.44
LABEL io.airbyte.name=airbyte/source-google-ads
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@
"type": ["null", "string"]
},
"ad_group_criterion.topic.path": {
"type": ["null", "string"]
"type": ["null", "array"],
"items": {
"type": "string"
}
},
"metrics.cross_device_conversions": {
"type": ["null", "number"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
AdGroups(**incremental_config),
AdGroupLabels(google_api, customers=customers),
Accounts(**incremental_config),
Campaigns(**incremental_config),
CampaignLabels(google_api, customers=customers),
ClickView(**incremental_config),
]
# Metrics streams cannot be requested for a manager account.
if non_manager_accounts:
streams.extend(
[
Campaigns(**non_manager_incremental_config),
UserLocationReport(**non_manager_incremental_config),
AccountPerformanceReport(**non_manager_incremental_config),
DisplayTopicsPerformanceReport(**non_manager_incremental_config),
Expand Down
Loading

0 comments on commit 39029f8

Please sign in to comment.