line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
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
|
24
|
|
|
24
|
|
5369691
|
use strict; use warnings; |
|
24
|
|
|
24
|
|
61
|
|
|
24
|
|
|
|
|
942
|
|
|
24
|
|
|
|
|
126
|
|
|
24
|
|
|
|
|
50
|
|
|
24
|
|
|
|
|
690
|
|
6
|
|
|
|
|
|
|
|
7
|
24
|
|
|
24
|
|
128
|
use base qw/Yahoo::Marketing::ComplexType/; |
|
24
|
|
|
|
|
43
|
|
|
24
|
|
|
|
|
13289
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Yahoo::Marketing::Campaign - an object to represent a Yahoo Marketing Campaign. |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=cut |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _user_setable_attributes { |
16
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
sub _read_only_attributes { |
33
|
|
|
|
|
|
|
return ( qw/ |
34
|
|
|
|
|
|
|
campaignOptimizationON |
35
|
|
|
|
|
|
|
createTimestamp |
36
|
|
|
|
|
|
|
deleteTimestamp |
37
|
|
|
|
|
|
|
lastUpdateTimestamp |
38
|
|
|
|
|
|
|
/ ); |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, |
42
|
|
|
|
|
|
|
__PACKAGE__->_read_only_attributes |
43
|
|
|
|
|
|
|
); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
=head1 SYNOPSIS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
See L 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
|
|
|
|
|
|
|
|