Skip to content

Commit 85779fc

Browse files
source-facebook-marketing: ensure inline schemas, updated cdk, poetry (where possible) (#36634)
Co-authored-by: Christo Grabowski <[email protected]>
1 parent b85d0d1 commit 85779fc

17 files changed

+736
-59
lines changed

airbyte-integrations/connectors/source-facebook-marketing/metadata.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ data:
1010
connectorSubtype: api
1111
connectorType: source
1212
definitionId: e7778cfc-e97c-4458-9ecb-b4f2bba8946c
13-
dockerImageTag: 2.1.5
13+
dockerImageTag: 2.1.7
1414
dockerRepository: airbyte/source-facebook-marketing
1515
documentationUrl: https://docs.airbyte.com/integrations/sources/facebook-marketing
1616
githubIssueLabel: source-facebook-marketing
@@ -31,7 +31,12 @@ data:
3131
releases:
3232
breakingChanges:
3333
2.0.0:
34-
message: "All Ads-Insights-* streams now have updated schemas. Users will need to retest source configuration, refresh the source schema and reset affected streams after upgrading. Please pay attention that data older than 37 months will become unavailable due to FaceBook limitations. For more information [visit](https://docs.airbyte.com/integrations/sources/facebook-marketing-migrations)"
34+
message:
35+
"All Ads-Insights-* streams now have updated schemas. Users will
36+
need to retest source configuration, refresh the source schema and reset
37+
affected streams after upgrading. Please pay attention that data older than
38+
37 months will become unavailable due to FaceBook limitations. For more
39+
information [visit](https://docs.airbyte.com/integrations/sources/facebook-marketing-migrations)"
3540
upgradeDeadline: "2024-03-17"
3641
scopedImpact:
3742
- scopeType: stream

airbyte-integrations/connectors/source-facebook-marketing/poetry.lock

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

airbyte-integrations/connectors/source-facebook-marketing/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.5"
6+
version = "2.1.7"
77
name = "source-facebook-marketing"
88
description = "Source implementation for Facebook Marketing."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_facebook_marketing"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.81.6"
2121
facebook-business = "19.0.0"
2222
cached-property = "==1.5.2"
2323

airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/schemas/activities.json

+13
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,56 @@
11
{
22
"properties": {
33
"account_id": {
4+
"description": "The unique identifier for the account associated with the activity.",
45
"type": ["null", "string"]
56
},
67
"actor_id": {
8+
"description": "The unique identifier for the actor (user/page) who performed the activity.",
79
"type": ["null", "string"]
810
},
911
"actor_name": {
12+
"description": "The name of the actor (user/page) who performed the activity.",
1013
"type": ["null", "string"]
1114
},
1215
"application_id": {
16+
"description": "The unique identifier for the application involved in the activity.",
1317
"type": ["null", "string"]
1418
},
1519
"application_name": {
20+
"description": "The name of the application involved in the activity.",
1621
"type": ["null", "string"]
1722
},
1823
"date_time_in_timezone": {
24+
"description": "The date and time of the activity adjusted to the timezone.",
1925
"type": ["null", "string"]
2026
},
2127
"event_time": {
28+
"description": "The exact date and time when the activity occurred.",
2229
"type": "string",
2330
"format": "date-time"
2431
},
2532
"event_type": {
33+
"description": "The type of event/action performed in the activity.",
2634
"type": ["null", "string"]
2735
},
2836
"extra_data": {
37+
"description": "Additional data associated with the activity.",
2938
"type": ["null", "string"]
3039
},
3140
"object_id": {
41+
"description": "The unique identifier for the object (post/ad/etc.) related to the activity.",
3242
"type": ["null", "string"]
3343
},
3444
"object_name": {
45+
"description": "The name/label of the object related to the activity.",
3546
"type": ["null", "string"]
3647
},
3748
"object_type": {
49+
"description": "The type/category of the object related to the activity.",
3850
"type": ["null", "string"]
3951
},
4052
"translated_event_type": {
53+
"description": "The translated or localized version of the event type.",
4154
"type": ["null", "string"]
4255
}
4356
},

0 commit comments

Comments
 (0)