Skip to content

Commit 2ba3aa0

Browse files
bleonardlazebnyi
andauthored
source-bing-ads: ensure inline schemas, updated cdk, poetry (where possible) (#36632)
Co-authored-by: Serhii Lazebnyi <[email protected]> Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent b581877 commit 2ba3aa0

File tree

50 files changed

+2351
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2351
-72
lines changed

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

+7-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ data:
1616
connectorSubtype: api
1717
connectorType: source
1818
definitionId: 47f25999-dd5e-4636-8c39-e7cea2453331
19-
dockerImageTag: 2.6.0
19+
dockerImageTag: 2.6.1
2020
dockerRepository: airbyte/source-bing-ads
2121
documentationUrl: https://docs.airbyte.com/integrations/sources/bing-ads
2222
githubIssueLabel: source-bing-ads
@@ -46,8 +46,12 @@ data:
4646
upgradeDeadline: "2023-10-25"
4747
2.0.0:
4848
message: >
49-
Version 2.0.0 updates schemas for all hourly reports (end in report_hourly), and the following streams: Accounts, Campaigns, Search Query Performance Report, AppInstallAds, AppInstallAdLabels, Labels, Campaign Labels, Keyword Labels, Ad Group Labels, Keywords, and Budget Summary Report.
50-
Users will need to refresh the source schema and reset affected streams after upgrading.
49+
Version 2.0.0 updates schemas for all hourly reports (end in report_hourly),
50+
and the following streams: Accounts, Campaigns, Search Query Performance
51+
Report, AppInstallAds, AppInstallAdLabels, Labels, Campaign Labels, Keyword
52+
Labels, Ad Group Labels, Keywords, and Budget Summary Report.
53+
Users will need to refresh the source schema and reset affected streams
54+
after upgrading.
5155
upgradeDeadline: "2023-12-11"
5256
suggestedStreams:
5357
streams:

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

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

airbyte-integrations/connectors/source-bing-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.6.0"
6+
version = "2.6.1"
77
name = "source-bing-ads"
88
description = "Source implementation for Bing Ads."
99
authors = [ "Airbyte <[email protected]>",]
@@ -20,7 +20,7 @@ python = "^3.9,<3.12"
2020
bingads = "==13.0.18.1"
2121
pandas = "==2.2.0"
2222
urllib3 = "==1.26.18"
23-
airbyte-cdk = "^0"
23+
airbyte-cdk = "0.84.0"
2424
cached-property = "==1.5.2"
2525

2626
[tool.poetry.scripts]

airbyte-integrations/connectors/source-bing-ads/source_bing_ads/schemas/account_impression_performance_report.json

+81
Original file line numberDiff line numberDiff line change
@@ -3,247 +3,328 @@
33
"type": "object",
44
"properties": {
55
"AccountName": {
6+
"description": "The name of the account",
67
"type": ["null", "string"]
78
},
89
"AccountNumber": {
10+
"description": "The account number associated with the account",
911
"type": ["null", "string"]
1012
},
1113
"AccountId": {
14+
"description": "The unique identifier of the account",
1215
"type": ["null", "integer"]
1316
},
1417
"TimePeriod": {
18+
"description": "The time period for which the data is being reported",
1519
"type": ["null", "string"],
1620
"format": "date"
1721
},
1822
"CurrencyCode": {
23+
"description": "The currency used for the financial metrics",
1924
"type": ["null", "string"]
2025
},
2126
"AdDistribution": {
27+
"description": "The distribution network where the ads were displayed (e.g., search, display)",
2228
"type": ["null", "string"]
2329
},
2430
"Impressions": {
31+
"description": "The total number of impressions on the ads",
2532
"type": ["null", "integer"]
2633
},
2734
"Clicks": {
35+
"description": "The total number of clicks on the ads",
2836
"type": ["null", "integer"]
2937
},
3038
"Ctr": {
39+
"description": "The click-through rate of the ad",
3140
"type": ["null", "number"]
3241
},
3342
"AverageCpc": {
43+
"description": "The average cost per click",
3444
"type": ["null", "number"]
3545
},
3646
"Spend": {
47+
"description": "The total amount spent on advertisements",
3748
"type": ["null", "number"]
3849
},
3950
"AveragePosition": {
51+
"description": "The average position of the ad on the search results page",
4052
"type": ["null", "number"]
4153
},
4254
"Conversions": {
55+
"description": "The total number of conversions tracked",
4356
"type": ["null", "integer"]
4457
},
4558
"ConversionRate": {
59+
"description": "The rate at which conversions occur",
4660
"type": ["null", "number"]
4761
},
4862
"CostPerConversion": {
63+
"description": "The cost per conversion",
4964
"type": ["null", "number"]
5065
},
5166
"LowQualityClicks": {
67+
"description": "The number of clicks considered of low quality",
5268
"type": ["null", "integer"]
5369
},
5470
"LowQualityClicksPercent": {
71+
"description": "The percentage of clicks classified as low quality",
5572
"type": ["null", "number"]
5673
},
5774
"LowQualityImpressions": {
75+
"description": "The number of impressions classified as low quality",
5876
"type": ["null", "integer"]
5977
},
6078
"LowQualityImpressionsPercent": {
79+
"description": "The percentage of low-quality impressions",
6180
"type": ["null", "number"]
6281
},
6382
"LowQualityConversions": {
83+
"description": "The total number of conversions from low-quality clicks",
6484
"type": ["null", "integer"]
6585
},
6686
"LowQualityConversionRate": {
87+
"description": "The conversion rate attributed to low-quality clicks",
6788
"type": ["null", "number"]
6889
},
6990
"DeviceType": {
91+
"description": "The type of device on which the ad was displayed (e.g., desktop, mobile)",
7092
"type": ["null", "string"]
7193
},
7294
"ImpressionSharePercent": {
95+
"description": "The percentage of impressions captured out of total available impressions",
7396
"type": ["null", "number"]
7497
},
7598
"ImpressionLostToBudgetPercent": {
99+
"description": "The percentage of impressions lost due to budget limitations",
76100
"type": ["null", "number"]
77101
},
78102
"ImpressionLostToRankAggPercent": {
103+
"description": "The percentage of impressions lost to ranking aggregation",
79104
"type": ["null", "number"]
80105
},
81106
"PhoneImpressions": {
107+
"description": "The number of impressions on phone devices",
82108
"type": ["null", "integer"]
83109
},
84110
"PhoneCalls": {
111+
"description": "The total number of phone calls generated by the ads",
85112
"type": ["null", "integer"]
86113
},
87114
"Ptr": {
115+
"description": "The phone-through rate of the ad",
88116
"type": ["null", "number"]
89117
},
90118
"Network": {
119+
"description": "The advertising network where the ads were displayed",
91120
"type": ["null", "string"]
92121
},
93122
"Assists": {
123+
"description": "The number of assists in contributing to conversions",
94124
"type": ["null", "integer"]
95125
},
96126
"Revenue": {
127+
"description": "The total revenue generated",
97128
"type": ["null", "number"]
98129
},
99130
"ReturnOnAdSpend": {
131+
"description": "The return on investment from ad spend",
100132
"type": ["null", "number"]
101133
},
102134
"CostPerAssist": {
135+
"description": "The cost per assist in contributing to conversions",
103136
"type": ["null", "number"]
104137
},
105138
"RevenuePerConversion": {
139+
"description": "The average revenue generated per conversion",
106140
"type": ["null", "number"]
107141
},
108142
"RevenuePerAssist": {
143+
"description": "The average revenue generated per assist in conversions",
109144
"type": ["null", "number"]
110145
},
111146
"AccountStatus": {
147+
"description": "The status of the account (e.g., active, paused, etc.)",
112148
"type": ["null", "string"]
113149
},
114150
"LowQualityGeneralClicks": {
151+
"description": "The number of general clicks considered of low quality",
115152
"type": ["null", "integer"]
116153
},
117154
"LowQualitySophisticatedClicks": {
155+
"description": "The number of sophisticated clicks considered of low quality",
118156
"type": ["null", "integer"]
119157
},
120158
"ExactMatchImpressionSharePercent": {
159+
"description": "The percentage of exact match impressions captured",
121160
"type": ["null", "number"]
122161
},
123162
"ClickSharePercent": {
163+
"description": "The share of clicks received out of the total available clicks",
124164
"type": ["null", "number"]
125165
},
126166
"AbsoluteTopImpressionSharePercent": {
167+
"description": "The percentage of impressions received in the absolute top location on the search results page",
127168
"type": ["null", "number"]
128169
},
129170
"TopImpressionShareLostToRankPercent": {
171+
"description": "The percentage of top impressions lost due to ad ranking",
130172
"type": ["null", "number"]
131173
},
132174
"TopImpressionShareLostToBudgetPercent": {
175+
"description": "The percentage of top impressions lost due to budget constraints",
133176
"type": ["null", "number"]
134177
},
135178
"AbsoluteTopImpressionShareLostToRankPercent": {
179+
"description": "The percentage of absolute top impressions lost due to ad ranking",
136180
"type": ["null", "number"]
137181
},
138182
"AbsoluteTopImpressionShareLostToBudgetPercent": {
183+
"description": "The percentage of absolute top impressions lost due to budget constraints",
139184
"type": ["null", "number"]
140185
},
141186
"TopImpressionSharePercent": {
187+
"description": "The percentage of impressions received at the top position on the search results page",
142188
"type": ["null", "number"]
143189
},
144190
"AbsoluteTopImpressionRatePercent": {
191+
"description": "The percentage of impressions that are shown in the absolute top position above the organic search results",
145192
"type": ["null", "number"]
146193
},
147194
"TopImpressionRatePercent": {
195+
"description": "The percentage of impressions that appear at the top of search results",
148196
"type": ["null", "number"]
149197
},
150198
"AllConversions": {
199+
"description": "The total number of all conversions counted",
151200
"type": ["null", "integer"]
152201
},
153202
"AllRevenue": {
203+
"description": "The total revenue generated from all conversions",
154204
"type": ["null", "number"]
155205
},
156206
"AllConversionRate": {
207+
"description": "The rate of all conversions that occurred",
157208
"type": ["null", "number"]
158209
},
159210
"AllCostPerConversion": {
211+
"description": "The cost per conversion for all conversions",
160212
"type": ["null", "number"]
161213
},
162214
"AllReturnOnAdSpend": {
215+
"description": "The return on ad spend generated by all conversions",
163216
"type": ["null", "number"]
164217
},
165218
"AllRevenuePerConversion": {
219+
"description": "The average revenue generated per conversion from all conversions",
166220
"type": ["null", "number"]
167221
},
168222
"ViewThroughConversions": {
223+
"description": "The number of conversions attributed to view-through tracking",
169224
"type": ["null", "integer"]
170225
},
171226
"AudienceImpressionSharePercent": {
227+
"description": "The percentage of impressions captured for the targeted audience",
172228
"type": ["null", "number"]
173229
},
174230
"AudienceImpressionLostToRankPercent": {
231+
"description": "The percentage of audience impressions lost due to ad ranking",
175232
"type": ["null", "number"]
176233
},
177234
"AudienceImpressionLostToBudgetPercent": {
235+
"description": "The percentage of audience impressions lost due to budget restrictions",
178236
"type": ["null", "number"]
179237
},
180238
"AverageCpm": {
239+
"description": "The average cost per thousand impressions",
181240
"type": ["null", "number"]
182241
},
183242
"ConversionsQualified": {
243+
"description": "The number of qualified conversions",
184244
"type": ["null", "number"]
185245
},
186246
"LowQualityConversionsQualified": {
247+
"description": "The number of qualified conversions from low-quality clicks",
187248
"type": ["null", "number"]
188249
},
189250
"AllConversionsQualified": {
251+
"description": "The number of qualified conversions of all types",
190252
"type": ["null", "number"]
191253
},
192254
"ViewThroughConversionsQualified": {
255+
"description": "The number of qualified conversions linked to view-through tracking",
193256
"type": ["null", "number"]
194257
},
195258
"ViewThroughRevenue": {
259+
"description": "The revenue generated from view-through conversions",
196260
"type": ["null", "number"]
197261
},
198262
"VideoViews": {
263+
"description": "The total number of views of video ads",
199264
"type": ["null", "integer"]
200265
},
201266
"ViewThroughRate": {
267+
"description": "The rate at which view-through conversions occur",
202268
"type": ["null", "number"]
203269
},
204270
"AverageCPV": {
271+
"description": "The average cost per view of video ads",
205272
"type": ["null", "number"]
206273
},
207274
"VideoViewsAt25Percent": {
275+
"description": "The number of video views at 25% completion",
208276
"type": ["null", "integer"]
209277
},
210278
"VideoViewsAt50Percent": {
279+
"description": "The number of video views at 50% completion",
211280
"type": ["null", "integer"]
212281
},
213282
"VideoViewsAt75Percent": {
283+
"description": "The number of video views at 75% completion",
214284
"type": ["null", "integer"]
215285
},
216286
"CompletedVideoViews": {
287+
"description": "The number of completed views of video ads",
217288
"type": ["null", "integer"]
218289
},
219290
"VideoCompletionRate": {
291+
"description": "The rate of completed views of video ads",
220292
"type": ["null", "number"]
221293
},
222294
"TotalWatchTimeInMS": {
295+
"description": "The total watch time in milliseconds for video ads",
223296
"type": ["null", "integer"]
224297
},
225298
"AverageWatchTimePerVideoView": {
299+
"description": "The average watch time per video view",
226300
"type": ["null", "number"]
227301
},
228302
"AverageWatchTimePerImpression": {
303+
"description": "The average watch time per impression for video ads",
229304
"type": ["null", "number"]
230305
},
231306
"Sales": {
307+
"description": "The total number of sales attributed to the ads",
232308
"type": ["null", "integer"]
233309
},
234310
"CostPerSale": {
311+
"description": "The cost per sale",
235312
"type": ["null", "number"]
236313
},
237314
"RevenuePerSale": {
315+
"description": "The average revenue generated per sale",
238316
"type": ["null", "number"]
239317
},
240318
"Installs": {
319+
"description": "The total number of installations linked to the ads",
241320
"type": ["null", "integer"]
242321
},
243322
"CostPerInstall": {
323+
"description": "The cost per installation",
244324
"type": ["null", "number"]
245325
},
246326
"RevenuePerInstall": {
327+
"description": "The average revenue generated per installation",
247328
"type": ["null", "number"]
248329
}
249330
}

0 commit comments

Comments
 (0)