Rohan Almeida > Google-Adwords > Google::Adwords::SchedulingInterval

Download:
Google-Adwords-v1.14.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  2
View Bugs
Report a bug
Module Version: 0.0.1   Source  

NAME ^

Google::Adwords::SchedulingInterval - A Google Adwords SchedulingInterval object.

VERSION ^

This documentation refers to Google::Adwords::SchedulingInterval version 0.0.1

SYNOPSIS ^

    # Create the Campaign object
    my $campaign = Google::Adwords::Campaign->new();

    # Campaign Details
    $campaign->name('Campaign with an Ad Schedule');
    $campaign->dailyBudget(100000);
    $campaign->languageTargeting({
        languages => 'en',
    });

    # Ad scheduling interval
    my $schedule1 = Google::Adwords::SchedulingInterval->new();
    $schedule1->day('Monday')
              ->startHour(1)
              ->endHour(10)
              ->multiplier(1)
    ;

    # Ad Schedule
    my $ad_schedule = Google::Adwords::AdSchedule->new();
    $ad_schedule->status('Enabled');
    $ad_schedule->intervals([ $schedule1 ]);

    # Associate the Ad Schedule with the Campaign
    $campaign->schedule($ad_schedule);

DESCRIPTION ^

This object should be used with the CampaignService API calls

METHODS ^

Mutators (read/write)

* day

* endHour

* endMinute

* multiplier

* startHour

* startMinute

SEE ALSO ^

AUTHOR ^

Rohan Almeida <rohan@almeida.in>

LICENSE AND COPYRIGHT ^

Copyright (c) 2006 Rohan Almeida <rohan@almeida.in>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.