Skip to content

Commit f01c971

Browse files
bleonardlazebnyi
andauthored
source-google-ads: ensure inline schemas, updated cdk, poetry (where possible) (#36638)
Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent f49bb33 commit f01c971

34 files changed

+1125
-24
lines changed

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

+6-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
connectorSubtype: api
1212
connectorType: source
1313
definitionId: 253487c0-2246-43ba-a21f-5116b20a2c50
14-
dockerImageTag: 3.4.1
14+
dockerImageTag: 3.4.2
1515
dockerRepository: airbyte/source-google-ads
1616
documentationUrl: https://docs.airbyte.com/integrations/sources/google-ads
1717
githubIssueLabel: source-google-ads
@@ -45,9 +45,11 @@ data:
4545
upgrading to ensure uninterrupted syncs.
4646
upgradeDeadline: "2023-11-30"
4747
3.0.0:
48-
message: Google is deprecating v13 of the Google Ads API in January.
49-
This release upgrades the Google Ads API to the latest version (v15), which causes changes in several schemas.
50-
Users should refresh the source schema and reset affected streams after upgrading to ensure uninterrupted syncs.
48+
message:
49+
Google is deprecating v13 of the Google Ads API in January. This
50+
release upgrades the Google Ads API to the latest version (v15), which causes
51+
changes in several schemas. Users should refresh the source schema and reset
52+
affected streams after upgrading to ensure uninterrupted syncs.
5153
upgradeDeadline: "2024-01-12"
5254
suggestedStreams:
5355
streams:

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

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

airbyte-integrations/connectors/source-google-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 = "3.4.1"
6+
version = "3.4.2"
77
name = "source-google-ads"
88
description = "Source implementation for Google Ads."
99
authors = [ "Airbyte <[email protected]>",]
@@ -19,7 +19,7 @@ include = "source_google_ads"
1919
python = "^3.9,<3.12"
2020
google-ads = "==22.1.0"
2121
protobuf = "==4.25.2"
22-
airbyte-cdk = "^0"
22+
airbyte-cdk = "0.80.0"
2323

2424
[tool.poetry.scripts]
2525
source-google-ads = "source_google_ads.run:run"

airbyte-integrations/connectors/source-google-ads/source_google_ads/schemas/account_performance_report.json

+58
Original file line numberDiff line numberDiff line change
@@ -3,178 +3,236 @@
33
"type": "object",
44
"properties": {
55
"customer.currency_code": {
6+
"description": "The currency code used for the customer's account",
67
"type": ["null", "string"]
78
},
89
"customer.descriptive_name": {
10+
"description": "The descriptive name assigned to the customer account",
911
"type": ["null", "string"]
1012
},
1113
"customer.time_zone": {
14+
"description": "The time zone setting for the customer account",
1215
"type": ["null", "string"]
1316
},
1417
"metrics.active_view_cpm": {
18+
"description": "Cost per thousand active viewable impressions",
1519
"type": ["null", "number"]
1620
},
1721
"metrics.active_view_ctr": {
22+
"description": "Active view click-through rate",
1823
"type": ["null", "number"]
1924
},
2025
"metrics.active_view_impressions": {
26+
"description": "Number of active view viewable impressions",
2127
"type": ["null", "integer"]
2228
},
2329
"metrics.active_view_measurability": {
30+
"description": "Active view measurability percentage",
2431
"type": ["null", "number"]
2532
},
2633
"metrics.active_view_measurable_cost_micros": {
34+
"description": "Cost for active view measurable impressions",
2735
"type": ["null", "integer"]
2836
},
2937
"metrics.active_view_measurable_impressions": {
38+
"description": "Number of active view measurable impressions",
3039
"type": ["null", "integer"]
3140
},
3241
"metrics.active_view_viewability": {
42+
"description": "Active view viewability percentage",
3343
"type": ["null", "number"]
3444
},
3545
"segments.ad_network_type": {
46+
"description": "Type of ad network",
3647
"type": ["null", "string"]
3748
},
3849
"metrics.all_conversions_from_interactions_rate": {
50+
"description": "Rate of conversions from interactions",
3951
"type": ["null", "number"]
4052
},
4153
"metrics.all_conversions_value": {
54+
"description": "Total value of all conversions",
4255
"type": ["null", "number"]
4356
},
4457
"metrics.all_conversions": {
58+
"description": "Total number of conversions",
4559
"type": ["null", "number"]
4660
},
4761
"metrics.average_cost": {
62+
"description": "Average cost per click",
4863
"type": ["null", "number"]
4964
},
5065
"metrics.average_cpc": {
66+
"description": "Average cost per click",
5167
"type": ["null", "number"]
5268
},
5369
"metrics.average_cpe": {
70+
"description": "Average cost per engagement",
5471
"type": ["null", "number"]
5572
},
5673
"metrics.average_cpm": {
74+
"description": "Average cost per thousand impressions",
5775
"type": ["null", "number"]
5876
},
5977
"metrics.average_cpv": {
78+
"description": "Average cost per view",
6079
"type": ["null", "number"]
6180
},
6281
"customer.manager": {
82+
"description": "The manager assigned to the customer account",
6383
"type": ["null", "boolean"]
6484
},
6585
"metrics.clicks": {
86+
"description": "Total number of clicks",
6687
"type": ["null", "integer"]
6788
},
6889
"metrics.content_budget_lost_impression_share": {
90+
"description": "Percentage of budget lost due to content network impressions",
6991
"type": ["null", "number"]
7092
},
7193
"metrics.content_impression_share": {
94+
"description": "Impression share on the content network",
7295
"type": ["null", "number"]
7396
},
7497
"metrics.content_rank_lost_impression_share": {
98+
"description": "Percentage of rank lost due to content network impressions",
7599
"type": ["null", "number"]
76100
},
77101
"metrics.conversions_from_interactions_rate": {
102+
"description": "Rate of conversions from interactions",
78103
"type": ["null", "number"]
79104
},
80105
"metrics.conversions_value": {
106+
"description": "Total value of conversions",
81107
"type": ["null", "number"]
82108
},
83109
"metrics.conversions": {
110+
"description": "Total number of conversions",
84111
"type": ["null", "number"]
85112
},
86113
"metrics.cost_micros": {
114+
"description": "Total cost in micros",
87115
"type": ["null", "integer"]
88116
},
89117
"metrics.cost_per_all_conversions": {
118+
"description": "Cost per all conversions",
90119
"type": ["null", "number"]
91120
},
92121
"metrics.cost_per_conversion": {
122+
"description": "Cost per conversion",
93123
"type": ["null", "number"]
94124
},
95125
"metrics.cross_device_conversions": {
126+
"description": "Conversions that involve more than one device",
96127
"type": ["null", "number"]
97128
},
98129
"metrics.ctr": {
130+
"description": "Click-through rate",
99131
"type": ["null", "number"]
100132
},
101133
"segments.date": {
134+
"description": "Date of the data entry",
102135
"type": ["null", "string"],
103136
"format": "date"
104137
},
105138
"segments.day_of_week": {
139+
"description": "Day of the week",
106140
"type": ["null", "string"]
107141
},
108142
"segments.device": {
143+
"description": "Type of device",
109144
"type": ["null", "string"]
110145
},
111146
"metrics.engagement_rate": {
147+
"description": "Rate of engagements",
112148
"type": ["null", "number"]
113149
},
114150
"metrics.engagements": {
151+
"description": "Total number of engagements",
115152
"type": ["null", "integer"]
116153
},
117154
"customer.id": {
155+
"description": "The unique identifier for the customer account",
118156
"type": ["null", "integer"]
119157
},
120158
"metrics.impressions": {
159+
"description": "Total number of impressions",
121160
"type": ["null", "integer"]
122161
},
123162
"metrics.interaction_rate": {
163+
"description": "Rate of interactions",
124164
"type": ["null", "number"]
125165
},
126166
"metrics.interaction_event_types": {
167+
"description": "Types of interaction events",
127168
"type": ["null", "array"],
128169
"items": {
170+
"description": "Specific interaction event type",
129171
"type": "string"
130172
}
131173
},
132174
"metrics.interactions": {
175+
"description": "Total number of interactions",
133176
"type": ["null", "integer"]
134177
},
135178
"customer.auto_tagging_enabled": {
179+
"description": "Indicates whether auto tagging is enabled for the customer",
136180
"type": ["null", "boolean"]
137181
},
138182
"customer.test_account": {
183+
"description": "Specifies whether the account is a test account",
139184
"type": ["null", "boolean"]
140185
},
141186
"segments.month": {
187+
"description": "Month of the year",
142188
"type": ["null", "string"]
143189
},
144190
"segments.quarter": {
191+
"description": "Quarter of the year",
145192
"type": ["null", "string"]
146193
},
147194
"metrics.search_budget_lost_impression_share": {
195+
"description": "Percentage of budget lost due to search network impressions",
148196
"type": ["null", "number"]
149197
},
150198
"metrics.search_exact_match_impression_share": {
199+
"description": "Exact match impression share on the search network",
151200
"type": ["null", "number"]
152201
},
153202
"metrics.search_impression_share": {
203+
"description": "Impression share on the search network",
154204
"type": ["null", "number"]
155205
},
156206
"metrics.search_rank_lost_impression_share": {
207+
"description": "Percentage of rank lost due to search network impressions",
157208
"type": ["null", "number"]
158209
},
159210
"metrics.value_per_all_conversions": {
211+
"description": "Value per all conversions",
160212
"type": ["null", "number"]
161213
},
162214
"metrics.value_per_conversion": {
215+
"description": "Value per conversion",
163216
"type": ["null", "number"]
164217
},
165218
"metrics.video_view_rate": {
219+
"description": "Rate of video views",
166220
"type": ["null", "number"]
167221
},
168222
"metrics.video_views": {
223+
"description": "Total number of video views",
169224
"type": ["null", "integer"]
170225
},
171226
"metrics.view_through_conversions": {
227+
"description": "Conversions where the display ad was shown but not clicked",
172228
"type": ["null", "integer"]
173229
},
174230
"segments.week": {
231+
"description": "Week of the year",
175232
"type": ["null", "string"]
176233
},
177234
"segments.year": {
235+
"description": "Year",
178236
"type": ["null", "integer"]
179237
}
180238
}

0 commit comments

Comments
 (0)