Skip to content

Commit 2c5a99a

Browse files
bleonardlazebnyi
andauthored
source-linkedin-ads: ensure inline schemas, updated cdk, poetry (where possible) (#36648)
Co-authored-by: Serhii Lazebnyi <[email protected]> Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent 05e3c5e commit 2c5a99a

File tree

11 files changed

+258
-27
lines changed

11 files changed

+258
-27
lines changed

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

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
connectorSubtype: api
1212
connectorType: source
1313
definitionId: 137ece28-5434-455c-8f34-69dc3782f451
14-
dockerImageTag: 2.1.1
14+
dockerImageTag: 2.1.2
1515
dockerRepository: airbyte/source-linkedin-ads
1616
documentationUrl: https://docs.airbyte.com/integrations/sources/linkedin-ads
1717
githubIssueLabel: source-linkedin-ads
@@ -49,7 +49,10 @@ data:
4949
- "ad_member_region_analytics"
5050
- "ad_member_company_analytics"
5151
2.0.0:
52-
message: This upgrade changes primary key for *-analytics streams from pivotValues[array of strings] to string_of_pivot_values[string] so that it is compatible with more destination types.
52+
message:
53+
This upgrade changes primary key for *-analytics streams from pivotValues[array
54+
of strings] to string_of_pivot_values[string] so that it is compatible with
55+
more destination types.
5356
upgradeDeadline: "2024-05-14"
5457
scopedImpact:
5558
- scopeType: stream

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

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

airbyte-integrations/connectors/source-linkedin-ads/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "2.1.1"
6+
version = "2.1.2"
77
name = "source-linkedin-ads"
88
description = "Source implementation for Linkedin Ads."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_linkedin_ads"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.80.0"
2121

2222
[tool.poetry.scripts]
2323
source-linkedin-ads = "source_linkedin_ads.run:run"

airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/schemas/account_users.json

+5
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
"additionalProperties": true,
66
"properties": {
77
"account": {
8+
"description": "The account associated with the user",
89
"type": ["null", "string"]
910
},
1011
"created": {
12+
"description": "The date and time when the user account was created",
1113
"type": ["null", "string"],
1214
"format": "date-time"
1315
},
1416
"lastModified": {
17+
"description": "The date and time when the user account was last modified",
1518
"type": ["null", "string"],
1619
"format": "date-time"
1720
},
1821
"role": {
22+
"description": "The role assigned to the user in the account",
1923
"type": ["null", "string"]
2024
},
2125
"user": {
26+
"description": "The user details including name, email, etc.",
2227
"type": ["null", "string"]
2328
}
2429
}

airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/schemas/accounts.json

+17
Original file line numberDiff line numberDiff line change
@@ -5,61 +5,78 @@
55
"additionalProperties": true,
66
"properties": {
77
"test": {
8+
"description": "Flag indicating if the account is in a test mode.",
89
"type": ["null", "boolean"]
910
},
1011
"notifiedOnCreativeRejection": {
12+
"description": "Flag for notifications on creative rejection.",
1113
"type": ["null", "boolean"]
1214
},
1315
"notifiedOnNewFeaturesEnabled": {
16+
"description": "Flag for notifications on new features being enabled.",
1417
"type": ["null", "boolean"]
1518
},
1619
"notifiedOnEndOfCampaign": {
20+
"description": "Flag for notifications on the end of campaign.",
1721
"type": ["null", "boolean"]
1822
},
1923
"servingStatuses": {
24+
"description": "The serving statuses associated with the account.",
2025
"type": ["null", "array"],
2126
"items": {
2227
"type": ["null", "string"]
2328
}
2429
},
2530
"notifiedOnCampaignOptimization": {
31+
"description": "Flag for notifications on campaign optimization.",
2632
"type": ["null", "boolean"]
2733
},
2834
"type": {
35+
"description": "The type or category of the account.",
2936
"type": ["null", "string"]
3037
},
3138
"version": {
39+
"description": "The version information related to the account.",
3240
"type": ["null", "object"],
3341
"properties": {
3442
"versionTag": {
43+
"description": "The version tag associated with the account.",
3544
"type": ["null", "string"]
3645
}
3746
}
3847
},
3948
"reference": {
49+
"description": "A reference identifier for the account.",
4050
"type": ["null", "string"]
4151
},
4252
"notifiedOnCreativeApproval": {
53+
"description": "Flag for notifications on creative approval.",
4354
"type": ["null", "boolean"]
4455
},
4556
"created": {
57+
"description": "The timestamp indicating when the account was created.",
4658
"type": ["null", "string"],
4759
"format": "date-time"
4860
},
4961
"lastModified": {
62+
"description": "The timestamp of the last modification made to the account.",
5063
"type": ["null", "string"],
5164
"format": "date-time"
5265
},
5366
"name": {
67+
"description": "The name of the account.",
5468
"type": ["null", "string"]
5569
},
5670
"currency": {
71+
"description": "The currency used for financial transactions in the account.",
5772
"type": ["null", "string"]
5873
},
5974
"id": {
75+
"description": "The unique identifier for the account.",
6076
"type": ["null", "integer"]
6177
},
6278
"status": {
79+
"description": "The status of the account.",
6380
"type": ["null", "string"]
6481
}
6582
}

0 commit comments

Comments
 (0)