lib/Google/Ads/AdWords/v201809/ShoppingSetting.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/SharedSetReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ShowcaseAd.pm »
1 package Google::Ads::AdWords::v201809::ShoppingSetting;
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::Setting);
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 %Setting__Type_of :ATTR(:get<Setting__Type>);
26 my %merchantId_of :ATTR(:get<merchantId>);
27 my %salesCountry_of :ATTR(:get<salesCountry>);
28 my %campaignPriority_of :ATTR(:get<campaignPriority>);
29 my %enableLocal_of :ATTR(:get<enableLocal>);
30  
31 __PACKAGE__->_factory(
32 [ qw( Setting__Type
33 merchantId
34 salesCountry
35 campaignPriority
36 enableLocal
37  
38 ) ],
39 {
40 'Setting__Type' => \%Setting__Type_of,
41 'merchantId' => \%merchantId_of,
42 'salesCountry' => \%salesCountry_of,
43 'campaignPriority' => \%campaignPriority_of,
44 'enableLocal' => \%enableLocal_of,
45 },
46 {
47 'Setting__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
48 'merchantId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
49 'salesCountry' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
50 'campaignPriority' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
51 'enableLocal' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
52 },
53 {
54  
55 'Setting__Type' => 'Setting.Type',
56 'merchantId' => 'merchantId',
57 'salesCountry' => 'salesCountry',
58 'campaignPriority' => 'campaignPriority',
59 'enableLocal' => 'enableLocal',
60 }
61 );
62  
63 } # end BLOCK
64  
65  
66  
67  
68  
69  
70  
71 1;
72  
73  
74 =pod
75  
76 =head1 NAME
77  
78 Google::Ads::AdWords::v201809::ShoppingSetting
79  
80 =head1 DESCRIPTION
81  
82 Perl data type class for the XML Schema defined complexType
83 ShoppingSetting from the namespace https://adwords.google.com/api/adwords/cm/v201809.
84  
85 Setting for shopping campaigns. Defines the universe of products covered by the campaign. Encapsulates a merchant ID, sales country, and campaign priority.
86  
87  
88  
89  
90 =head2 PROPERTIES
91  
92 The following properties may be accessed using get_PROPERTY / set_PROPERTY
93 methods:
94  
95 =over
96  
97 =item * merchantId
98  
99  
100 =item * salesCountry
101  
102  
103 =item * campaignPriority
104  
105  
106 =item * enableLocal
107  
108  
109  
110  
111 =back
112  
113  
114 =head1 METHODS
115  
116 =head2 new
117  
118 Constructor. The following data structure may be passed to new():
119  
120  
121  
122  
123  
124  
125 =head1 AUTHOR
126  
127 Generated by SOAP::WSDL
128  
129 =cut
130  
« lib/Google/Ads/AdWords/v201809/SharedSetReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ShowcaseAd.pm »