Google::Ads::AdWords::OAuthHandler


Back to Top


NAME

Google::Ads::AdWords::OAuthHandler

Back to Top


DESCRIPTION

A concrete implementation of the Google::Ads::Common::OAuthHandler manpage that defines the scope required to access AdWords API servers using OAuth. Refer to the Google::Ads::Common::OAuthHandler manpage for a complete documentation of all the methods supported by this handler class.

Back to Top


ATTRIBUTES

Each of these attributes can be set via Google::Ads::AdWords::OAuthHandler->new(). Alternatively, there is a get_ and set_ method associated with each attribute for retrieving or setting them dynamically. For example, the set_server() allows you to change the value of the server attribute and get_server() returns the current value of the server URL.

server

The AdWords API server endpoint to use, valid values are: https://adwords.google.com and https://adwords-sandbox.google.com

Back to Top


METHODS

_scope

Method defined by the Google::Ads::Common::OAuthHandler manpage as required to be implemented to support OAuth.

Returns

A valid XOAuth scope value used to sign and generate requests against the AdWords API.

Back to Top


LICENSE AND COPYRIGHT

Copyright 2011 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Back to Top


AUTHOR

David Torres <api.davidtorres at gmail.com>

Back to Top


REPOSITORY INFORMATION

 $Rev: $
 $LastChangedBy: $
 $Id: $

Back to Top

 Google::Ads::AdWords::OAuthHandler