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