| 1 | package Yahoo::Marketing::Keyword; | ||
| 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::Keyword - an object to represent a Yahoo Marketing Keyword. | ||
| 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 | advancedMatchON | ||
| 21 | alternateText | ||
| 22 | canonicalSearchText | ||
| 23 | carrierConfig | ||
| 24 | editorialStatus | ||
| 25 | participatesInMarketplace | ||
| 26 | phraseSearchText | ||
| 27 | sponsoredSearchMaxBid | ||
| 28 | status | ||
| 29 | text | ||
| 30 | update | ||
| 31 | url | ||
| 32 | watchON | ||
| 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 | sponsoredSearchBidStatus | ||
| 42 | sponsoredSearchMaxBidTimestamp | ||
| 43 | sponsoredSearchMinBid | ||
| 44 | / ); | ||
| 45 | } | ||
| 46 | |||
| 47 | 25 | __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, | |
| 48 | __PACKAGE__->_read_only_attributes | ||
| 49 | ); | ||
| 50 | |||
| 51 | |||
| 52 | 25 | 1; | |
| 53 | =head1 SYNOPSIS | ||
| 54 | |||
| 55 | See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> for documentation of the various data objects. | ||
| 56 | |||
| 57 | |||
| 58 | =cut | ||
| 59 | |||
| 60 | =head1 METHODS | ||
| 61 | |||
| 62 | =head2 new | ||
| 63 | |||
| 64 | Creates a new instance | ||
| 65 | |||
| 66 | =head2 get/set methods | ||
| 67 | |||
| 68 | =over 8 | ||
| 69 | |||
| 70 | ID | ||
| 71 | accountID | ||
| 72 | adGroupID | ||
| 73 | advancedMatchON | ||
| 74 | alternateText | ||
| 75 | canonicalSearchText | ||
| 76 | carrierConfig | ||
| 77 | editorialStatus | ||
| 78 | participatesInMarketplace | ||
| 79 | phraseSearchText | ||
| 80 | sponsoredSearchMaxBid | ||
| 81 | status | ||
| 82 | text | ||
| 83 | update | ||
| 84 | url | ||
| 85 | watchON | ||
| 86 | |||
| 87 | =back | ||
| 88 | |||
| 89 | =head2 get (read only) methods | ||
| 90 | |||
| 91 | =over 8 | ||
| 92 | |||
| 93 | createTimestamp | ||
| 94 | deleteTimestamp | ||
| 95 | lastUpdateTimestamp | ||
| 96 | sponsoredSearchBidStatus | ||
| 97 | sponsoredSearchMaxBidTimestamp | ||
| 98 | sponsoredSearchMinBid | ||
| 99 | |||
| 100 | =back | ||
| 101 | |||
| 102 | =cut | ||
| 103 | |||