It looks like I just needed to have the latest 
HTTP/Message.pm<http://search.cpan.org/~gaas/HTTP-Message-6.03/lib/HTTP/Message.pm>
 v6.0.3 
module installed since the version I had installed did not have the method 
decode() which was being passed to the AUTOLOAD() subroutine in the 
HTTP/Message.pm module.

So after initializing the Client object like you suggested then I stepped 
through the oauth2 perl example:
http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/examples/v201206/misc/use_oauth2.pl

but the url returned from
$auth_handler->get_authorization_url() 
is an invalid url:

https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=<client_id>&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offline&approval_prompt=auto&state=

where <client_id> is my client_id

Is there something else that I am missing?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to