Skip to content

Commit e23ee94

Browse files
authored
feat(source-linkedin-ads): add oauth_connector_input_specification with granular scopes (#75583)
1 parent 6385ec3 commit e23ee94

3 files changed

Lines changed: 28 additions & 2 deletions

File tree

airbyte-integrations/connectors/source-linkedin-ads/manifest.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,6 +1832,31 @@ spec:
18321832
- auth_method
18331833
predicate_value: oAuth2.0
18341834
oauth_config_specification:
1835+
oauth_connector_input_specification:
1836+
scopes:
1837+
- scope: "r_marketing_leadgen_automation"
1838+
- scope: "r_ads_reporting"
1839+
- scope: "r_liteprofile"
1840+
- scope: "r_organization_social"
1841+
- scope: "r_ads"
1842+
- scope: "r_emailaddress"
1843+
- scope: "r_basicprofile"
1844+
- scope: "r_events"
1845+
- scope: "r_organization_admin"
1846+
- scope: "r_ads_leadgen_automation"
1847+
- scope: "r_1st_connections_size"
1848+
consent_url: "https://www.linkedin.com/oauth/v2/authorization?{{client_id_param}}&{{redirect_uri_param}}&response_type=code&{{scopes_param}}&{{state_param}}"
1849+
access_token_url: "https://www.linkedin.com/oauth/v2/accessToken"
1850+
access_token_headers:
1851+
Content-Type: "application/x-www-form-urlencoded"
1852+
access_token_params:
1853+
grant_type: "authorization_code"
1854+
code: "{{ auth_code_value }}"
1855+
client_id: "{{ client_id_value }}"
1856+
client_secret: "{{ client_secret_value }}"
1857+
redirect_uri: "{{ redirect_uri_value }}"
1858+
extract_output:
1859+
- refresh_token
18351860
complete_oauth_output_specification:
18361861
type: object
18371862
properties:

airbyte-integrations/connectors/source-linkedin-ads/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ data:
77
- linkedin.com
88
- api.linkedin.com
99
connectorBuildOptions:
10-
baseImage: docker.io/airbyte/source-declarative-manifest:7.9.2@sha256:94ddf0cfd5acf1179e7830e9b5da7affc7f697c3a1581a55895b16384b39cc8a
10+
baseImage: docker.io/airbyte/source-declarative-manifest:7.15.0@sha256:eecde84a1c8efced5b35f04900ed983eb306028d262cdb0673f26526aaabd7fc
1111
connectorSubtype: api
1212
connectorType: source
1313
definitionId: 137ece28-5434-455c-8f34-69dc3782f451
14-
dockerImageTag: 5.6.5
14+
dockerImageTag: 5.6.6
1515
dockerRepository: airbyte/source-linkedin-ads
1616
documentationUrl: https://docs.airbyte.com/integrations/sources/linkedin-ads
1717
externalDocumentationUrls:

docs/integrations/sources/linkedin-ads.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ No workaround has been identified to manage this issue as of 2025, February.
212212

213213
| Version | Date | Pull Request | Subject |
214214
|:-----------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
215+
| 5.6.6 | 2026-04-01 | [75583](https://github.com/airbytehq/airbyte/pull/75583) | Add `oauth_connector_input_specification` with granular scopes |
215216
| 5.6.5 | 2026-03-30 | [75597](https://github.com/airbytehq/airbyte/pull/75597) | Map HTTP 429 responses to RATE_LIMITED instead of RETRY for proper indefinite backoff on rate-limited requests |
216217
| 5.6.4 | 2026-02-10 | [72831](https://github.com/airbytehq/airbyte/pull/72831) | Upgrade LinkedIn API version from 202502 to 202601 |
217218
| 5.6.3 | 2026-02-10 | [72768](https://github.com/airbytehq/airbyte/pull/72768) | Update dependencies |

0 commit comments

Comments
 (0)