V23/Services/ExperimentService.pm

filter: Statementstmt 21.7% 10 / 46 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 3 / 9 Podpod 0.0% 0 / 6 totaltotal 21.3% 13 / 61 CC 1 SCAR 5.1
CC
1
Cov
22%
end_experiment
2.0
graduate_experiment
2.0
list_experiment_async_errors
2.0
CRAP 1.7
« V26/Services/AudienceInsightsService.pm ↑ Summary V23/Services/ReachPlanService.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::V23::Services::ExperimentService;
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 end_experiment {
Subroutine end_experiment: 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 = 'v23/{+experiment}:endExperiment';
26 0 my $response_type = '';
27  
28 0 return $self->SUPER::call($http_method, $request_path, $request_body,
29 $response_type);
30 }
31  
32 0 ▶sub graduate_experiment {
Subroutine graduate_experiment: not called CC=1 SCAR=6.9
Pod undocumented
33 0 my $self = shift;
34 0 my $request_body = shift;
35 0 my $http_method = 'POST';
36 0 my $request_path = 'v23/{+experiment}:graduateExperiment';
37 0 my $response_type = '';
38  
39 0 return $self->SUPER::call($http_method, $request_path, $request_body,
40 $response_type);
41 }
42  
43 0 ▶sub list_experiment_async_errors {
Subroutine list_experiment_async_errors: not called CC=1 SCAR=6.9
Pod undocumented
44 0 my $self = shift;
45 0 my $request_body = shift;
46 0 my $http_method = 'GET';
47 0 my $request_path = 'v23/{+resourceName}:listExperimentAsyncErrors';
48 0 my $response_type =
49 'Google::Ads::GoogleAds::V23::Services::ExperimentService::ListExperimentAsyncErrorsResponse';
50  
51 0 return $self->SUPER::call($http_method, $request_path, $request_body,
52 $response_type);
53 }
54  
55 0 ▶sub mutate {
Subroutine mutate: not called CC=1 SCAR=6.9
Pod undocumented
56 0 my $self = shift;
57 0 my $request_body = shift;
58 0 my $http_method = 'POST';
59 0 my $request_path = 'v23/customers/{+customerId}/experiments:mutate';
60 0 my $response_type =
61 'Google::Ads::GoogleAds::V23::Services::ExperimentService::MutateExperimentsResponse';
62  
63 0 return $self->SUPER::call($http_method, $request_path, $request_body,
64 $response_type);
65 }
66  
67 0 ▶sub promote_experiment {
Subroutine promote_experiment: not called CC=1 SCAR=6.9
Pod undocumented
68 0 my $self = shift;
69 0 my $request_body = shift;
70 0 my $http_method = 'POST';
71 0 my $request_path = 'v23/{+resourceName}:promoteExperiment';
72 0 my $response_type = 'Google::Ads::GoogleAds::LongRunning::Operation';
73  
74 0 return $self->SUPER::call($http_method, $request_path, $request_body,
75 $response_type);
76 }
77  
78 0 ▶sub schedule_experiment {
Subroutine schedule_experiment: not called CC=1 SCAR=6.9
Pod undocumented
79 0 my $self = shift;
80 0 my $request_body = shift;
81 0 my $http_method = 'POST';
82 0 my $request_path = 'v23/{+resourceName}:scheduleExperiment';
83 0 my $response_type = 'Google::Ads::GoogleAds::LongRunning::Operation';
84  
85 0 return $self->SUPER::call($http_method, $request_path, $request_body,
86 $response_type);
87 }
88  
89 1 1;
« V26/Services/AudienceInsightsService.pm ↑ Summary V23/Services/ReachPlanService.pm »