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