lib/Google/Ads/AdWords/v201809/PolicyFindingError.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/Platform.pm ↑ Summary lib/Google/Ads/AdWords/v201809/PolicyViolationError.pm »
1 package Google::Ads::AdWords::v201809::PolicyFindingError;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::ApiError);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %fieldPath_of :ATTR(:get<fieldPath>);
26 my %fieldPathElements_of :ATTR(:get<fieldPathElements>);
27 my %trigger_of :ATTR(:get<trigger>);
28 my %errorString_of :ATTR(:get<errorString>);
29 my %ApiError__Type_of :ATTR(:get<ApiError__Type>);
30 my %reason_of :ATTR(:get<reason>);
31 my %policySummary_of :ATTR(:get<policySummary>);
32  
33 __PACKAGE__->_factory(
34 [ qw( fieldPath
35 fieldPathElements
36 trigger
37 errorString
38 ApiError__Type
39 reason
40 policySummary
41  
42 ) ],
43 {
44 'fieldPath' => \%fieldPath_of,
45 'fieldPathElements' => \%fieldPathElements_of,
46 'trigger' => \%trigger_of,
47 'errorString' => \%errorString_of,
48 'ApiError__Type' => \%ApiError__Type_of,
49 'reason' => \%reason_of,
50 'policySummary' => \%policySummary_of,
51 },
52 {
53 'fieldPath' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'fieldPathElements' => 'Google::Ads::AdWords::v201809::FieldPathElement',
55 'trigger' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'errorString' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'ApiError__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 'reason' => 'Google::Ads::AdWords::v201809::PolicyFindingError::Reason',
59 'policySummary' => 'Google::Ads::AdWords::v201809::PolicySummary',
60 },
61 {
62  
63 'fieldPath' => 'fieldPath',
64 'fieldPathElements' => 'fieldPathElements',
65 'trigger' => 'trigger',
66 'errorString' => 'errorString',
67 'ApiError__Type' => 'ApiError.Type',
68 'reason' => 'reason',
69 'policySummary' => 'policySummary',
70 }
71 );
72  
73 } # end BLOCK
74  
75  
76  
77  
78  
79  
80  
81 1;
82  
83  
84 =pod
85  
86 =head1 NAME
87  
88 Google::Ads::AdWords::v201809::PolicyFindingError
89  
90 =head1 DESCRIPTION
91  
92 Perl data type class for the XML Schema defined complexType
93 PolicyFindingError from the namespace https://adwords.google.com/api/adwords/cm/v201809.
94  
95 Error indicating that an entity will be disapproved unless changes are made to it before it is saved. This error occurs when the entity will have a policy summary that includes a PROHIBITED policy topic entry.
96  
97  
98  
99  
100 =head2 PROPERTIES
101  
102 The following properties may be accessed using get_PROPERTY / set_PROPERTY
103 methods:
104  
105 =over
106  
107 =item * reason
108  
109  
110 =item * policySummary
111  
112  
113  
114  
115 =back
116  
117  
118 =head1 METHODS
119  
120 =head2 new
121  
122 Constructor. The following data structure may be passed to new():
123  
124  
125  
126  
127  
128  
129 =head1 AUTHOR
130  
131 Generated by SOAP::WSDL
132  
133 =cut
134  
« lib/Google/Ads/AdWords/v201809/Platform.pm ↑ Summary lib/Google/Ads/AdWords/v201809/PolicyViolationError.pm »