Skip to content

Commit

Permalink
Updated some stream primary keys to be set using the streams schema c…
Browse files Browse the repository at this point in the history
…olumn names, this lets the tap be used with more loaders
  • Loading branch information
DanielPDWalker committed Sep 3, 2024
1 parent f84a319 commit 3e2aeb7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tap_googleads/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def gaql(self):

records_jsonpath = "$.results[*]"
name = "stream_customer_hierarchy"
primary_keys = ["customer_client__id"]
primary_keys = ["customerClient__id"]
replication_key = None
parent_stream_type = AccessibleCustomers
schema = th.PropertiesList(
Expand Down Expand Up @@ -188,14 +188,14 @@ def gaql(self):
records_jsonpath = "$.results[*]"
name = "stream_click_view_report"
primary_keys = [
"click_view__gclid",
"click_view__keyword",
"click_view__keyword_info__match_type",
"clickView__gclid",
"clickView__keyword",
"clickView__keywordInfo__matchType",
"customer__id",
"ad_group__id",
"adGroup__id",
"campaign__id",
"segments__device",
"segments__ad_network_type",
"segments__adNetworkType",
"segments__slot",
"date"
]
Expand Down

0 comments on commit 3e2aeb7

Please sign in to comment.