line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Google::Ads::AdWords::v201702::PolicyViolationError; |
2
|
2
|
|
|
2
|
|
1918
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
55
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
161
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
__PACKAGE__->_set_element_form_qualified(1); |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201702' }; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $XML_ATTRIBUTE_CLASS; |
11
|
|
|
|
|
|
|
undef $XML_ATTRIBUTE_CLASS; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub __get_attr_class { |
14
|
|
|
|
|
|
|
return $XML_ATTRIBUTE_CLASS; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
2
|
|
|
2
|
|
14
|
use base qw(Google::Ads::AdWords::v201702::ApiError); |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
284
|
|
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); |
26
|
|
|
|
|
|
|
my %fieldPathElements_of :ATTR(:get); |
27
|
|
|
|
|
|
|
my %trigger_of :ATTR(:get); |
28
|
|
|
|
|
|
|
my %errorString_of :ATTR(:get); |
29
|
|
|
|
|
|
|
my %ApiError__Type_of :ATTR(:get); |
30
|
|
|
|
|
|
|
my %key_of :ATTR(:get); |
31
|
|
|
|
|
|
|
my %externalPolicyName_of :ATTR(:get); |
32
|
|
|
|
|
|
|
my %externalPolicyUrl_of :ATTR(:get); |
33
|
|
|
|
|
|
|
my %externalPolicyDescription_of :ATTR(:get); |
34
|
|
|
|
|
|
|
my %isExemptable_of :ATTR(:get); |
35
|
|
|
|
|
|
|
my %violatingParts_of :ATTR(:get); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__PACKAGE__->_factory( |
38
|
|
|
|
|
|
|
[ qw( fieldPath |
39
|
|
|
|
|
|
|
fieldPathElements |
40
|
|
|
|
|
|
|
trigger |
41
|
|
|
|
|
|
|
errorString |
42
|
|
|
|
|
|
|
ApiError__Type |
43
|
|
|
|
|
|
|
key |
44
|
|
|
|
|
|
|
externalPolicyName |
45
|
|
|
|
|
|
|
externalPolicyUrl |
46
|
|
|
|
|
|
|
externalPolicyDescription |
47
|
|
|
|
|
|
|
isExemptable |
48
|
|
|
|
|
|
|
violatingParts |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
) ], |
51
|
|
|
|
|
|
|
{ |
52
|
|
|
|
|
|
|
'fieldPath' => \%fieldPath_of, |
53
|
|
|
|
|
|
|
'fieldPathElements' => \%fieldPathElements_of, |
54
|
|
|
|
|
|
|
'trigger' => \%trigger_of, |
55
|
|
|
|
|
|
|
'errorString' => \%errorString_of, |
56
|
|
|
|
|
|
|
'ApiError__Type' => \%ApiError__Type_of, |
57
|
|
|
|
|
|
|
'key' => \%key_of, |
58
|
|
|
|
|
|
|
'externalPolicyName' => \%externalPolicyName_of, |
59
|
|
|
|
|
|
|
'externalPolicyUrl' => \%externalPolicyUrl_of, |
60
|
|
|
|
|
|
|
'externalPolicyDescription' => \%externalPolicyDescription_of, |
61
|
|
|
|
|
|
|
'isExemptable' => \%isExemptable_of, |
62
|
|
|
|
|
|
|
'violatingParts' => \%violatingParts_of, |
63
|
|
|
|
|
|
|
}, |
64
|
|
|
|
|
|
|
{ |
65
|
|
|
|
|
|
|
'fieldPath' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', |
66
|
|
|
|
|
|
|
'fieldPathElements' => 'Google::Ads::AdWords::v201702::FieldPathElement', |
67
|
|
|
|
|
|
|
'trigger' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', |
68
|
|
|
|
|
|
|
'errorString' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', |
69
|
|
|
|
|
|
|
'ApiError__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', |
70
|
|
|
|
|
|
|
'key' => 'Google::Ads::AdWords::v201702::PolicyViolationKey', |
71
|
|
|
|
|
|
|
'externalPolicyName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', |
72
|
|
|
|
|
|
|
'externalPolicyUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', |
73
|
|
|
|
|
|
|
'externalPolicyDescription' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', |
74
|
|
|
|
|
|
|
'isExemptable' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', |
75
|
|
|
|
|
|
|
'violatingParts' => 'Google::Ads::AdWords::v201702::PolicyViolationError::Part', |
76
|
|
|
|
|
|
|
}, |
77
|
|
|
|
|
|
|
{ |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
'fieldPath' => 'fieldPath', |
80
|
|
|
|
|
|
|
'fieldPathElements' => 'fieldPathElements', |
81
|
|
|
|
|
|
|
'trigger' => 'trigger', |
82
|
|
|
|
|
|
|
'errorString' => 'errorString', |
83
|
|
|
|
|
|
|
'ApiError__Type' => 'ApiError.Type', |
84
|
|
|
|
|
|
|
'key' => 'key', |
85
|
|
|
|
|
|
|
'externalPolicyName' => 'externalPolicyName', |
86
|
|
|
|
|
|
|
'externalPolicyUrl' => 'externalPolicyUrl', |
87
|
|
|
|
|
|
|
'externalPolicyDescription' => 'externalPolicyDescription', |
88
|
|
|
|
|
|
|
'isExemptable' => 'isExemptable', |
89
|
|
|
|
|
|
|
'violatingParts' => 'violatingParts', |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
); |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
} # end BLOCK |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
1; |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=pod |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 NAME |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Google::Ads::AdWords::v201702::PolicyViolationError |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head1 DESCRIPTION |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Perl data type class for the XML Schema defined complexType |
113
|
|
|
|
|
|
|
PolicyViolationError from the namespace https://adwords.google.com/api/adwords/cm/v201702. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Represents violations of a single policy by some text in a field. Violations of a single policy by the same string in multiple places within a field is reported in one instance of this class and only one exemption needs to be filed. Violations of a single policy by two different strings is reported as two separate instances of this class. e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it would be represented by one instance. If the ad also contains 'INC' which also violates 'capitalization' it would be represented in a separate instance. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 PROPERTIES |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
The following properties may be accessed using get_PROPERTY / set_PROPERTY |
123
|
|
|
|
|
|
|
methods: |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=over |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=item * key |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=item * externalPolicyName |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=item * externalPolicyUrl |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=item * externalPolicyDescription |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=item * isExemptable |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=item * violatingParts |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=back |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=head1 METHODS |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 new |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Constructor. The following data structure may be passed to new(): |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head1 AUTHOR |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
Generated by SOAP::WSDL |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=cut |
166
|
|
|
|
|
|
|
|