The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package Yahoo::Marketing::APT::Ad;
# Copyright (c) 2010 Yahoo! Inc.  All rights reserved.  
# The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997) 

use strict; use warnings;

use base qw/Yahoo::Marketing::ComplexType/;

=head1 NAME

Yahoo::Marketing::APT::Ad - a data object to represent a Ad.

=cut

sub _user_setable_attributes {
    return ( qw/ 
                 ID
                 accountID
                 adOptimizationWeight
                 clickThroughURLs
                 createTimestamp
                 endDate
                 lastUpdateTimestamp
                 legacyAdGroupID
                 libraryAdID
                 placementID
                 startDate
                 status
                 type
            /  );
}

sub _read_only_attributes {
    return ( qw/
           / );
}

__PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, 
                           __PACKAGE__->_read_only_attributes
                         );


1;
=head1 SYNOPSIS

See L<http://help.yahoo.com/l/us/yahoo/ewsapt/webservices/reference/data/> for documentation of the various data objects.


=cut

=head1 METHODS

=head2 new

Creates a new instance

=head2 get/set methods

=over 8

    ID
    accountID
    adOptimizationWeight
    clickThroughURLs
    createTimestamp
    endDate
    lastUpdateTimestamp
    legacyAdGroupID
    libraryAdID
    placementID
    startDate
    status
    type

=back

=head2 get (read only) methods

=over 8


=back

=cut