V26/Common/TextAdInfo.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.8% 23 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Common/FieldMask.pm ↑ Summary V26/Errors/GoogleAdsFailure.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::Common::TextAdInfo;
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::BaseEntity);
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 2 ▶use Google::Ads::GoogleAds::Utils::GoogleAdsHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 3 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
24 3 my ($class, $args) = @_;
25 my $self = {
26 description1 => $args->{description1},
27 description2 => $args->{description2},
28 3 headline => $args->{headline}};
29  
30 # Delete the unassigned fields in this object for a more concise JSON payload
31 3 remove_unassigned_fields($self, $args);
32  
33 3 bless $self, $class;
34 3 return $self;
35 }
36  
37 2 1;
« Common/FieldMask.pm ↑ Summary V26/Errors/GoogleAdsFailure.pm »