File Coverage

blib/lib/Yahoo/Marketing/AdGroupOptimizationGuidelines.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Yahoo::Marketing::AdGroupOptimizationGuidelines;
2             # Copyright (c) 2009 Yahoo! Inc. All rights reserved.
3             # The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997)
4              
5 2     2   43738 use strict; use warnings;
  2     2   4  
  2         73  
  2         11  
  2         4  
  2         62  
6              
7 2     2   12 use base qw/Yahoo::Marketing::ComplexType/;
  2         5  
  2         640  
8              
9             =head1 NAME
10              
11             Yahoo::Marketing::AdGroupOptimizationGuidelines - an object to represent a Yahoo Marketing AdGroupOptimizationGuidelines.
12              
13             =cut
14              
15             sub _user_setable_attributes {
16             return ( qw/
17             CPA
18             CPC
19             CPM
20             ROAS
21             accountID
22             adGroupID
23             averageConversionRate
24             averageRevenuePerConversion
25             campaignID
26             contentMatchMaxBid
27             conversionImportance
28             impressionImportance
29             leadImportance
30             sponsoredSearchMaxBid
31             sponsoredSearchMinPosition
32             sponsoredSearchMinPositionImportance
33             / );
34             }
35              
36             sub _read_only_attributes {
37             return ( qw/
38             createTimestamp
39             lastUpdateTimestamp
40             / );
41             }
42              
43             __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
44             __PACKAGE__->_read_only_attributes
45             );
46              
47              
48             1;
49             =head1 SYNOPSIS
50              
51             See L for documentation of the various data objects.
52              
53              
54             =cut
55              
56             =head1 METHODS
57              
58             =head2 new
59              
60             Creates a new instance
61              
62             =head2 get/set methods
63              
64             =over 8
65              
66             CPA
67             CPC
68             CPM
69             ROAS
70             accountID
71             adGroupID
72             averageConversionRate
73             averageRevenuePerConversion
74             campaignID
75             contentMatchMaxBid
76             conversionImportance
77             impressionImportance
78             leadImportance
79             sponsoredSearchMaxBid
80             sponsoredSearchMinPosition
81             sponsoredSearchMinPositionImportance
82              
83             =back
84              
85             =head2 get (read only) methods
86              
87             =over 8
88              
89             createTimestamp
90             lastUpdateTimestamp
91              
92             =back
93              
94             =cut
95