Google::Adwords::Business - A Google Adwords Business object.


Google-Adwords documentation  | view source Contained in the Google-Adwords distribution.

Index


NAME

Top

Google::Adwords::Business - A Google Adwords Business object.

VERSION

Top

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

SYNOPSIS

Top

    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);
    # or 
    $service->clientCustomerId($customerid);

    # find businesses
    my @businesses = $service->findBusinesses({
        name            => 'Google',
        address         => 'Street Address,
        countryCode     => 'US',
    });

    for (@businesses) {
        "Phone Number: " . $_->phoneNumber . "\n";
    }




DESCRIPTION

Top

This object should be used with the AdService API calls

METHODS

Top

Accessors

* address

* city

* countryCode

* key

* latitude

* longitude

* name

* phoneNumber

* postalCode

* region

* timestamp

SEE ALSO

Top

* Google::Adwords::AdService

AUTHOR

Top

Rohan Almeida <rohan@almeida.in>

LICENSE AND COPYRIGHT

Top


Google-Adwords documentation  | view source Contained in the Google-Adwords distribution.