airbyte-source-google-search-console 1.7.0__py3-none-any.whl → 1.8.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,14 +39,8 @@ definitions:
39
39
  Client: "#/definitions/oauth_authenticator"
40
40
  Service: "#/definitions/jwt_profile_assertion_oauth_authenticator"
41
41
 
42
- search_analytics_by_country_stream:
42
+ base_search_analytics_stream:
43
43
  type: DeclarativeStream
44
- name: search_analytics_by_country
45
- primary_key:
46
- - site_url
47
- - date
48
- - country
49
- - search_type
50
44
  retriever:
51
45
  type: SimpleRetriever
52
46
  requester:
@@ -60,13 +54,10 @@ definitions:
60
54
  request_body_json:
61
55
  startDate: "{{ stream_interval.get('start_time') }}"
62
56
  endDate: "{{ stream_interval.get('end_time') }}"
63
- dimensions: ["date", "country"]
57
+ dimensions: "{{ parameters['dimensions'] }}"
64
58
  type: "{{ stream_partition.get('search_type') }}"
65
- aggregationType: auto
59
+ aggregationType: "{{ 'auto' if config.get('always_use_aggregation_type_auto') else parameters.get('aggregationType') }}"
66
60
  dataState: "{{ config.get('data_state', 'final') }}"
67
- # Currently relying on the default error handler behavior. Two pieces of functionality not covered are
68
- # - Silently skipping over 403 permissions errors and relying on partial success reporting
69
- # - Retrying 400 errors with aggregation_type=auto instead of failing outright
70
61
  paginator:
71
62
  type: DefaultPaginator
72
63
  page_token_option:
@@ -92,13 +83,7 @@ definitions:
92
83
  values: "{{ config['site_urls'] }}"
93
84
  cursor_field: site_url
94
85
  - type: ListPartitionRouter
95
- values:
96
- - web
97
- - news
98
- - image
99
- - video
100
- - discover
101
- - googleNews
86
+ values: "{{ parameters['search_types'] }}"
102
87
  cursor_field: search_type
103
88
  incremental_sync:
104
89
  type: DatetimeBasedCursor
@@ -116,19 +101,413 @@ definitions:
116
101
  datetime_format: "%Y-%m-%d"
117
102
  step: P3D
118
103
  cursor_granularity: P1D
104
+ state_migrations:
105
+ - type: CustomStateMigration
106
+ class_name: source_google_search_console.components.NestedSubstreamStateMigration
107
+
108
+ search_analytics_all_fields_stream:
109
+ $ref: "#/definitions/base_search_analytics_stream"
110
+ name: search_analytics_all_fields
111
+ primary_key:
112
+ - site_url
113
+ - date
114
+ - country
115
+ - device
116
+ - query
117
+ - page
118
+ - search_type
119
+ transformations:
120
+ - type: AddFields
121
+ fields:
122
+ - path:
123
+ - site_url
124
+ value: "{{ stream_partition['site_url'] }}"
125
+ - path:
126
+ - search_type
127
+ value: "{{ stream_partition['search_type'] }}"
128
+ - type: AddFields
129
+ fields:
130
+ - path:
131
+ - date
132
+ value: "{{ record['keys'][0] }}"
133
+ - path:
134
+ - country
135
+ value: "{{ record['keys'][1] }}"
136
+ - path:
137
+ - device
138
+ value: "{{ record['keys'][2] }}"
139
+ - path:
140
+ - page
141
+ value: "{{ record['keys'][3] }}"
142
+ - path:
143
+ - query
144
+ value: "{{ record['keys'][4] }}"
145
+ - type: RemoveFields
146
+ field_pointers:
147
+ - - keys
148
+ schema_loader:
149
+ type: InlineSchemaLoader
150
+ schema:
151
+ $ref: "#/schemas/search_analytics_all_fields"
152
+ $parameters:
153
+ dimensions:
154
+ - date
155
+ - country
156
+ - device
157
+ - page
158
+ - query
159
+ aggregationType: auto
160
+ search_types:
161
+ - web
162
+ - news
163
+ - image
164
+ - video
165
+
166
+ search_analytics_by_country_stream:
167
+ $ref: "#/definitions/base_search_analytics_stream"
168
+ name: search_analytics_by_country
169
+ primary_key:
170
+ - site_url
171
+ - date
172
+ - country
173
+ - search_type
174
+ transformations:
175
+ - type: AddFields
176
+ fields:
177
+ - path:
178
+ - site_url
179
+ value: "{{ stream_partition['site_url'] }}"
180
+ - path:
181
+ - search_type
182
+ value: "{{ stream_partition['search_type'] }}"
183
+ # The values in the 'keys' array in the record correspond to the same order that the dimensions
184
+ # are requested in the API request. For example, if the request body was `dimensions: ["date", "country"]`,
185
+ # then the first value of `keys` is placed under the `date` field. These arrays are always be the same length
186
+ # After extracting the keys, the `keys` array is removed from the record.
187
+ - type: AddFields
188
+ fields:
189
+ - path:
190
+ - date
191
+ value: "{{ record['keys'][0] }}"
192
+ - path:
193
+ - country
194
+ value: "{{ record['keys'][1] }}"
195
+ - type: RemoveFields
196
+ field_pointers:
197
+ - - keys
198
+ schema_loader:
199
+ type: InlineSchemaLoader
200
+ schema:
201
+ $ref: "#/schemas/search_analytics_by_country"
202
+ $parameters:
203
+ dimensions:
204
+ - date
205
+ - country
206
+ aggregationType: auto
207
+ search_types:
208
+ - web
209
+ - news
210
+ - image
211
+ - video
212
+ - discover
213
+ - googleNews
214
+
215
+ search_analytics_by_date_stream:
216
+ $ref: "#/definitions/base_search_analytics_stream"
217
+ name: search_analytics_by_date
218
+ primary_key:
219
+ - site_url
220
+ - date
221
+ - search_type
222
+ transformations:
223
+ - type: AddFields
224
+ fields:
225
+ - path:
226
+ - site_url
227
+ value: "{{ stream_partition['site_url'] }}"
228
+ - path:
229
+ - search_type
230
+ value: "{{ stream_partition['search_type'] }}"
231
+ - type: AddFields
232
+ fields:
233
+ - path:
234
+ - date
235
+ value: "{{ record['keys'][0] }}"
236
+ - type: RemoveFields
237
+ field_pointers:
238
+ - - keys
239
+ schema_loader:
240
+ type: InlineSchemaLoader
241
+ schema:
242
+ $ref: "#/schemas/search_analytics_by_date"
243
+ $parameters:
244
+ dimensions:
245
+ - date
246
+ aggregationType: auto
247
+ search_types:
248
+ - web
249
+ - news
250
+ - image
251
+ - video
252
+ - discover
253
+ - googleNews
254
+
255
+ search_analytics_by_device_stream:
256
+ $ref: "#/definitions/base_search_analytics_stream"
257
+ name: search_analytics_by_device
258
+ primary_key:
259
+ - site_url
260
+ - date
261
+ - device
262
+ - search_type
263
+ transformations:
264
+ - type: AddFields
265
+ fields:
266
+ - path:
267
+ - site_url
268
+ value: "{{ stream_partition['site_url'] }}"
269
+ - path:
270
+ - search_type
271
+ value: "{{ stream_partition['search_type'] }}"
272
+ # The values in the 'keys' array in the record correspond to the same order that the dimensions
273
+ # are requested in the API request. For example, if the request body was `dimensions: ["date", "device"]`,
274
+ # then the first value of `keys` is placed under the `date` field. These arrays are always be the same length
275
+ # After extracting the keys, the `keys` array is removed from the record.
276
+ - type: AddFields
277
+ fields:
278
+ - path:
279
+ - date
280
+ value: "{{ record['keys'][0] }}"
281
+ - path:
282
+ - device
283
+ value: "{{ record['keys'][1] }}"
284
+ - type: RemoveFields
285
+ field_pointers:
286
+ - - keys
287
+ schema_loader:
288
+ type: InlineSchemaLoader
289
+ schema:
290
+ $ref: "#/schemas/search_analytics_by_device"
291
+ $parameters:
292
+ dimensions:
293
+ - date
294
+ - device
295
+ aggregationType: auto
296
+ search_types:
297
+ - web
298
+ - news
299
+ - image
300
+ - video
301
+ - googleNews
302
+
303
+ search_analytics_by_page_stream:
304
+ $ref: "#/definitions/base_search_analytics_stream"
305
+ name: search_analytics_by_page
306
+ primary_key:
307
+ - site_url
308
+ - date
309
+ - page
310
+ - search_type
311
+ transformations:
312
+ - type: AddFields
313
+ fields:
314
+ - path:
315
+ - site_url
316
+ value: "{{ stream_partition['site_url'] }}"
317
+ - path:
318
+ - search_type
319
+ value: "{{ stream_partition['search_type'] }}"
320
+ - type: AddFields
321
+ fields:
322
+ - path:
323
+ - date
324
+ value: "{{ record['keys'][0] }}"
325
+ - path:
326
+ - page
327
+ value: "{{ record['keys'][1] }}"
328
+ - type: RemoveFields
329
+ field_pointers:
330
+ - - keys
331
+ schema_loader:
332
+ type: InlineSchemaLoader
333
+ schema:
334
+ $ref: "#/schemas/search_analytics_by_page"
335
+ $parameters:
336
+ dimensions:
337
+ - date
338
+ - page
339
+ aggregationType: auto
340
+ search_types:
341
+ - web
342
+ - news
343
+ - image
344
+ - video
345
+ - discover
346
+ - googleNews
347
+
348
+ search_analytics_by_query_stream:
349
+ $ref: "#/definitions/base_search_analytics_stream"
350
+ name: search_analytics_by_query
351
+ primary_key:
352
+ - site_url
353
+ - date
354
+ - query
355
+ - search_type
356
+ transformations:
357
+ - type: AddFields
358
+ fields:
359
+ - path:
360
+ - site_url
361
+ value: "{{ stream_partition['site_url'] }}"
362
+ - path:
363
+ - search_type
364
+ value: "{{ stream_partition['search_type'] }}"
365
+ - type: AddFields
366
+ fields:
367
+ - path:
368
+ - date
369
+ value: "{{ record['keys'][0] }}"
370
+ - path:
371
+ - query
372
+ value: "{{ record['keys'][1] }}"
373
+ - type: RemoveFields
374
+ field_pointers:
375
+ - - keys
376
+ schema_loader:
377
+ type: InlineSchemaLoader
378
+ schema:
379
+ $ref: "#/schemas/search_analytics_by_query"
380
+ $parameters:
381
+ dimensions:
382
+ - date
383
+ - query
384
+ aggregationType: auto
385
+ search_types:
386
+ - web
387
+ - news
388
+ - image
389
+ - video
390
+
391
+ search_analytics_page_report_stream:
392
+ $ref: "#/definitions/base_search_analytics_stream"
393
+ name: search_analytics_page_report
394
+ primary_key:
395
+ - site_url
396
+ - date
397
+ - country
398
+ - device
399
+ - search_type
400
+ - page
401
+ transformations:
402
+ - type: AddFields
403
+ fields:
404
+ - path:
405
+ - site_url
406
+ value: "{{ stream_partition.get('site_url') }}"
407
+ - path:
408
+ - search_type
409
+ value: "{{ stream_partition.get('search_type') }}"
410
+ - type: AddFields
411
+ fields:
412
+ - path:
413
+ - date
414
+ value: "{{ record['keys'][0] }}"
415
+ - path:
416
+ - country
417
+ value: "{{ record['keys'][1] }}"
418
+ - path:
419
+ - device
420
+ value: "{{ record['keys'][2] }}"
421
+ - path:
422
+ - page
423
+ value: "{{ record['keys'][3] }}"
424
+ - type: RemoveFields
425
+ field_pointers:
426
+ - - keys
427
+ schema_loader:
428
+ type: InlineSchemaLoader
429
+ schema:
430
+ $ref: "#/schemas/search_analytics_page_report"
431
+ $parameters:
432
+ dimensions:
433
+ - date
434
+ - country
435
+ - device
436
+ - page
437
+ search_types:
438
+ - web
439
+ - news
440
+ - image
441
+ - video
442
+ - googleNews
443
+
444
+ search_analytics_site_report_by_page_stream:
445
+ $ref: "#/definitions/base_search_analytics_stream"
446
+ name: search_analytics_site_report_by_page
447
+ primary_key:
448
+ - site_url
449
+ - date
450
+ - country
451
+ - device
452
+ - search_type
453
+ transformations:
454
+ - type: AddFields
455
+ fields:
456
+ - path:
457
+ - site_url
458
+ value: "{{ stream_partition.get('site_url') }}"
459
+ - path:
460
+ - search_type
461
+ value: "{{ stream_partition.get('search_type') }}"
462
+ - type: AddFields
463
+ fields:
464
+ - path:
465
+ - date
466
+ value: "{{ record['keys'][0] }}"
467
+ - path:
468
+ - country
469
+ value: "{{ record['keys'][1] }}"
470
+ - path:
471
+ - device
472
+ value: "{{ record['keys'][2] }}"
473
+ - type: RemoveFields
474
+ field_pointers:
475
+ - - keys
476
+ schema_loader:
477
+ type: InlineSchemaLoader
478
+ schema:
479
+ $ref: "#/schemas/search_analytics_site_report_by_page"
480
+ $parameters:
481
+ aggregationType: byPage
482
+ dimensions:
483
+ - date
484
+ - country
485
+ - device
486
+ search_types:
487
+ - web
488
+ - news
489
+ - image
490
+ - video
491
+ - googleNews
492
+
493
+ search_analytics_site_report_by_site_stream:
494
+ $ref: "#/definitions/base_search_analytics_stream"
495
+ name: search_analytics_site_report_by_site
496
+ primary_key:
497
+ - site_url
498
+ - date
499
+ - country
500
+ - device
501
+ - search_type
119
502
  transformations:
120
503
  - type: AddFields
121
504
  fields:
122
505
  - path:
123
506
  - site_url
124
- value: "{{ stream_partition['site_url'] }}"
507
+ value: "{{ stream_partition.get('site_url') }}"
125
508
  - path:
126
509
  - search_type
127
- value: "{{ stream_partition['search_type'] }}"
128
- # The values in the 'keys' array in the record correspond to the same order that the dimensions
129
- # are requested in the API request. For example, if the request body was `dimensions: ["date", "country"]`,
130
- # then the first value of `keys` is placed under the `date` field. These arrays are always be the same length
131
- # After extracting the keys, the `keys` array is removed from the record.
510
+ value: "{{ stream_partition.get('search_type') }}"
132
511
  - type: AddFields
133
512
  fields:
134
513
  - path:
@@ -137,16 +516,28 @@ definitions:
137
516
  - path:
138
517
  - country
139
518
  value: "{{ record['keys'][1] }}"
519
+ - path:
520
+ - device
521
+ value: "{{ record['keys'][2] }}"
140
522
  - type: RemoveFields
141
523
  field_pointers:
142
524
  - - keys
143
525
  schema_loader:
144
526
  type: InlineSchemaLoader
145
527
  schema:
146
- $ref: "#/schemas/search_analytics_by_country"
147
- state_migrations:
148
- - type: CustomStateMigration
149
- class_name: source_google_search_console.components.NestedSubstreamStateMigration
528
+ $ref: "#/schemas/search_analytics_site_report_by_site"
529
+ $parameters:
530
+ aggregationType: byProperty
531
+ dimensions:
532
+ - date
533
+ - country
534
+ - device
535
+ search_types:
536
+ - web
537
+ - news
538
+ - image
539
+ - video
540
+ - googleNews
150
541
 
151
542
  sites_stream:
152
543
  type: DeclarativeStream
@@ -486,20 +877,83 @@ definitions:
486
877
  - date
487
878
  - country
488
879
  - device
489
- - query
490
880
 
491
881
  streams:
492
882
  # Regular streams
493
883
  - "#/definitions/sites_stream"
494
884
  - "#/definitions/sitemaps_stream"
495
885
  # Search Analytics streams
886
+ - "#/definitions/search_analytics_all_fields_stream"
496
887
  - "#/definitions/search_analytics_by_country_stream"
888
+ - "#/definitions/search_analytics_by_date_stream"
889
+ - "#/definitions/search_analytics_by_device_stream"
890
+ - "#/definitions/search_analytics_by_page_stream"
891
+ - "#/definitions/search_analytics_by_query_stream"
892
+ - "#/definitions/search_analytics_page_report_stream"
893
+ - "#/definitions/search_analytics_site_report_by_page_stream"
894
+ - "#/definitions/search_analytics_site_report_by_site_stream"
497
895
  # Search Analytics Keyword streams
498
896
  - "#/definitions/search_analytics_keyword_page_report_stream"
499
897
  - "#/definitions/search_analytics_keyword_site_report_by_page_stream"
500
898
  - "#/definitions/search_analytics_keyword_site_report_by_site_stream"
501
899
 
900
+ # Google Search Console has three layers of quotas that dictate rate limiting at the
901
+ # user making requests, site being requested, and developer console key used.
902
+ # https://developers.google.com/webmaster-tools/limits#qps-quota
903
+ # - Per Site Quota: 1,200 req/min (20 req/sec)
904
+ # - Per User Quota: 1,200 req/min (20 req/sec)
905
+ # - Per Project Quota: 30,000,000 req/day (350 req/sec) / 40,000 req/min (60 req/sec)
906
+ #
907
+ # The most likely upper bound is based on the user quota since it is the lowest and the
908
+ # same authenticated user account may hit multiple site urls. The default is set to 40
909
+ # which equates to one request every 2 seconds which seems like a fair baseline.
910
+ #
911
+ concurrency_level:
912
+ type: ConcurrencyLevel
913
+ default_concurrency: "{{ config.get('num_workers', 40) }}"
914
+ max_concurrency: 100
915
+
502
916
  schemas:
917
+ search_analytics_all_fields:
918
+ $schema: "http://json-schema.org/draft-07/schema#"
919
+ type: object
920
+ properties:
921
+ site_url:
922
+ description: "The URL of the site from which the data originates."
923
+ type: ["null", "string"]
924
+ search_type:
925
+ description: "The type of search (e.g., web, image, video) that triggered the search result."
926
+ type: ["null", "string"]
927
+ date:
928
+ description: "The date when the search query occurred."
929
+ type: ["null", "string"]
930
+ format: "date"
931
+ country:
932
+ description: "The country from which the search query originated."
933
+ type: ["null", "string"]
934
+ device:
935
+ description: "The type of device used by the user (e.g., desktop, mobile)."
936
+ type: ["null", "string"]
937
+ page:
938
+ description: "The page URL that appeared in the search results."
939
+ type: ["null", "string"]
940
+ query:
941
+ description: "The search query entered by the user."
942
+ type: ["null", "string"]
943
+ clicks:
944
+ description: "The number of times users clicked on the search result for a specific query."
945
+ type: ["null", "integer"]
946
+ impressions:
947
+ description: "The number of times a search result appeared in response to a query."
948
+ type: ["null", "integer"]
949
+ ctr:
950
+ description: "Click-through rate, calculated as clicks divided by impressions."
951
+ type: ["null", "number"]
952
+ multipleOf: 1.e-25
953
+ position:
954
+ description: "The average position of the search result on the search engine results page."
955
+ type: ["null", "number"]
956
+ multipleOf: 1.e-25
503
957
  search_analytics_by_country:
504
958
  $schema: "http://json-schema.org/draft-07/schema#"
505
959
  type: object
@@ -557,6 +1011,291 @@ schemas:
557
1011
  - "null"
558
1012
  - number
559
1013
  multipleOf: 1.e-25
1014
+ search_analytics_by_date:
1015
+ $schema: "http://json-schema.org/draft-07/schema#"
1016
+ type: object
1017
+ properties:
1018
+ site_url:
1019
+ description: "The URL of the site for which the search analytics data is being reported."
1020
+ type: ["null", "string"]
1021
+ search_type:
1022
+ description: "The type of search query (e.g., web, image, video) that generated the search analytics data."
1023
+ type: ["null", "string"]
1024
+ date:
1025
+ description: "The date for which the search analytics data is being reported."
1026
+ type: ["null", "string"]
1027
+ format: "date"
1028
+ clicks:
1029
+ description: "The total number of times users clicked on the search result for the site URL on the specific date."
1030
+ type: ["null", "integer"]
1031
+ impressions:
1032
+ description: "The number of times the site URL was displayed in the search results to users on the specific date."
1033
+ type: ["null", "integer"]
1034
+ ctr:
1035
+ description: "The click-through rate (CTR) represents the percentage of total impressions that resulted in a click to the site URL."
1036
+ type: ["null", "number"]
1037
+ multipleOf: 1.e-25
1038
+ position:
1039
+ description: "The average position of the site URL in the search results pages for the specific date."
1040
+ type: ["null", "number"]
1041
+ multipleOf: 1.e-25
1042
+ search_analytics_by_device:
1043
+ $schema: "http://json-schema.org/draft-07/schema#"
1044
+ type: "object"
1045
+ properties:
1046
+ site_url:
1047
+ description: "The URL of the site for which search analytics data is being provided."
1048
+ type: ["null", "string"]
1049
+ search_type:
1050
+ description: "The type of search performed (e.g., web search, image search, video search)."
1051
+ type: ["null", "string"]
1052
+ date:
1053
+ description: "The date for which the search analytics data is provided."
1054
+ type: ["null", "string"]
1055
+ format: "date"
1056
+ device:
1057
+ description: "The type of device used by the user for the search query (e.g., desktop, mobile)."
1058
+ type: ["null", "string"]
1059
+ clicks:
1060
+ description: "The total number of times a user clicked on a search result linking to the target site."
1061
+ type: ["null", "integer"]
1062
+ impressions:
1063
+ description: "The total number of times a user saw a link to the target site in search results."
1064
+ type: ["null", "integer"]
1065
+ ctr:
1066
+ description: "Click-through rate represents the ratio of clicks to impressions, showing the effectiveness of your site in attracting clicks from search results."
1067
+ type: ["null", "number"]
1068
+ multipleOf: 1.e-25
1069
+ position:
1070
+ description: "The average position of the site's URLs in search results for the given query or queries."
1071
+ type: ["null", "number"]
1072
+ multipleOf: 1.e-25
1073
+ search_analytics_by_page:
1074
+ $schema: "http://json-schema.org/draft-07/schema#"
1075
+ type: object
1076
+ properties:
1077
+ site_url:
1078
+ description: "The URL of the site for which the search analytics data is being reported."
1079
+ type: ["null", "string"]
1080
+ search_type:
1081
+ description: "The type of search query that led to the page being displayed in search results."
1082
+ type: ["null", "string"]
1083
+ date:
1084
+ description: "The date for which the search analytics data is reported."
1085
+ type: ["null", "string"]
1086
+ format: "date"
1087
+ page:
1088
+ description: "The URL of the specific page being analyzed for search analytics data."
1089
+ type: ["null", "string"]
1090
+ clicks:
1091
+ description: "The number of times a user clicked on the search result linking to the page."
1092
+ type: ["null", "integer"]
1093
+ impressions:
1094
+ description: "The number of times a page from the site appeared in the search results viewed by users."
1095
+ type: ["null", "integer"]
1096
+ ctr:
1097
+ description: "Click-through rate (CTR) is the ratio of clicks to impressions, indicating the effectiveness of the page in generating clicks."
1098
+ type: ["null", "number"]
1099
+ multipleOf: 1.e-25
1100
+ position:
1101
+ description: "The average position at which the page appeared in search results."
1102
+ type: ["null", "number"]
1103
+ multipleOf: 1.e-25
1104
+ search_analytics_by_query:
1105
+ $schema: "http://json-schema.org/draft-07/schema#"
1106
+ type: object
1107
+ properties:
1108
+ site_url:
1109
+ description: "The URL of the site for which the search analytics data is captured."
1110
+ type: ["null", "string"]
1111
+ search_type:
1112
+ description: "The type of search result (e.g., web, image, video) for the specific query."
1113
+ type: ["null", "string"]
1114
+ date:
1115
+ description: "The date for which the search analytics data is recorded."
1116
+ type: ["null", "string"]
1117
+ format: "date"
1118
+ query:
1119
+ description: "The search query for which the search analytics data is recorded."
1120
+ type: ["null", "string"]
1121
+ clicks:
1122
+ description: "The number of times users clicked on the search result for the specific query."
1123
+ type: ["null", "integer"]
1124
+ impressions:
1125
+ description: "The number of times the search result was displayed for the specific query."
1126
+ type: ["null", "integer"]
1127
+ ctr:
1128
+ description: "The click-through rate (percentage) for the specific query, calculated as clicks divided by impressions."
1129
+ type: ["null", "number"]
1130
+ multipleOf: 1.e-25
1131
+ position:
1132
+ description: "The average position at which the search result appeared for the specific query."
1133
+ type: ["null", "number"]
1134
+ multipleOf: 1.e-25
1135
+ search_analytics_page_report:
1136
+ $schema: "https://json-schema.org/draft-07/schema#"
1137
+ type: object
1138
+ additionalProperties: true
1139
+ properties:
1140
+ site_url:
1141
+ description: The URL of the website for which the search analytics data is being reported.
1142
+ type:
1143
+ - "null"
1144
+ - string
1145
+ search_type:
1146
+ description: The type of search (e.g., web, image, video) that led users to the website.
1147
+ type:
1148
+ - "null"
1149
+ - string
1150
+ date:
1151
+ description: The date when the search data was recorded.
1152
+ type:
1153
+ - "null"
1154
+ - string
1155
+ format: date
1156
+ country:
1157
+ description: The country from which the search originated.
1158
+ type:
1159
+ - "null"
1160
+ - string
1161
+ page:
1162
+ description: The specific page URL within the website that appeared in search results.
1163
+ type:
1164
+ - "null"
1165
+ - string
1166
+ device:
1167
+ description: The type of device used by the user for the search query (e.g., desktop, mobile).
1168
+ type:
1169
+ - "null"
1170
+ - string
1171
+ clicks:
1172
+ description: The total number of times users clicked on search results that led to the linked website.
1173
+ type:
1174
+ - "null"
1175
+ - integer
1176
+ impressions:
1177
+ description: The total number of times a search result from the linked website was shown to users.
1178
+ type:
1179
+ - "null"
1180
+ - integer
1181
+ ctr:
1182
+ description: "Click-through rate: The percentage of clicks out of the total impressions for a given search query."
1183
+ type:
1184
+ - "null"
1185
+ - number
1186
+ multipleOf: 1.e-25
1187
+ position:
1188
+ description: The average position at which the website's search results appeared to users.
1189
+ type:
1190
+ - "null"
1191
+ - number
1192
+ multipleOf: 1.e-25
1193
+ search_analytics_site_report_by_page:
1194
+ $schema: "https://json-schema.org/draft-07/schema#"
1195
+ type: object
1196
+ additionalProperties: true
1197
+ properties:
1198
+ site_url:
1199
+ description: The URL of the page on the site that is being reported.
1200
+ type:
1201
+ - "null"
1202
+ - string
1203
+ search_type:
1204
+ description: The type of search query that led to the page being shown.
1205
+ type:
1206
+ - "null"
1207
+ - string
1208
+ date:
1209
+ description: The date for which the data is being reported.
1210
+ type:
1211
+ - "null"
1212
+ - string
1213
+ format: date
1214
+ country:
1215
+ description: The country from which the search traffic originated.
1216
+ type:
1217
+ - "null"
1218
+ - string
1219
+ device:
1220
+ description: "The type of device used by the searcher (e.g., desktop, mobile)."
1221
+ type:
1222
+ - "null"
1223
+ - string
1224
+ clicks:
1225
+ description: The total number of clicks received by the page from search results.
1226
+ type:
1227
+ - "null"
1228
+ - integer
1229
+ impressions:
1230
+ description: The total number of times the page appeared in search results.
1231
+ type:
1232
+ - "null"
1233
+ - integer
1234
+ ctr:
1235
+ description: The click-through rate, i.e., the percentage of total impressions that resulted in clicks.
1236
+ type:
1237
+ - "null"
1238
+ - number
1239
+ multipleOf: 1.e-25
1240
+ position:
1241
+ description: The average position at which the page appeared in search results.
1242
+ type:
1243
+ - "null"
1244
+ - number
1245
+ multipleOf: 1.e-25
1246
+ search_analytics_site_report_by_site:
1247
+ $schema: "https://json-schema.org/draft-07/schema#"
1248
+ type: object
1249
+ additionalProperties: true
1250
+ properties:
1251
+ site_url:
1252
+ description: The URL of the site being analyzed
1253
+ type:
1254
+ - "null"
1255
+ - string
1256
+ search_type:
1257
+ description: "The type of search (e.g., web, image, video)"
1258
+ type:
1259
+ - "null"
1260
+ - string
1261
+ date:
1262
+ description: The date of the search analytics data
1263
+ type:
1264
+ - "null"
1265
+ - string
1266
+ format: date
1267
+ country:
1268
+ description: The country where the search took place
1269
+ type:
1270
+ - "null"
1271
+ - string
1272
+ device:
1273
+ description: "The type of device used for the search (e.g., mobile, desktop)"
1274
+ type:
1275
+ - "null"
1276
+ - string
1277
+ clicks:
1278
+ description: The number of times users clicked on a search result linking to the site
1279
+ type:
1280
+ - "null"
1281
+ - integer
1282
+ impressions:
1283
+ description: The number of times the site appeared in search results
1284
+ type:
1285
+ - "null"
1286
+ - integer
1287
+ ctr:
1288
+ description: Click-through rate calculated as clicks divided by impressions
1289
+ type:
1290
+ - "null"
1291
+ - number
1292
+ multipleOf: 1.e-25
1293
+ position:
1294
+ description: The average position of the site in search results
1295
+ type:
1296
+ - "null"
1297
+ - number
1298
+ multipleOf: 1.e-25
560
1299
  sites:
561
1300
  $schema: "http://json-schema.org/draft-07/schema#"
562
1301
  type: object