Marketing/Campaign.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/BulkUploadTokenUrlResponse.pm ↑ Summary Marketing/CampaignCarrierConfig.pm »
1 package Yahoo::Marketing::Campaign;
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 26 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 26 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Yahoo::Marketing::Campaign - an object to represent a Yahoo Marketing Campaign.
12  
13 =cut
14  
15 26 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
16 26 return ( qw/
17 ID
18 accountID
19 advancedMatchON
20 carrierConfig
21 contentMatchON
22 description
23 endDate
24 name
25 sponsoredSearchON
26 startDate
27 status
28 watchON
29 / );
30 }
31  
32 26 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
33 26 return ( qw/
34 campaignOptimizationON
35 createTimestamp
36 deleteTimestamp
37 lastUpdateTimestamp
38 / );
39 }
40  
41 26 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
42 __PACKAGE__->_read_only_attributes
43 );
44  
45  
46 26 1;
47 =head1 SYNOPSIS
48  
49 See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> for documentation of the various data objects.
50  
51  
52 =cut
53  
54 =head1 METHODS
55  
56 =head2 new
57  
58 Creates a new instance
59  
60 =head2 get/set methods
61  
62 =over 8
63  
64 ID
65 accountID
66 advancedMatchON
67 carrierConfig
68 contentMatchON
69 description
70 endDate
71 name
72 sponsoredSearchON
73 startDate
74 status
75 watchON
76  
77 =back
78  
79 =head2 get (read only) methods
80  
81 =over 8
82  
83 campaignOptimizationON
84 createTimestamp
85 deleteTimestamp
86 lastUpdateTimestamp
87  
88 =back
89  
90 =cut
91  
« Marketing/BulkUploadTokenUrlResponse.pm ↑ Summary Marketing/CampaignCarrierConfig.pm »