File Coverage

lib/Google/Ads/AdWords/v201702/BudgetOptimizerBiddingScheme.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod n/a
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201702::BudgetOptimizerBiddingScheme;
2 1     1   1607 use strict;
  1         3  
  1         29  
3 1     1   5 use warnings;
  1         1  
  1         76  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     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 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17              
18 1     1   6 use base qw(Google::Ads::AdWords::v201702::BiddingScheme);
  1         2  
  1         97  
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 %BiddingScheme__Type_of :ATTR(:get);
26             my %bidCeiling_of :ATTR(:get);
27             my %enhancedCpcEnabled_of :ATTR(:get);
28              
29             __PACKAGE__->_factory(
30             [ qw( BiddingScheme__Type
31             bidCeiling
32             enhancedCpcEnabled
33              
34             ) ],
35             {
36             'BiddingScheme__Type' => \%BiddingScheme__Type_of,
37             'bidCeiling' => \%bidCeiling_of,
38             'enhancedCpcEnabled' => \%enhancedCpcEnabled_of,
39             },
40             {
41             'BiddingScheme__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
42             'bidCeiling' => 'Google::Ads::AdWords::v201702::Money',
43             'enhancedCpcEnabled' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
44             },
45             {
46              
47             'BiddingScheme__Type' => 'BiddingScheme.Type',
48             'bidCeiling' => 'bidCeiling',
49             'enhancedCpcEnabled' => 'enhancedCpcEnabled',
50             }
51             );
52              
53             } # end BLOCK
54              
55              
56              
57              
58              
59              
60              
61             1;
62              
63              
64             =pod
65              
66             =head1 NAME
67              
68             Google::Ads::AdWords::v201702::BudgetOptimizerBiddingScheme
69              
70             =head1 DESCRIPTION
71              
72             Perl data type class for the XML Schema defined complexType
73             BudgetOptimizerBiddingScheme from the namespace https://adwords.google.com/api/adwords/cm/v201702.
74              
75             In budget optimizer, Google automatically places bids for the user based on their daily/monthly budget.

Note: This bidding strategy has been deprecated and replaced with {@linkplain TargetSpendBiddingScheme TargetSpend}. We no longer allow advertisers to opt into this strategy--{@code BudgetOptimizerBiddingScheme} solely exists so that advertisers can access campaigns that had specified this strategy.

This is disabled for AdX.
76              
77              
78              
79              
80             =head2 PROPERTIES
81              
82             The following properties may be accessed using get_PROPERTY / set_PROPERTY
83             methods:
84              
85             =over
86              
87             =item * bidCeiling
88              
89              
90             =item * enhancedCpcEnabled
91              
92              
93              
94              
95             =back
96              
97              
98             =head1 METHODS
99              
100             =head2 new
101              
102             Constructor. The following data structure may be passed to new():
103              
104              
105              
106              
107              
108              
109             =head1 AUTHOR
110              
111             Generated by SOAP::WSDL
112              
113             =cut
114