Google::Adwords - an interface which abstracts the Google Adwords SOAP API
This documentation refers to Google::Adwords version 0.0.1
use Google::Adwords::CampaignService; use Google::Adwords::Campaign; my $ginfo = Google::Adwords::CampaignService->new(); $ginfo->email('email@domain.com') ->password('password') ->token('developer_token'); # create a campaign object my $campaign = Google::Adwords::Campaign->new(); $campaign->name('my campaign #1') ->dailyBudget(100000) ->status('Paused'); # add the campaign my $campaign_response = $ginfo->addCampaign({ campaign => $campaign, }); # ID of new campaign my $campaign_id = $campaign_response->id;
This collection of modules under Google::Adwords provides an easy to use object oriented interface to the Google Adwords SOAP API. You don't need to understand SOAP or web services to use this module.
Each API Service belongs to a particular module.
* CampaignService - Google::Adwords::CampaignService
* InfoService - Google::Adwords::InfoService
Some services like the CampaignService need to deal with complex data types which are available as objects.
* Campaign - Google::Adwords::Campaign
Please read the documentation for the above modules.
* SOAP::Lite
* The Yahoo::Marketing module on which this module draws heavily from
* betonmarkets.com - For the initial requirement and funding
Rohan Almeida <rohan@almeida.in>
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.
To install Google::Adwords, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Adwords
CPAN shell
perl -MCPAN -e shell install Google::Adwords
For more information on module installation, please visit the detailed CPAN module installation guide.