|
5 | 5 | "title": "Source Facebook Marketing",
|
6 | 6 | "type": "object",
|
7 | 7 | "properties": {
|
8 |
| - "account_id": { |
9 |
| - "title": "Account Id", |
10 |
| - "description": "The Facebook Ad account ID to use when pulling data from the Facebook Marketing API.", |
11 |
| - "type": "string" |
12 |
| - }, |
13 |
| - "access_token": { |
14 |
| - "title": "Access Token", |
15 |
| - "description": "The value of the access token generated. See the <a href=\"https://docs.airbyte.io/integrations/sources/facebook-marketing\">docs</a> for more information", |
16 |
| - "airbyte_secret": true, |
17 |
| - "type": "string" |
18 |
| - }, |
19 | 8 | "start_date": {
|
20 | 9 | "title": "Start Date",
|
21 | 10 | "description": "The date from which you'd like to replicate data for AdCreatives and AdInsights APIs, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.",
|
| 11 | + "order": 0, |
22 | 12 | "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
|
23 |
| - "examples": ["2017-01-25T00:00:00Z"], |
| 13 | + "examples": [ |
| 14 | + "2017-01-25T00:00:00Z" |
| 15 | + ], |
24 | 16 | "type": "string",
|
25 | 17 | "format": "date-time"
|
26 | 18 | },
|
27 | 19 | "end_date": {
|
28 | 20 | "title": "End Date",
|
29 | 21 | "description": "The date until which you'd like to replicate data for AdCreatives and AdInsights APIs, in the format YYYY-MM-DDT00:00:00Z. All data generated between start_date and this date will be replicated. Not setting this option will result in always syncing the latest data.",
|
| 22 | + "order": 1, |
30 | 23 | "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
|
31 |
| - "examples": ["2017-01-26T00:00:00Z"], |
| 24 | + "examples": [ |
| 25 | + "2017-01-26T00:00:00Z" |
| 26 | + ], |
32 | 27 | "type": "string",
|
33 | 28 | "format": "date-time"
|
34 | 29 | },
|
35 |
| - "fetch_thumbnail_images": { |
36 |
| - "title": "Fetch Thumbnail Images", |
37 |
| - "description": "In each Ad Creative, fetch the thumbnail_url and store the result in thumbnail_data_url", |
38 |
| - "default": false, |
39 |
| - "type": "boolean" |
| 30 | + "account_id": { |
| 31 | + "title": "Account ID", |
| 32 | + "description": "The Facebook Ad account ID to use when pulling data from the Facebook Marketing API.", |
| 33 | + "order": 2, |
| 34 | + "examples": [ |
| 35 | + "111111111111111" |
| 36 | + ], |
| 37 | + "type": "string" |
| 38 | + }, |
| 39 | + "access_token": { |
| 40 | + "title": "Access Token", |
| 41 | + "description": "The value of the access token generated. See the <a href=\"https://docs.airbyte.io/integrations/sources/facebook-marketing\">docs</a> for more information", |
| 42 | + "order": 3, |
| 43 | + "airbyte_secret": true, |
| 44 | + "type": "string" |
40 | 45 | },
|
41 | 46 | "include_deleted": {
|
42 | 47 | "title": "Include Deleted",
|
43 |
| - "description": "Include data from deleted campaigns, ads, and adsets", |
| 48 | + "description": "Include data from deleted Campaigns, Ads, and AdSets", |
44 | 49 | "default": false,
|
| 50 | + "order": 4, |
45 | 51 | "type": "boolean"
|
46 | 52 | },
|
47 |
| - "insights_lookback_window": { |
48 |
| - "title": "Insights Lookback Window", |
49 |
| - "description": "The attribution window for the actions", |
50 |
| - "default": 28, |
51 |
| - "minimum": 0, |
52 |
| - "maximum": 28, |
53 |
| - "type": "integer" |
54 |
| - }, |
55 |
| - "insights_days_per_job": { |
56 |
| - "title": "Insights Days Per Job", |
57 |
| - "description": "Number of days to sync in one job (the more data you have, the smaller this parameter should be)", |
58 |
| - "default": 7, |
59 |
| - "minimum": 1, |
60 |
| - "maximum": 30, |
61 |
| - "type": "integer" |
| 53 | + "fetch_thumbnail_images": { |
| 54 | + "title": "Fetch Thumbnail Images", |
| 55 | + "description": "In each Ad Creative, fetch the thumbnail_url and store the result in thumbnail_data_url", |
| 56 | + "default": false, |
| 57 | + "order": 5, |
| 58 | + "type": "boolean" |
62 | 59 | },
|
63 | 60 | "custom_insights": {
|
64 | 61 | "title": "Custom Insights",
|
65 |
| - "description": "A list wich contains insights entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns)", |
| 62 | + "description": "A list which contains insights entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns)", |
| 63 | + "order": 6, |
66 | 64 | "type": "array",
|
67 | 65 | "items": {
|
68 | 66 | "title": "InsightConfig",
|
|
101 | 99 | }
|
102 | 100 | }
|
103 | 101 | },
|
104 |
| - "required": ["name"] |
| 102 | + "required": [ |
| 103 | + "name" |
| 104 | + ] |
105 | 105 | }
|
106 | 106 | }
|
107 | 107 | },
|
108 |
| - "required": ["account_id", "access_token", "start_date"], |
109 |
| - "definitions": { |
110 |
| - "InsightConfig": { |
111 |
| - "title": "InsightConfig", |
112 |
| - "type": "object", |
113 |
| - "properties": { |
114 |
| - "name": { |
115 |
| - "title": "Name", |
116 |
| - "description": "The name value of insight", |
117 |
| - "type": "string" |
118 |
| - }, |
119 |
| - "fields": { |
120 |
| - "title": "Fields", |
121 |
| - "description": "A list of chosen fields for fields parameter", |
122 |
| - "default": [], |
123 |
| - "type": "array", |
124 |
| - "items": { |
125 |
| - "type": "string" |
126 |
| - } |
127 |
| - }, |
128 |
| - "breakdowns": { |
129 |
| - "title": "Breakdowns", |
130 |
| - "description": "A list of chosen breakdowns for breakdowns", |
131 |
| - "default": [], |
132 |
| - "type": "array", |
133 |
| - "items": { |
134 |
| - "type": "string" |
135 |
| - } |
136 |
| - }, |
137 |
| - "action_breakdowns": { |
138 |
| - "title": "Action Breakdowns", |
139 |
| - "description": "A list of chosen action_breakdowns for action_breakdowns", |
140 |
| - "default": [], |
141 |
| - "type": "array", |
142 |
| - "items": { |
143 |
| - "type": "string" |
144 |
| - } |
145 |
| - } |
146 |
| - }, |
147 |
| - "required": ["name"] |
148 |
| - } |
149 |
| - } |
| 108 | + "required": [ |
| 109 | + "start_date", |
| 110 | + "account_id", |
| 111 | + "access_token" |
| 112 | + ] |
150 | 113 | },
|
151 | 114 | "supportsIncremental": true,
|
152 |
| - "supported_destination_sync_modes": ["append"], |
| 115 | + "supported_destination_sync_modes": [ |
| 116 | + "append" |
| 117 | + ], |
153 | 118 | "authSpecification": {
|
154 | 119 | "auth_type": "oauth2.0",
|
155 | 120 | "oauth2Specification": {
|
156 | 121 | "rootObject": [],
|
157 | 122 | "oauthFlowInitParameters": [],
|
158 |
| - "oauthFlowOutputParameters": [["access_token"]] |
| 123 | + "oauthFlowOutputParameters": [ |
| 124 | + [ |
| 125 | + "access_token" |
| 126 | + ] |
| 127 | + ] |
159 | 128 | }
|
160 | 129 | }
|
161 | 130 | }
|
0 commit comments