V24/Services/ProductLinkInvitationService.pm

filter: Statementstmt 35.7% 10 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 3 totaltotal 35.1% 13 / 37 CC 1 SCAR 4.1
CC
1
Cov
36%
create
2.0
remove
2.0
update
2.0
CRAP 1.5
« V24/Services/OfflineUserDataJobService.pm ↑ Summary V24/Services/RecommendationService.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::V24::Services::ProductLinkInvitationService;
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 create {
Subroutine create: 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 =
26 'v24/customers/{+customerId}/productLinkInvitations:create';
27 0 my $response_type =
28 'Google::Ads::GoogleAds::V24::Services::ProductLinkInvitationService::CreateProductLinkInvitationResponse';
29  
30 0 return $self->SUPER::call($http_method, $request_path, $request_body,
31 $response_type);
32 }
33  
34 0 ▶sub remove {
Subroutine remove: not called CC=1 SCAR=6.9
Pod undocumented
35 0 my $self = shift;
36 0 my $request_body = shift;
37 0 my $http_method = 'POST';
38 0 my $request_path =
39 'v24/customers/{+customerId}/productLinkInvitations:remove';
40 0 my $response_type =
41 'Google::Ads::GoogleAds::V24::Services::ProductLinkInvitationService::RemoveProductLinkInvitationResponse';
42  
43 0 return $self->SUPER::call($http_method, $request_path, $request_body,
44 $response_type);
45 }
46  
47 0 ▶sub update {
Subroutine update: not called CC=1 SCAR=6.9
Pod undocumented
48 0 my $self = shift;
49 0 my $request_body = shift;
50 0 my $http_method = 'POST';
51 0 my $request_path =
52 'v24/customers/{+customerId}/productLinkInvitations:update';
53 0 my $response_type =
54 'Google::Ads::GoogleAds::V24::Services::ProductLinkInvitationService::UpdateProductLinkInvitationResponse';
55  
56 0 return $self->SUPER::call($http_method, $request_path, $request_body,
57 $response_type);
58 }
59  
60 1 1;
« V24/Services/OfflineUserDataJobService.pm ↑ Summary V24/Services/RecommendationService.pm »