blib/lib/Google/Ads/AdWords/v201402/CampaignEstimateRequest.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 43 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::v201402::CampaignEstimateRequest;
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/o/v201402' };
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 use base qw(Google::Ads::AdWords::v201402::EstimateRequest);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %EstimateRequest__Type_of :ATTR(:get<EstimateRequest__Type>);
28 my %campaignId_of :ATTR(:get<campaignId>);
29 my %adGroupEstimateRequests_of :ATTR(:get<adGroupEstimateRequests>);
30 my %criteria_of :ATTR(:get<criteria>);
31 my %networkSetting_of :ATTR(:get<networkSetting>);
32 my %dailyBudget_of :ATTR(:get<dailyBudget>);
33  
34 __PACKAGE__->_factory(
35 [ qw( EstimateRequest__Type
36 campaignId
37 adGroupEstimateRequests
38 criteria
39 networkSetting
40 dailyBudget
41  
42 ) ],
43 {
44 'EstimateRequest__Type' => \%EstimateRequest__Type_of,
45 'campaignId' => \%campaignId_of,
46 'adGroupEstimateRequests' => \%adGroupEstimateRequests_of,
47 'criteria' => \%criteria_of,
48 'networkSetting' => \%networkSetting_of,
49 'dailyBudget' => \%dailyBudget_of,
50 },
51 {
52 'EstimateRequest__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'campaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54 'adGroupEstimateRequests' => 'Google::Ads::AdWords::v201402::AdGroupEstimateRequest',
55 'criteria' => 'Google::Ads::AdWords::v201402::Criterion',
56 'networkSetting' => 'Google::Ads::AdWords::v201402::NetworkSetting',
57 'dailyBudget' => 'Google::Ads::AdWords::v201402::Money',
58 },
59 {
60  
61 'EstimateRequest__Type' => 'EstimateRequest.Type',
62 'campaignId' => 'campaignId',
63 'adGroupEstimateRequests' => 'adGroupEstimateRequests',
64 'criteria' => 'criteria',
65 'networkSetting' => 'networkSetting',
66 'dailyBudget' => 'dailyBudget',
67 }
68 );
69  
70 } # end BLOCK
71  
72  
73  
74  
75  
76  
77  
78 1;
79  
80  
81 =pod
82  
83 =head1 NAME
84  
85 Google::Ads::AdWords::v201402::CampaignEstimateRequest
86  
87 =head1 DESCRIPTION
88  
89 Perl data type class for the XML Schema defined complexType
90 CampaignEstimateRequest from the namespace https://adwords.google.com/api/adwords/o/v201402.
91  
92 Represents a campaign that will be estimated.<p> Returns traffic estimates for the requested set of campaigns. The campaigns can be all new or all existing, or a mixture of new and existing. Only existing campaigns may contain estimates for existing ad groups.<p> For existing campaigns, the campaign and optionally the ad group will be used as context to produce more accurate estimates. Traffic estimates may only be requested on keywords, so regardless of whether campaign and ad group IDs are provided or left blank, at least one keyword is required to estimate traffic.<p> To make a keyword estimates request in which estimates do not consider existing account information (e.g. historical ad group performance), set {@link #campaignId} to {@code null}.
93  
94  
95  
96  
97 =head2 PROPERTIES
98  
99 The following properties may be accessed using get_PROPERTY / set_PROPERTY
100 methods:
101  
102 =over
103  
104 =item * campaignId
105  
106  
107 =item * adGroupEstimateRequests
108  
109  
110 =item * criteria
111  
112  
113 =item * networkSetting
114  
115  
116 =item * dailyBudget
117  
118  
119  
120  
121 =back
122  
123  
124 =head1 METHODS
125  
126 =head2 new
127  
128 Constructor. The following data structure may be passed to new():
129  
130  
131  
132  
133  
134  
135 =head1 AUTHOR
136  
137 Generated by SOAP::WSDL
138  
139 =cut
140