V26/Services/BenchmarksService.pm

filter: Statementstmt 25.0% 10 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.5% 3 / 8 Podpod 0.0% 0 / 5 totaltotal 24.5% 13 / 53 CC 1 SCAR 4.9
CC
1
Cov
25%
generate_benchmarks_metrics
2.0
list_benchmarks_available_dates
2.0
list_benchmarks_locations
2.0
CRAP 1.6
« V25/Services/BenchmarksService.pm ↑ Summary Common/AuthHandlerInterface.pm »
1 # Copyright 2026, Google LLC
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14  
15 package Google::Ads::GoogleAds::V26::Services::BenchmarksService;
16  
17 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use base qw(Google::Ads::GoogleAds::BaseService);
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 0 ▶sub generate_benchmarks_metrics {
Subroutine generate_benchmarks_metrics: not called CC=1 SCAR=6.9
Pod undocumented
22 0 my $self = shift;
23 0 my $request_body = shift;
24 0 my $http_method = 'POST';
25 0 my $request_path = 'v26/customers/{+customerId}:generateBenchmarksMetrics';
26 0 my $response_type =
27 'Google::Ads::GoogleAds::V26::Services::BenchmarksService::GenerateBenchmarksMetricsResponse';
28  
29 0 return $self->SUPER::call($http_method, $request_path, $request_body,
30 $response_type);
31 }
32  
33 0 ▶sub list_benchmarks_available_dates {
Subroutine list_benchmarks_available_dates: not called CC=1 SCAR=6.9
Pod undocumented
34 0 my $self = shift;
35 0 my $request_body = shift;
36 0 my $http_method = 'POST';
37 0 my $request_path = 'v26:listBenchmarksAvailableDates';
38 0 my $response_type =
39 'Google::Ads::GoogleAds::V26::Services::BenchmarksService::ListBenchmarksAvailableDatesResponse';
40  
41 0 return $self->SUPER::call($http_method, $request_path, $request_body,
42 $response_type);
43 }
44  
45 0 ▶sub list_benchmarks_locations {
Subroutine list_benchmarks_locations: not called CC=1 SCAR=6.9
Pod undocumented
46 0 my $self = shift;
47 0 my $request_body = shift;
48 0 my $http_method = 'POST';
49 0 my $request_path = 'v26:listBenchmarksLocations';
50 0 my $response_type =
51 'Google::Ads::GoogleAds::V26::Services::BenchmarksService::ListBenchmarksLocationsResponse';
52  
53 0 return $self->SUPER::call($http_method, $request_path, $request_body,
54 $response_type);
55 }
56  
57 0 ▶sub list_benchmarks_products {
Subroutine list_benchmarks_products: not called CC=1 SCAR=6.9
Pod undocumented
58 0 my $self = shift;
59 0 my $request_body = shift;
60 0 my $http_method = 'POST';
61 0 my $request_path = 'v26:listBenchmarksProducts';
62 0 my $response_type =
63 'Google::Ads::GoogleAds::V26::Services::BenchmarksService::ListBenchmarksProductsResponse';
64  
65 0 return $self->SUPER::call($http_method, $request_path, $request_body,
66 $response_type);
67 }
68  
69 0 ▶sub list_benchmarks_sources {
Subroutine list_benchmarks_sources: not called CC=1 SCAR=6.9
Pod undocumented
70 0 my $self = shift;
71 0 my $request_body = shift;
72 0 my $http_method = 'POST';
73 0 my $request_path = 'v26:listBenchmarksSources';
74 0 my $response_type =
75 'Google::Ads::GoogleAds::V26::Services::BenchmarksService::ListBenchmarksSourcesResponse';
76  
77 0 return $self->SUPER::call($http_method, $request_path, $request_body,
78 $response_type);
79 }
80  
81 1 1;
« V25/Services/BenchmarksService.pm ↑ Summary Common/AuthHandlerInterface.pm »