Skip to content

Commit 9680d9e

Browse files
committed
update interpolation
1 parent e7f62d8 commit 9680d9e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

airbyte-integrations/connectors/source-amazon-ads/poetry.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/manifest.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2194,7 +2194,7 @@ definitions:
21942194
$ref: "#/definitions/report_creation_error_handler"
21952195
polling_requester:
21962196
type: HttpRequester
2197-
path: /reporting/reports/{{stream_slice['create_job_response'].json()['reportId']}}
2197+
path: /reporting/reports/{{ creation_response['profileId'] }}
21982198
url_base: >-
21992199
{%- set URL_MAPPING = {
22002200
"NA": "https://advertising-api.amazon.com/",
@@ -2205,14 +2205,14 @@ definitions:
22052205
authenticator: "#/definitions/oauth_authenticator"
22062206
http_method: GET
22072207
request_headers:
2208-
Amazon-Advertising-API-Scope: "{{ stream_slice['create_job_response'].request.headers['Amazon-Advertising-API-Scope'] }}"
2208+
Amazon-Advertising-API-Scope: "{{ creation_response.request.headers['Amazon-Advertising-API-Scope'] }}"
22092209
Amazon-Advertising-API-ClientId: '{{ config["client_id"] }}'
22102210
error_handler:
22112211
$ref: "#/definitions/report_polling_error_handler"
22122212

22132213
download_requester:
22142214
type: HttpRequester
2215-
path: "{{stream_slice.extra_fields['url']}}"
2215+
path: "{{ download_target }}"
22162216
url_base: ""
22172217
http_method: GET
22182218
authenticator:

0 commit comments

Comments
 (0)