NAME

Google::Adwords::Service - Base class for the Service modules

VERSION

This documentation refers to Google::Adwords::Service version 0.1

DESCRIPTION

This module is not supposed to be used directly. Use the child Service modules.

METHODS

These accessors are available across all the child Service modules

new()

Description

    Creates a new Google::Adwords::Service object

Usage

        my $service = Google::Adwords::CampaignService->new();

Parameters

    NONE

Returns

    A Google::Adwords::Service object

email()

    Set/Get your Google Adwords account name (your email address). This value should be set before calling any other API methods

password()

    Set/Get your Google Adwords account password. This value should be set before calling any other API methods

token()

    Set/Get your Google Adwords developer token. This value should be set before calling any other API methods

clientEmail()

    Use this if you have a MCC (My Client Center) account. Set/Get the actual client email which will be used for the API calls.

useragent()

    Set this to an arbitrary string that identifies the customer sending the request. Default value is "Google::Adwords $VERSION"

use_sandbox()

    If you do $obj->use_sandbox(1), then this module will use the sandbox for all API calls.

timeout()

    Set the SOAP timeout value in seconds. Default value is 20.

debug()

    Use $obj->debug(1) if you want to see the request/response XML

DEPENDENCIES

  • SOAP::Lite

  • Class::Accessor::Chained

AUTHOR

Rohan Almeida <rohan@almeida.in>

LICENCE 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.