Marketing/AdGroup.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/AdEditorialReasons.pm ↑ Summary Marketing/AdGroupCarrierConfig.pm »
1 package Yahoo::Marketing::AdGroup;
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::AdGroup - an object to represent a Yahoo Marketing AdGroup.
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 adAutoOptimizationON
21 campaignID
22 carrierConfig
23 contentMatchMaxBid
24 contentMatchON
25 name
26 sponsoredSearchMaxBid
27 sponsoredSearchON
28 status
29 watchON
30 / );
31 }
32  
33 26 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
34 26 return ( qw/
35 contentMatchBidStatus
36 contentMatchMaxBidTimestamp
37 contentMatchMinBid
38 createTimestamp
39 deleteTimestamp
40 lastUpdateTimestamp
41 sponsoredSearchMaxBidTimestamp
42 / );
43 }
44  
45 26 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
46 __PACKAGE__->_read_only_attributes
47 );
48  
49  
50 26 1;
51 =head1 SYNOPSIS
52  
53 See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> for documentation of the various data objects.
54  
55  
56 =cut
57  
58 =head1 METHODS
59  
60 =head2 new
61  
62 Creates a new instance
63  
64 =head2 get/set methods
65  
66 =over 8
67  
68 ID
69 accountID
70 advancedMatchON
71 campaignID
72 carrierConfig
73 contentMatchMaxBid
74 contentMatchON
75 name
76 sponsoredSearchMaxBid
77 sponsoredSearchON
78 status
79 watchON
80  
81 =back
82  
83 =head2 get (read only) methods
84  
85 =over 8
86  
87 adAutoOptimizationON
88 contentMatchBidStatus
89 contentMatchMaxBidTimestamp
90 contentMatchMinBid
91 createTimestamp
92 deleteTimestamp
93 lastUpdateTimestamp
94 sponsoredSearchMaxBidTimestamp
95  
96 =back
97  
98 =cut
99  
« Marketing/AdEditorialReasons.pm ↑ Summary Marketing/AdGroupCarrierConfig.pm »