V25/Services/BatchJobService.pm

filter: Statementstmt 29.4% 10 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.8% 3 / 7 Podpod 0.0% 0 / 4 totaltotal 28.8% 13 / 45 CC 1 SCAR 4.5
CC
1
Cov
29%
add_operations
2.0
list_results
2.0
mutate
2.0
CRAP 1.6
« V24/Services/KeywordPlanIdeaService.pm ↑ Summary V25/Services/KeywordPlanIdeaService.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::V25::Services::BatchJobService;
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 add_operations {
Subroutine add_operations: 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 = 'v25/{+resourceName}:addOperations';
26 0 my $response_type = 'Google::Ads::GoogleAds::V25::Services::BatchJobService::AddBatchJobOperationsResponse';
27  
28 0 return $self->SUPER::call($http_method, $request_path, $request_body, $response_type);
29 }
30  
31 0 ▶sub list_results {
Subroutine list_results: not called CC=1 SCAR=6.9
Pod undocumented
32 0 my $self = shift;
33 0 my $request_body = shift;
34 0 my $http_method = 'GET';
35 0 my $request_path = 'v25/{+resourceName}:listResults';
36 0 my $response_type = 'Google::Ads::GoogleAds::V25::Services::BatchJobService::ListBatchJobResultsResponse';
37  
38 0 return $self->SUPER::call($http_method, $request_path, $request_body, $response_type);
39 }
40  
41 0 ▶sub mutate {
Subroutine mutate: not called CC=1 SCAR=6.9
Pod undocumented
42 0 my $self = shift;
43 0 my $request_body = shift;
44 0 my $http_method = 'POST';
45 0 my $request_path = 'v25/customers/{+customerId}/batchJobs:mutate';
46 0 my $response_type = 'Google::Ads::GoogleAds::V25::Services::BatchJobService::MutateBatchJobResponse';
47  
48 0 return $self->SUPER::call($http_method, $request_path, $request_body, $response_type);
49 }
50  
51 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
52 0 my $self = shift;
53 0 my $request_body = shift;
54 0 my $http_method = 'POST';
55 0 my $request_path = 'v25/{+resourceName}:run';
56 0 my $response_type = 'Google::Ads::GoogleAds::LongRunning::Operation';
57  
58 0 return $self->SUPER::call($http_method, $request_path, $request_body, $response_type);
59 }
60  
61 1 1;
« V24/Services/KeywordPlanIdeaService.pm ↑ Summary V25/Services/KeywordPlanIdeaService.pm »