lib/Google/Ads/AdWords/v201809/TargetRoasBiddingScheme.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/TargetOutrankShareBiddingScheme.pm ↑ Summary lib/Google/Ads/AdWords/v201809/TargetSpendBiddingScheme.pm »
1 package Google::Ads::AdWords::v201809::TargetRoasBiddingScheme;
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::BiddingScheme);
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 %BiddingScheme__Type_of :ATTR(:get<BiddingScheme__Type>);
26 my %targetRoas_of :ATTR(:get<targetRoas>);
27 my %bidCeiling_of :ATTR(:get<bidCeiling>);
28 my %bidFloor_of :ATTR(:get<bidFloor>);
29  
30 __PACKAGE__->_factory(
31 [ qw( BiddingScheme__Type
32 targetRoas
33 bidCeiling
34 bidFloor
35  
36 ) ],
37 {
38 'BiddingScheme__Type' => \%BiddingScheme__Type_of,
39 'targetRoas' => \%targetRoas_of,
40 'bidCeiling' => \%bidCeiling_of,
41 'bidFloor' => \%bidFloor_of,
42 },
43 {
44 'BiddingScheme__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 'targetRoas' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
46 'bidCeiling' => 'Google::Ads::AdWords::v201809::Money',
47 'bidFloor' => 'Google::Ads::AdWords::v201809::Money',
48 },
49 {
50  
51 'BiddingScheme__Type' => 'BiddingScheme.Type',
52 'targetRoas' => 'targetRoas',
53 'bidCeiling' => 'bidCeiling',
54 'bidFloor' => 'bidFloor',
55 }
56 );
57  
58 } # end BLOCK
59  
60  
61  
62  
63  
64  
65  
66 1;
67  
68  
69 =pod
70  
71 =head1 NAME
72  
73 Google::Ads::AdWords::v201809::TargetRoasBiddingScheme
74  
75 =head1 DESCRIPTION
76  
77 Perl data type class for the XML Schema defined complexType
78 TargetRoasBiddingScheme from the namespace https://adwords.google.com/api/adwords/cm/v201809.
79  
80 Target Roas bidding strategy helps you maximize revenue while averaging a specific target return on average spend (ROAS). <p>For example: If TargetRoas is 1.5, the strategy will create as much revenue as possible while ensuring that every $1.00 of clicks provides $1.50 in conversion value. <p>Note that campaigns must meet <a href="//support.google.com/adwords/answer/6268637">specific eligibility requirements</a> before they can use the <code>TargetRoasBiddingScheme</code> bidding strategy. <span class="constraint AdxEnabled">This is disabled for AdX.</span>
81  
82  
83  
84  
85 =head2 PROPERTIES
86  
87 The following properties may be accessed using get_PROPERTY / set_PROPERTY
88 methods:
89  
90 =over
91  
92 =item * targetRoas
93  
94  
95 =item * bidCeiling
96  
97  
98 =item * bidFloor
99  
100  
101  
102  
103 =back
104  
105  
106 =head1 METHODS
107  
108 =head2 new
109  
110 Constructor. The following data structure may be passed to new():
111  
112  
113  
114  
115  
116  
117 =head1 AUTHOR
118  
119 Generated by SOAP::WSDL
120  
121 =cut
122  
« lib/Google/Ads/AdWords/v201809/TargetOutrankShareBiddingScheme.pm ↑ Summary lib/Google/Ads/AdWords/v201809/TargetSpendBiddingScheme.pm »