package Google::Adwords; use strict; use warnings; use version; our $VERSION = qv('1.8.2'); 1; =pod =head1 NAME Google::Adwords - an interface which abstracts the Google Adwords SOAP API =head1 VERSION This documentation refers to Google::Adwords version 1.8.2 =head1 API VERSION Google::Adwords currently uses version 11 (v11) of the Adwords API. As such, this version of Google::Adwords does not support earlier API versions. If you have a need to use earlier API versions, please use the corresponding earlier version of Google::Adwords =head1 SYNOPSIS use Google::Adwords::CampaignService; use Google::Adwords::Campaign; # create the service my $service = Google::Adwords::CampaignService->new(); # login details $service->email('email@domain.com') ->password('password') ->developerToken($developer_token) ->applicationToken($app_token); # if you use a MCC #$service->clientEmail('clientemail@domain.com'); # or (but not both) #$service->clientCustomerId('xxx-xxx-xxxx'); # if you want SOAP trace output #$service->debug(1); # create a campaign object my $campaign = Google::Adwords::Campaign->new(); # fill in your campaign details $campaign->name('my campaign #1') ->dailyBudget(100000) ->status('Paused'); # add the campaign my $campaign_response = $service->addCampaign($campaign); # ID of new campaign my $campaign_id = $campaign_response->id; # time taken for the API call my $response_time = $service->responseTime; # quota units consumed my $units_consumed = $service->units; =head1 DESCRIPTION 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. =over * Base Service Class - L =back Read the manual page for this module in order to see how to setup your authentication details and other options available B =over * CampaignService - L * InfoService - L * AdGroupService - L * AccountService - L * AdService - L * ReportService - L * TrafficEstimatorService - L * CriterionService - L * KeywordToolService - L =back B =over * Campaign - L * GeoTarget - L * CountryTargets - L * CityTargets - L * MetroTargets - L * RegionTargets - L * AdSchedule - L * SchedulingInterval - L * BudgetOptimizerSettings - L * StatsRecord - L * AdGroup - L * ClientUsageRecord - L * AccountInfo - L * EmailPromotionsPreferences - L * Address - L * CoverageType - L * CreditCard - L * Creative - L * Image - L * ReportJob - L * KeywordRequest - L * KeywordEstimate - L * AdGroupRequest - L * AdGroupEstimate - L * CampaignRequest - L * CampaignEstimate - L * Business - L * Criterion - L * Ad - L * KeywordVariation - L * KeywordVariations - L * SeedKeyword - L * SiteKeyword - L * SiteKeywordGroups - L =back =head1 DEPENDENCIES * SOAP::Lite * Crypt::SSLeay * Class::Accessor::Chained * Date::Manip * HTML::Entities =head1 THANKS * The Yahoo::Marketing module on which this module draws heavily from * betonmarkets.com - For the initial requirement and funding =head1 SEE ALSO Mailing List at L =head1 AUTHORS Rohan Almeida Mathieu Jondet =head1 LICENSE AND COPYRIGHT Copyright (c) 2006-2008 Rohan Almeida . 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.