airbyte-source-google-ads 4.1.4rc1__py3-none-any.whl → 4.1.4rc1.dev202512192241__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-source-google-ads
3
- Version: 4.1.4rc1
3
+ Version: 4.1.4rc1.dev202512192241
4
4
  Summary: Source implementation for Google Ads.
5
5
  Home-page: https://airbyte.com
6
6
  License: Elv2
@@ -1,5 +1,5 @@
1
1
  source_google_ads/__init__.py,sha256=Nlo5H6LlaSgg7tx_LyqMIy3MXiAagfk3izZ9o44VvSE,1201
2
- source_google_ads/components.py,sha256=hzd6hgBuE0HvHVO71r3gdHsbM5sApQKpzW_QWKEAv8g,41479
2
+ source_google_ads/components.py,sha256=Hm8LV1KPFcOWewhAdbLbFanebTfXm4eFjd9o-5LzrHo,41585
3
3
  source_google_ads/config_migrations.py,sha256=oBi_qNqBpLS8GNCaIOBo0stNdYuyqVl6lkrhdXRwMX8,4405
4
4
  source_google_ads/google_ads.py,sha256=cxS18tz0fFJjmIhlhFQ3Zvu2K8bhDtmsl1kFeO7nNhk,11595
5
5
  source_google_ads/manifest.yaml,sha256=4LzKMj23yS8Vo8M6tfxv77vIp58pIIEN26x3lz3rm1M,223987
@@ -7,11 +7,11 @@ source_google_ads/models.py,sha256=ZmdS3z_2roaEQgV2Mx1CDm33MztpQ66SfHDzP8XwZog,1
7
7
  source_google_ads/run.py,sha256=ydIyq_vSNV5Z4mJYnsO5GyNDsLDd0qibBsq6wnvuFAo,2002
8
8
  source_google_ads/schemas/customer_client.json,sha256=oThcyUDO1yWpxtWPWdoAFqTXEIweF8N4q6mRI73Q6yU,984
9
9
  source_google_ads/schemas/service_accounts.json,sha256=HVSyzbEoxzB4rntRHOjAh0ZYgbR584ew0W0CdJH7ECU,3485
10
- source_google_ads/source.py,sha256=hz5ep6stMWHNvD73PIF_7bjnee49sY9YHHjaYNAPnOQ,1425
11
- source_google_ads/spec.json,sha256=8hbc7smbaffIkYCkX2BYJLB9kgaH8vYKCg-H0y1FvUs,7810
10
+ source_google_ads/source.py,sha256=f170vAl_xeDtRaO3EUpH4hxF7oS0r4WhkDqM5bEaNl0,1465
11
+ source_google_ads/spec.json,sha256=CJXqN-mGT5Pxc-A5y7rE9eIYJETHFp8oOyd8JfgvHxY,7831
12
12
  source_google_ads/streams.py,sha256=FB-DNJlXhjQADptT-wrv3iGWoliyRuvDuHGeqiN9HsY,13349
13
13
  source_google_ads/utils.py,sha256=-KpgGv2W8WueXvGRC3xbVreDl5-5-vU9OwzC5SZDKVc,21409
14
- airbyte_source_google_ads-4.1.4rc1.dist-info/METADATA,sha256=Hr8_UUBDWZy8aRl6fI4syCOVDKmGVxPlWA18ZRXOvrI,5384
15
- airbyte_source_google_ads-4.1.4rc1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
16
- airbyte_source_google_ads-4.1.4rc1.dist-info/entry_points.txt,sha256=pP4Llir93XGkHFDZfXXxK7qOWo9_U1ssCJToyxEUB4w,63
17
- airbyte_source_google_ads-4.1.4rc1.dist-info/RECORD,,
14
+ airbyte_source_google_ads-4.1.4rc1.dev202512192241.dist-info/METADATA,sha256=xz2SlaXvtbD9Yy8u2wwYFlioNcXvjzXE6KTiKyMqVW0,5400
15
+ airbyte_source_google_ads-4.1.4rc1.dev202512192241.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
16
+ airbyte_source_google_ads-4.1.4rc1.dev202512192241.dist-info/entry_points.txt,sha256=pP4Llir93XGkHFDZfXXxK7qOWo9_U1ssCJToyxEUB4w,63
17
+ airbyte_source_google_ads-4.1.4rc1.dev202512192241.dist-info/RECORD,,
@@ -91,7 +91,8 @@ class CustomerClientFilter(RecordFilter):
91
91
  ) -> Iterable[Mapping[str, Any]]:
92
92
  for record in records:
93
93
  # Filter out records based on customer_ids if provided in the config
94
- if self.config.get("customer_ids") and (record["id"] not in self.config["customer_ids"]):
94
+ # Convert record["id"] to string for comparison since customer_ids are parsed as strings
95
+ if self.config.get("customer_ids") and (str(record["id"]) not in self.config["customer_ids"]):
95
96
  continue
96
97
 
97
98
  # Filter out records based on customer status if provided in the config
@@ -31,7 +31,7 @@ class SourceGoogleAds(YamlDeclarativeSource):
31
31
  if config.get("end_date") == "":
32
32
  config.pop("end_date")
33
33
  if "customer_id" in config:
34
- config["customer_ids"] = config["customer_id"].split(",")
34
+ config["customer_ids"] = [cid.strip() for cid in config["customer_id"].split(",") if cid.strip()]
35
35
  config.pop("customer_id")
36
36
 
37
37
  return config
@@ -59,9 +59,9 @@
59
59
  "title": "Customer ID(s)",
60
60
  "type": "string",
61
61
  "description": "Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our <a href=\"https://docs.airbyte.com/integrations/sources/google-ads#setup-guide\">documentation</a>.",
62
- "pattern": "^[0-9]{10}(,[0-9]{10})*$",
62
+ "pattern": "^\\s*[0-9]{10}\\s*(\\s*,\\s*[0-9]{10}\\s*)*$",
63
63
  "pattern_descriptor": "The customer ID must be 10 digits. Separate multiple customer IDs using commas.",
64
- "examples": ["6783948572,5839201945"],
64
+ "examples": ["6783948572, 5839201945"],
65
65
  "order": 1
66
66
  },
67
67
  "customer_status_filter": {