blib/lib/Google/Ads/AdWords/v201309/CampaignAdExtension.pm untested

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 37 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201309::CampaignAdExtension;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201309' };
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 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
19  
20 Class::Std::initialize();
21  
22 { # BLOCK to scope variables
23  
24 my %campaignId_of :ATTR(:get<campaignId>);
25 my %adExtension_of :ATTR(:get<adExtension>);
26 my %status_of :ATTR(:get<status>);
27 my %approvalStatus_of :ATTR(:get<approvalStatus>);
28  
29 __PACKAGE__->_factory(
30 [ qw( campaignId
31 adExtension
32 status
33 approvalStatus
34  
35 ) ],
36 {
37 'campaignId' => \%campaignId_of,
38 'adExtension' => \%adExtension_of,
39 'status' => \%status_of,
40 'approvalStatus' => \%approvalStatus_of,
41 },
42 {
43 'campaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
44 'adExtension' => 'Google::Ads::AdWords::v201309::AdExtension',
45 'status' => 'Google::Ads::AdWords::v201309::CampaignAdExtension::Status',
46 'approvalStatus' => 'Google::Ads::AdWords::v201309::CampaignAdExtension::ApprovalStatus',
47 },
48 {
49  
50 'campaignId' => 'campaignId',
51 'adExtension' => 'adExtension',
52 'status' => 'status',
53 'approvalStatus' => 'approvalStatus',
54 }
55 );
56  
57 } # end BLOCK
58  
59  
60  
61  
62  
63  
64  
65 1;
66  
67  
68 =pod
69  
70 =head1 NAME
71  
72 Google::Ads::AdWords::v201309::CampaignAdExtension
73  
74 =head1 DESCRIPTION
75  
76 Perl data type class for the XML Schema defined complexType
77 CampaignAdExtension from the namespace https://adwords.google.com/api/adwords/cm/v201309.
78  
79 Represents a campaign level ad extension. A campaign ad extension specifies a campaign and an ad extension which can extend any ad under that campaign.
80  
81  
82  
83  
84 =head2 PROPERTIES
85  
86 The following properties may be accessed using get_PROPERTY / set_PROPERTY
87 methods:
88  
89 =over
90  
91 =item * campaignId
92  
93  
94 =item * adExtension
95  
96  
97 =item * status
98  
99  
100 =item * approvalStatus
101  
102  
103  
104  
105 =back
106  
107  
108 =head1 METHODS
109  
110 =head2 new
111  
112 Constructor. The following data structure may be passed to new():
113  
114  
115  
116  
117  
118  
119 =head1 AUTHOR
120  
121 Generated by SOAP::WSDL
122  
123 =cut
124