airbyte-agent-amazon-ads 0.1.1__py3-none-any.whl → 0.1.3__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.4
2
2
  Name: airbyte-agent-amazon-ads
3
- Version: 0.1.1
3
+ Version: 0.1.3
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/
@@ -67,19 +67,50 @@ uv pip install airbyte-agent-amazon-ads
67
67
 
68
68
  ## Usage
69
69
 
70
+ Connectors can run in open source or hosted mode.
71
+
72
+ ### Open source
73
+
74
+ In open source mode, you provide API credentials directly to the connector.
75
+
70
76
  ```python
71
- from airbyte_agent_amazon_ads import AmazonAdsConnector, AmazonAdsAuthConfig
77
+ from airbyte_agent_amazon-ads import AmazonAdsConnector
78
+ from airbyte_agent_amazon_ads.models import AmazonAdsAuthConfig
72
79
 
73
80
  connector = AmazonAdsConnector(
74
- auth_config=AmazonAdsAuthConfig(
75
- client_id="...",
76
- client_secret="...",
77
- refresh_token="..."
78
- )
81
+ auth_config=AmazonAdsAuthConfig(
82
+ client_id="<The client ID of your Amazon Ads API application>",
83
+ client_secret="<The client secret of your Amazon Ads API application>",
84
+ refresh_token="<The refresh token obtained from the OAuth authorization flow>"
85
+ )
79
86
  )
80
- result = await connector.profiles.list()
87
+
88
+ @agent.tool_plain # assumes you're using Pydantic AI
89
+ @AmazonAdsConnector.describe
90
+ async def amazon-ads_execute(entity: str, action: str, params: dict | None = None):
91
+ return await connector.execute(entity, action, params or {})
81
92
  ```
82
93
 
94
+ ### Hosted
95
+
96
+ In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
97
+
98
+ This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
99
+
100
+ ```python
101
+ from airbyte_agent_amazon-ads import AmazonAdsConnector
102
+
103
+ connector = AmazonAdsConnector(
104
+ external_user_id="<your-scoped-token>",
105
+ airbyte_client_id="<your-client-id>",
106
+ airbyte_client_secret="<your-client-secret>"
107
+ )
108
+
109
+ @agent.tool_plain # assumes you're using Pydantic AI
110
+ @AmazonAdsConnector.describe
111
+ async def amazon-ads_execute(entity: str, action: str, params: dict | None = None):
112
+ return await connector.execute(entity, action, params or {})
113
+ ```
83
114
 
84
115
  ## Full documentation
85
116
 
@@ -92,12 +123,14 @@ This connector supports the following entities and actions.
92
123
  | Sponsored Product Campaigns | [List](./REFERENCE.md#sponsored-product-campaigns-list), [Get](./REFERENCE.md#sponsored-product-campaigns-get) |
93
124
 
94
125
 
126
+ For all authentication options, see the connector's [authentication documentation](AUTH.md).
127
+
95
128
  For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
96
129
 
97
130
  For the service's official API docs, see the [Amazon-Ads API reference](https://advertising.amazon.com/API/docs/en-us).
98
131
 
99
132
  ## Version information
100
133
 
101
- - **Package version:** 0.1.1
134
+ - **Package version:** 0.1.3
102
135
  - **Connector version:** 1.0.1
103
- - **Generated with Connector SDK commit SHA:** c713ec4833c2b52dc89926ec68caa343423884cd
136
+ - **Generated with Connector SDK commit SHA:** b27328e2162813ea6315b9f890a6784b0fb9caba
@@ -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.1.dist-info/METADATA,sha256=SPpbByLuPB_FNeSM-Teps1O786Bn-IYE8AjdKYxqAv0,3623
56
- airbyte_agent_amazon_ads-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_amazon_ads-0.1.1.dist-info/RECORD,,
55
+ airbyte_agent_amazon_ads-0.1.3.dist-info/METADATA,sha256=EE39_Fy1TGiAokOCBmCcsNxyl9v6nwCsiLL_8kSm6XU,5152
56
+ airbyte_agent_amazon_ads-0.1.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_amazon_ads-0.1.3.dist-info/RECORD,,