airbyte-agent-amazon-ads 0.1.3__tar.gz → 0.1.4__tar.gz

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.
Files changed (61) hide show
  1. airbyte_agent_amazon_ads-0.1.4/AUTH.md +103 -0
  2. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/CHANGELOG.md +5 -0
  3. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/PKG-INFO +3 -3
  4. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/README.md +2 -2
  5. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/auth_strategies.py +1 -3
  6. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/local_executor.py +1 -3
  7. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/pyproject.toml +1 -1
  8. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/.gitignore +0 -0
  9. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/REFERENCE.md +0 -0
  10. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/__init__.py +0 -0
  11. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/__init__.py +0 -0
  12. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/__init__.py +0 -0
  13. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/auth_template.py +0 -0
  14. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
  15. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/cloud_utils/client.py +0 -0
  16. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/connector_model_loader.py +0 -0
  17. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/constants.py +0 -0
  18. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/exceptions.py +0 -0
  19. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/__init__.py +0 -0
  20. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
  21. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/models.py +0 -0
  22. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/extensions.py +0 -0
  23. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http/__init__.py +0 -0
  24. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
  25. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
  26. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http/config.py +0 -0
  27. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http/exceptions.py +0 -0
  28. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http/protocols.py +0 -0
  29. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http/response.py +0 -0
  30. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/http_client.py +0 -0
  31. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/introspection.py +0 -0
  32. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/__init__.py +0 -0
  33. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/logger.py +0 -0
  34. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/types.py +0 -0
  35. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/__init__.py +0 -0
  36. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/config.py +0 -0
  37. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/models.py +0 -0
  38. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/redactor.py +0 -0
  39. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/session.py +0 -0
  40. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/__init__.py +0 -0
  41. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/instrumentation.py +0 -0
  42. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/metrics.py +0 -0
  43. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/__init__.py +0 -0
  44. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/base.py +0 -0
  45. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/components.py +0 -0
  46. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/connector.py +0 -0
  47. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/extensions.py +0 -0
  48. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/operations.py +0 -0
  49. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/security.py +0 -0
  50. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/secrets.py +0 -0
  51. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/__init__.py +0 -0
  52. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/config.py +0 -0
  53. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/events.py +0 -0
  54. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/tracker.py +0 -0
  55. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/types.py +0 -0
  56. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/utils.py +0 -0
  57. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/_vendored/connector_sdk/validation.py +0 -0
  58. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/connector.py +0 -0
  59. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/connector_model.py +0 -0
  60. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/models.py +0 -0
  61. {airbyte_agent_amazon_ads-0.1.3 → airbyte_agent_amazon_ads-0.1.4}/airbyte_agent_amazon_ads/types.py +0 -0
@@ -0,0 +1,103 @@
1
+ # Amazon-Ads authentication and configuration
2
+
3
+ This page documents the authentication and configuration options for the Amazon-Ads agent connector.
4
+
5
+ ## Authentication
6
+
7
+ ### Open source execution
8
+
9
+ In open source mode, you provide API credentials directly to the connector.
10
+
11
+ #### OAuth
12
+
13
+ | Field Name | Type | Required | Description |
14
+ |------------|------|----------|-------------|
15
+ | `client_id` | `str` | Yes | The client ID of your Amazon Ads API application |
16
+ | `client_secret` | `str` | Yes | The client secret of your Amazon Ads API application |
17
+ | `refresh_token` | `str` | Yes | The refresh token obtained from the OAuth authorization flow |
18
+
19
+ ```python
20
+ from airbyte_agent_amazon-ads import AmazonAdsConnector
21
+ from airbyte_agent_amazon-ads.models import AmazonAdsAuthConfig
22
+
23
+ connector = AmazonAdsConnector(
24
+ auth_config=AmazonAdsAuthConfig(
25
+ client_id="<The client ID of your Amazon Ads API application>",
26
+ client_secret="<The client secret of your Amazon Ads API application>",
27
+ refresh_token="<The refresh token obtained from the OAuth authorization flow>"
28
+ )
29
+ )
30
+ ```
31
+
32
+ #### Token
33
+ This authentication method is not available for this connector.
34
+
35
+ ### Hosted execution
36
+
37
+ In hosted mode, you first create a connector via the Airbyte API (providing your OAuth or Token credentials), then execute operations using either the Python SDK or API. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
38
+
39
+ #### OAuth
40
+
41
+ Create a connector with OAuth credentials:
42
+
43
+ ```bash
44
+ curl -X POST 'https://api.airbyte.ai/v1/integrations/sources' \
45
+ -H 'Authorization: Bearer <SCOPED_TOKEN>' \
46
+ -H 'Content-Type: application/json' \
47
+ -d '{
48
+ "workspace_id": "<WORKSPACE_ID>",
49
+ "source_template_id": "<SOURCE_TEMPLATE_ID>",
50
+ "name": "My Amazon-Ads Connector",
51
+ "credentials": {
52
+ "client_id": "<The client ID of your Amazon Ads API application>",
53
+ "client_secret": "<The client secret of your Amazon Ads API application>",
54
+ "refresh_token": "<The refresh token obtained from the OAuth authorization flow>"
55
+ }
56
+ }'
57
+ ```
58
+
59
+ #### Token
60
+ This authentication method is not available for this connector.
61
+
62
+ #### Execution
63
+
64
+ After creating the connector, execute operations using either the Python SDK or API.
65
+
66
+ **Python SDK**
67
+
68
+ ```python
69
+ from airbyte_agent_amazon-ads import AmazonAdsConnector
70
+
71
+ connector = AmazonAdsConnector(
72
+ external_user_id="<your-scoped-token>",
73
+ airbyte_client_id="<your-client-id>",
74
+ airbyte_client_secret="<your-client-secret>"
75
+ )
76
+
77
+ @agent.tool_plain # assumes you're using Pydantic AI
78
+ @AmazonAdsConnector.describe
79
+ async def amazon-ads_execute(entity: str, action: str, params: dict | None = None):
80
+ return await connector.execute(entity, action, params or {})
81
+ ```
82
+
83
+ **API**
84
+
85
+ ```bash
86
+ curl -X POST 'https://api.airbyte.ai/api/v1/connectors/sources/<connector_id>/execute' \
87
+ -H 'Authorization: Bearer <SCOPED_TOKEN>' \
88
+ -H 'Content-Type: application/json' \
89
+ -d '{"entity": "<entity>", "action": "<action>", "params": {}}'
90
+ ```
91
+
92
+
93
+ ## Configuration
94
+
95
+ The Amazon-Ads connector requires the following configuration variables. These variables are used to construct the base API URL. Pass them via the `config` parameter when initializing the connector.
96
+
97
+ | Variable | Type | Required | Default | Description |
98
+ |----------|------|----------|---------|-------------|
99
+ | `region_url` | `string` | Yes | https://advertising-api.amazon.com | The Amazon Ads API endpoint URL based on region:
100
+ - NA (North America): https://advertising-api.amazon.com
101
+ - EU (Europe): https://advertising-api-eu.amazon.com
102
+ - FE (Far East): https://advertising-api-fe.amazon.com
103
+ |
@@ -1,5 +1,10 @@
1
1
  # Amazon Ads changelog
2
2
 
3
+ ## [0.1.4] - 2026-01-22
4
+ - Updated connector definition (YAML version 1.0.1)
5
+ - Source commit: 49e6dfe9
6
+ - SDK version: 0.1.0
7
+
3
8
  ## [0.1.3] - 2026-01-22
4
9
  - Updated connector definition (YAML version 1.0.1)
5
10
  - Source commit: b27328e2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-amazon-ads
3
- Version: 0.1.3
3
+ Version: 0.1.4
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/
@@ -131,6 +131,6 @@ For the service's official API docs, see the [Amazon-Ads API reference](https://
131
131
 
132
132
  ## Version information
133
133
 
134
- - **Package version:** 0.1.3
134
+ - **Package version:** 0.1.4
135
135
  - **Connector version:** 1.0.1
136
- - **Generated with Connector SDK commit SHA:** b27328e2162813ea6315b9f890a6784b0fb9caba
136
+ - **Generated with Connector SDK commit SHA:** 49e6dfe93fc406c8d2ed525372608fa2766ebece
@@ -98,6 +98,6 @@ For the service's official API docs, see the [Amazon-Ads API reference](https://
98
98
 
99
99
  ## Version information
100
100
 
101
- - **Package version:** 0.1.3
101
+ - **Package version:** 0.1.4
102
102
  - **Connector version:** 1.0.1
103
- - **Generated with Connector SDK commit SHA:** b27328e2162813ea6315b9f890a6784b0fb9caba
103
+ - **Generated with Connector SDK commit SHA:** 49e6dfe93fc406c8d2ed525372608fa2766ebece
@@ -634,9 +634,7 @@ class OAuth2AuthStrategy(AuthStrategy):
634
634
  Headers dict with additional headers added
635
635
  """
636
636
  # Build template context with extracted secret values
637
- template_context = {
638
- key: extract_secret_value(value) for key, value in secrets.items()
639
- }
637
+ template_context = {key: extract_secret_value(value) for key, value in secrets.items()}
640
638
 
641
639
  for header_name, value_template in additional_headers.items():
642
640
  # Use Jinja2 templating for variable substitution
@@ -694,9 +694,7 @@ class LocalExecutor:
694
694
  """
695
695
  return {key: value for key, value in params.items() if key in allowed_fields and value is not None}
696
696
 
697
- def _extract_header_params(
698
- self, endpoint: EndpointDefinition, params: dict[str, Any], body: dict[str, Any] | None = None
699
- ) -> dict[str, str]:
697
+ def _extract_header_params(self, endpoint: EndpointDefinition, params: dict[str, Any], body: dict[str, Any] | None = None) -> dict[str, str]:
700
698
  """Extract header parameters from params and schema defaults.
701
699
 
702
700
  Also adds Content-Type header when there's a request body (unless already specified
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "airbyte-agent-amazon-ads"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  description = "Airbyte Amazon-Ads Connector for AI platforms"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"