Google::Adwords::Business - A Google Adwords Business object.
This documentation refers to Google::Adwords::Business version 0.0.1
use Google::Adwords::AdService; use Google::Adwords::Business; # create the AdService object my $service = Google::Adwords::AdService->new(); # need to login to the Adwords service $service->email($email_address) ->password($password) ->developerToken($developer_token) ->applicationToken($app_token); # if you have a MCC $service->clientEmail($client_email); # find businesses my @businesses = $service->findBusinesses({ name => 'Google', address => 'Street Address, countryCode => 'US', }); for (@businesses) { "Phone Number: " . $_->phoneNumber . "\n"; }
This object should be used with the AdService API calls
Accessors
* address
* city
* countryCode
* key
* latitude
* longitude
* name
* phoneNumber
* postalCode
* region
* timestamp
Google::Adwords::AdService
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.