Answering my own question.  Appears that all I need is the following.  
Please let me know if I missed anything.

# My app info
#  mpd75_UlK5yotWCYCVmzcg
$client->get_oauth_2_handler()->set_client_id($my_id);
$client->get_oauth_2_handler()->set_client_secret($secret);
$client->set_developer_token($dev_token);

# Clients info
$client->get_oauth_2_handler()->set_access_token($access_token);
$client->get_oauth_2_handler()->set_refresh_token($refresh_token);



On Tuesday, March 26, 2013 10:49:42 AM UTC-7, Noah wrote:
>
> Hello,
>
> Setting up some new code with the Perl API.
>
> Set up a small script so that a client was able to allow me access through 
> Oauth2.  I've stored the resulting access and refresh tokens.
>
> Now, I want to use some of the example scripts in the perl adwords library 
> to look at their campaign, pull reports, etc.  Don't want to use the 
> adwords properties file as I will be doing this for many different clients.
>
> Not sure how to use the access (or refresh) tokens in the Perl code so 
> that I can execute the examples for different clients.  My assumption is 
> that I'll need to use the refresh token first, then pass the updated token 
> to the $client object in Perl.  But I don't know how to execute this.
>
> Can someone explain, or is there a good example online?
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to