line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Yahoo::Marketing::APT::Placement; |
2
|
|
|
|
|
|
|
# Copyright (c) 2010 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
|
1
|
|
|
1
|
|
192747
|
use strict; use warnings; |
|
1
|
|
|
1
|
|
2
|
|
|
1
|
|
|
|
|
42
|
|
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use base qw/Yahoo::Marketing::ComplexType/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
1357
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Yahoo::Marketing::APT::Placement - a data object to represent a Placement. |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=cut |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _user_setable_attributes { |
16
|
|
|
|
|
|
|
return ( qw/ |
17
|
|
|
|
|
|
|
ID |
18
|
|
|
|
|
|
|
accountID |
19
|
|
|
|
|
|
|
adAttributes |
20
|
|
|
|
|
|
|
adOptimization |
21
|
|
|
|
|
|
|
comments |
22
|
|
|
|
|
|
|
contentTargetingAttributes |
23
|
|
|
|
|
|
|
createTimestamp |
24
|
|
|
|
|
|
|
endDate |
25
|
|
|
|
|
|
|
guaranteedPriceSettings |
26
|
|
|
|
|
|
|
inventorySearchFilter |
27
|
|
|
|
|
|
|
lastUpdateTimestamp |
28
|
|
|
|
|
|
|
name |
29
|
|
|
|
|
|
|
nonGuaranteedPriceSettings |
30
|
|
|
|
|
|
|
orderID |
31
|
|
|
|
|
|
|
revenueCategory |
32
|
|
|
|
|
|
|
revisedFromPlacementID |
33
|
|
|
|
|
|
|
revisedToPlacementID |
34
|
|
|
|
|
|
|
startDate |
35
|
|
|
|
|
|
|
status |
36
|
|
|
|
|
|
|
transferredFromPlacementID |
37
|
|
|
|
|
|
|
transferredToPlacementID |
38
|
|
|
|
|
|
|
/ ); |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
sub _read_only_attributes { |
42
|
|
|
|
|
|
|
return ( qw/ |
43
|
|
|
|
|
|
|
/ ); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, |
47
|
|
|
|
|
|
|
__PACKAGE__->_read_only_attributes |
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
1; |
52
|
|
|
|
|
|
|
=head1 SYNOPSIS |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
See L 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
|
|
|
|
|
|
|
ID |
70
|
|
|
|
|
|
|
accountID |
71
|
|
|
|
|
|
|
adAttributes |
72
|
|
|
|
|
|
|
adOptimization |
73
|
|
|
|
|
|
|
comments |
74
|
|
|
|
|
|
|
contentTargetingAttributes |
75
|
|
|
|
|
|
|
createTimestamp |
76
|
|
|
|
|
|
|
endDate |
77
|
|
|
|
|
|
|
guaranteedPriceSettings |
78
|
|
|
|
|
|
|
inventorySearchFilter |
79
|
|
|
|
|
|
|
lastUpdateTimestamp |
80
|
|
|
|
|
|
|
name |
81
|
|
|
|
|
|
|
nonGuaranteedPriceSettings |
82
|
|
|
|
|
|
|
orderID |
83
|
|
|
|
|
|
|
revenueCategory |
84
|
|
|
|
|
|
|
revisedFromPlacementID |
85
|
|
|
|
|
|
|
revisedToPlacementID |
86
|
|
|
|
|
|
|
startDate |
87
|
|
|
|
|
|
|
status |
88
|
|
|
|
|
|
|
transferredFromPlacementID |
89
|
|
|
|
|
|
|
transferredToPlacementID |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=back |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 get (read only) methods |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=over 8 |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=back |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|