lib/Google/Ads/AdWords/v201809/BiddingStrategyConfiguration.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/BidLandscape/LandscapePoint.pm ↑ Summary lib/Google/Ads/AdWords/v201809/BillingAccount.pm »
1 package Google::Ads::AdWords::v201809::BiddingStrategyConfiguration;
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 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %biddingStrategyId_of :ATTR(:get<biddingStrategyId>);
23 my %biddingStrategyName_of :ATTR(:get<biddingStrategyName>);
24 my %biddingStrategyType_of :ATTR(:get<biddingStrategyType>);
25 my %biddingStrategySource_of :ATTR(:get<biddingStrategySource>);
26 my %biddingScheme_of :ATTR(:get<biddingScheme>);
27 my %bids_of :ATTR(:get<bids>);
28 my %targetRoasOverride_of :ATTR(:get<targetRoasOverride>);
29  
30 __PACKAGE__->_factory(
31 [ qw( biddingStrategyId
32 biddingStrategyName
33 biddingStrategyType
34 biddingStrategySource
35 biddingScheme
36 bids
37 targetRoasOverride
38  
39 ) ],
40 {
41 'biddingStrategyId' => \%biddingStrategyId_of,
42 'biddingStrategyName' => \%biddingStrategyName_of,
43 'biddingStrategyType' => \%biddingStrategyType_of,
44 'biddingStrategySource' => \%biddingStrategySource_of,
45 'biddingScheme' => \%biddingScheme_of,
46 'bids' => \%bids_of,
47 'targetRoasOverride' => \%targetRoasOverride_of,
48 },
49 {
50 'biddingStrategyId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
51 'biddingStrategyName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
52 'biddingStrategyType' => 'Google::Ads::AdWords::v201809::BiddingStrategyType',
53 'biddingStrategySource' => 'Google::Ads::AdWords::v201809::BiddingStrategySource',
54 'biddingScheme' => 'Google::Ads::AdWords::v201809::BiddingScheme',
55 'bids' => 'Google::Ads::AdWords::v201809::Bids',
56 'targetRoasOverride' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
57 },
58 {
59  
60 'biddingStrategyId' => 'biddingStrategyId',
61 'biddingStrategyName' => 'biddingStrategyName',
62 'biddingStrategyType' => 'biddingStrategyType',
63 'biddingStrategySource' => 'biddingStrategySource',
64 'biddingScheme' => 'biddingScheme',
65 'bids' => 'bids',
66 'targetRoasOverride' => 'targetRoasOverride',
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::v201809::BiddingStrategyConfiguration
86  
87 =head1 DESCRIPTION
88  
89 Perl data type class for the XML Schema defined complexType
90 BiddingStrategyConfiguration from the namespace https://adwords.google.com/api/adwords/cm/v201809.
91  
92 Encapsulates the information about bids and bidding strategies. <p class="note"><b>Note:</b> Starting with v201705, bidding strategies can only be set on campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad group criteria. <p>A bidding strategy can be set using one of the following: <ul> <li>{@linkplain BiddingStrategyConfiguration#biddingScheme bidding scheme}</li> <li>{@linkplain BiddingStrategyConfiguration#biddingStrategyType bidding strategy type}</li> <li>{@linkplain BiddingStrategyConfiguration#biddingStrategyId bidding strategy ID} for flexible bid strategies.</li> </ul> <p>If the bidding strategy type is used, then schemes are created using default values. <p>Bids can be set only on ad groups and ad group criteria. They cannot be set on campaigns. Multiple bids can be set at the same time. Only the bids that apply to the effective bidding strategy will be used. Effective bidding strategy is considered to be the directly attached strategy or inherited strategy from above level(s) when there is no directly attached strategy. <p>For more information on flexible bidding, visit the <a href="https://support.google.com/adwords/answer/2979071">Help Center</a>.
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 * biddingStrategyId
105  
106  
107 =item * biddingStrategyName
108  
109  
110 =item * biddingStrategyType
111  
112  
113 =item * biddingStrategySource
114  
115  
116 =item * biddingScheme
117  
118  
119 =item * bids
120  
121  
122 =item * targetRoasOverride
123  
124  
125  
126  
127 =back
128  
129  
130 =head1 METHODS
131  
132 =head2 new
133  
134 Constructor. The following data structure may be passed to new():
135  
136  
137  
138  
139  
140  
141 =head1 AUTHOR
142  
143 Generated by SOAP::WSDL
144  
145 =cut
146  
« lib/Google/Ads/AdWords/v201809/BidLandscape/LandscapePoint.pm ↑ Summary lib/Google/Ads/AdWords/v201809/BillingAccount.pm »