V26/Services/GoogleAdsService.pm

filter: Statementstmt 58.6% 17 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 3 totaltotal 55.2% 21 / 38 CC 1 SCAR 2.9
CC
1
Cov
59%
mutate
2.0
search
2.0
BEGIN
1.0
CRAP 1.3
« Common/OAuthApplicationsHandlerInterface.pm ↑ Summary V23/Services/AccountBudgetProposalService.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::GoogleAdsService;
16  
17 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶use base qw(Google::Ads::GoogleAds::BaseService);
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 0 ▶sub mutate {
Subroutine mutate: 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}/googleAds:mutate';
26 0 my $response_type =
27 'Google::Ads::GoogleAds::V26::Services::GoogleAdsService::MutateGoogleAdsResponse';
28  
29 0 return $self->SUPER::call($http_method, $request_path, $request_body,
30 $response_type);
31 }
32  
33 0 ▶sub search {
Subroutine search: 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/customers/{+customerId}/googleAds:search';
38 0 my $response_type =
39 'Google::Ads::GoogleAds::V26::Services::GoogleAdsService::SearchGoogleAdsResponse';
40  
41 0 return $self->SUPER::call($http_method, $request_path, $request_body,
42 $response_type);
43 }
44  
45 1 ▶sub search_stream {
Subroutine search_stream: called CC=1 SCAR=0.0
Pod undocumented
46 1 my $self = shift;
47 1 my $request_body = shift;
48 1 my $content_callback = shift;
49 1 my $http_method = 'POST';
50 1 my $request_path = 'v26/customers/{+customerId}/googleAds:searchStream';
51 1 my $response_type =
52 'Google::Ads::GoogleAds::V26::Services::GoogleAdsService::SearchGoogleAdsStreamResponse';
53  
54 1 return $self->SUPER::call(
55 $http_method, $request_path, $request_body,
56 $response_type, $content_callback
57 );
58 }
59  
60 2 1;
« Common/OAuthApplicationsHandlerInterface.pm ↑ Summary V23/Services/AccountBudgetProposalService.pm »