airbyte-agent-amazon-ads 0.1.7__py3-none-any.whl → 0.1.8__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.
@@ -56,7 +56,7 @@ class AmazonAdsConnector:
56
56
  """
57
57
 
58
58
  connector_name = "amazon-ads"
59
- connector_version = "1.0.2"
59
+ connector_version = "1.0.3"
60
60
  vendored_sdk_version = "0.1.0" # Version of vendored connector-sdk
61
61
 
62
62
  # Map of (entity, action) -> needs_envelope for envelope wrapping decision
@@ -87,7 +87,7 @@ class AmazonAdsConnector:
87
87
  airbyte_client_id: str | None = None,
88
88
  airbyte_client_secret: str | None = None,
89
89
  on_token_refresh: Any | None = None,
90
- region_url: str | None = None ):
90
+ region: str | None = None ):
91
91
  """
92
92
  Initialize a new amazon-ads connector instance.
93
93
 
@@ -102,7 +102,7 @@ class AmazonAdsConnector:
102
102
  airbyte_client_secret: Airbyte OAuth client secret (required for hosted mode)
103
103
  on_token_refresh: Optional callback for OAuth2 token refresh persistence.
104
104
  Called with new_tokens dict when tokens are refreshed. Can be sync or async.
105
- Example: lambda tokens: save_to_database(tokens) region_url: The Amazon Ads API endpoint URL based on region:
105
+ Example: lambda tokens: save_to_database(tokens) region: The Amazon Ads API endpoint URL based on region:
106
106
  - NA (North America): https://advertising-api.amazon.com
107
107
  - EU (Europe): https://advertising-api-eu.amazon.com
108
108
  - FE (Far East): https://advertising-api-fe.amazon.com
@@ -149,8 +149,8 @@ class AmazonAdsConnector:
149
149
 
150
150
  # Build config_values dict from server variables
151
151
  config_values: dict[str, str] = {}
152
- if region_url:
153
- config_values["region_url"] = region_url
152
+ if region:
153
+ config_values["region"] = region
154
154
 
155
155
  self._executor = LocalExecutor(
156
156
  model=AmazonAdsConnectorModel,
@@ -161,8 +161,8 @@ class AmazonAdsConnector:
161
161
 
162
162
  # Update base_url with server variables if provided
163
163
  base_url = self._executor.http_client.base_url
164
- if region_url:
165
- base_url = base_url.replace("{region_url}", region_url)
164
+ if region:
165
+ base_url = base_url.replace("{region}", region)
166
166
  self._executor.http_client.base_url = base_url
167
167
 
168
168
  # Initialize entity query objects
@@ -26,8 +26,8 @@ from uuid import (
26
26
  AmazonAdsConnectorModel: ConnectorModel = ConnectorModel(
27
27
  id=UUID('c6b0a29e-1da9-4512-9002-7bfd0cba2246'),
28
28
  name='amazon-ads',
29
- version='1.0.2',
30
- base_url='{region_url}',
29
+ version='1.0.3',
30
+ base_url='{region}',
31
31
  auth=AuthConfig(
32
32
  type=AuthType.OAUTH2,
33
33
  config={
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-amazon-ads
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Airbyte Amazon-Ads Connector for AI platforms
5
5
  Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
6
6
  Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
@@ -132,6 +132,6 @@ For the service's official API docs, see the [Amazon-Ads API reference](https://
132
132
 
133
133
  ## Version information
134
134
 
135
- - **Package version:** 0.1.7
136
- - **Connector version:** 1.0.2
137
- - **Generated with Connector SDK commit SHA:** 32c5ef4692be2243558faa20132b3ece7d573aed
135
+ - **Package version:** 0.1.8
136
+ - **Connector version:** 1.0.3
137
+ - **Generated with Connector SDK commit SHA:** 6b458f8da225d916000a168b778c0a70c3b636d6
@@ -1,6 +1,6 @@
1
1
  airbyte_agent_amazon_ads/__init__.py,sha256=f883U_4eSRjMLgjqpi5rGcKZ0U44ME_Z0IY-XZhwlPc,1896
2
- airbyte_agent_amazon_ads/connector.py,sha256=3s-jCgSD-_z4JoxItyG2RzxFO6CHMnM4V6s_SpyRhYs,21656
3
- airbyte_agent_amazon_ads/connector_model.py,sha256=hHTCq1Cg8fP3isO2b4_026hL7EnGxVx0vQNon6xVajk,61939
2
+ airbyte_agent_amazon_ads/connector.py,sha256=-i_Vyww-LQFNZUH61685CBQZ4GhL7jteA--8szmVNqo,21624
3
+ airbyte_agent_amazon_ads/connector_model.py,sha256=pRtogJaFD16w_PHJWIEw7QpJo_wOEsMgHvLu2oqNGAU,61935
4
4
  airbyte_agent_amazon_ads/models.py,sha256=TOHCY0p3cE0rWVv3YfYvyvL-lmdYBcoGRTXtFNNBztc,9182
5
5
  airbyte_agent_amazon_ads/types.py,sha256=EW-jvOmXyJQqe2ESiDCs7nCIIsFreDCIZBlA6aplxpA,6728
6
6
  airbyte_agent_amazon_ads/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
@@ -52,6 +52,6 @@ airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/__init__.py,sha256=Ra
52
52
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
53
53
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
54
54
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
55
- airbyte_agent_amazon_ads-0.1.7.dist-info/METADATA,sha256=ZPorQiA_AYniOFTK7wJ-Be1bZXDVgN3lugfB5hAbS8Q,5153
56
- airbyte_agent_amazon_ads-0.1.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_amazon_ads-0.1.7.dist-info/RECORD,,
55
+ airbyte_agent_amazon_ads-0.1.8.dist-info/METADATA,sha256=WR49cTofqvc1H-wmagD3MZ7b9h3NOYkLPcogKFhGMpY,5153
56
+ airbyte_agent_amazon_ads-0.1.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_amazon_ads-0.1.8.dist-info/RECORD,,