Marketing/CampaignOptimizationGuidelines.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Marketing/CampaignCarrierSetting.pm ↑ Summary Marketing/CampaignOptimizationGuidelinesResponse.pm »
1 package Yahoo::Marketing::CampaignOptimizationGuidelines;
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 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Yahoo::Marketing::CampaignOptimizationGuidelines - an object to represent a Yahoo Marketing CampaignOptimizationGuidelines.
12  
13 =cut
14  
15 2 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
16 2 return ( qw/
17 CPA
18 CPC
19 CPM
20 ROAS
21 accountID
22 averageConversionRate
23 averageRevenuePerConversion
24 bidLimitHeadroom
25 campaignID
26 conversionImportance
27 conversionMetric
28 impressionImportance
29 leadImportance
30 maxBid
31 monthlySpendRate
32 sponsoredSearchMinPosition
33 sponsoredSearchMinPositionImportance
34 taggedForConversion
35 taggedForRevenue
36 / );
37 }
38  
39 2 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
40 2 return ( qw/
41 createTimestamp
42 lastUpdateTimestamp
43 / );
44 }
45  
46 2 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
47 __PACKAGE__->_read_only_attributes
48 );
49  
50  
51 2 1;
52 =head1 SYNOPSIS
53  
54 See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> for documentation of the various data objects.
55  
56  
57 =cut
58  
59 =head1 METHODS
60  
61 =head2 new
62  
63 Creates a new instance
64  
65 =head2 get/set methods
66  
67 =over 8
68  
69 CPA
70 CPC
71 CPM
72 ROAS
73 accountID
74 averageConversionRate
75 averageRevenuePerConversion
76 bidLimitHeadroom
77 campaignID
78 conversionImportance
79 conversionMetric
80 impressionImportance
81 leadImportance
82 maxBid
83 monthlySpendRate
84 sponsoredSearchMinPosition
85 sponsoredSearchMinPositionImportance
86 taggedForConversion
87 taggedForRevenue
88  
89 =back
90  
91 =head2 get (read only) methods
92  
93 =over 8
94  
95 createTimestamp
96 lastUpdateTimestamp
97  
98 =back
99  
100 =cut
101  
« Marketing/CampaignCarrierSetting.pm ↑ Summary Marketing/CampaignOptimizationGuidelinesResponse.pm »