Oh, and to clarify my last post: I am already using the offline access 
permission.

On Friday, April 5, 2013 12:42:03 PM UTC-4, 
becky.ru...@hanapinmarketing.com wrote:
>
> Isn't it true, though, that OAuth2 tokens do not suffice for downloading 
> reports?
>
> I am using the OAuth2 flow for a web application, and it works just fine 
> for most account management tasks whether or not the user is online. 
>  However, as soon as I try to download a report, it tells me that the oauth 
> token is invalid.
>
> Am I missing something, or do I need to set up a service account?
>
> On Wednesday, February 13, 2013 5:07:18 PM UTC-5, Kevin Winter (AdWords 
> API Team) wrote:
>>
>> Hi,
>>   This code example shows how to use OAuth2 with a refresh 
>> token<https://code.google.com/p/google-api-adwords-php/source/browse/examples/v201209/Misc/UseOAuth2.php>.
>>  
>>  Can I ask why you need to use a service account?  In most cases, using a 
>> one-time OAuth2 flow requesting offline access is the functional equivalent 
>> of a service account.  Simply request an access token (using the refresh 
>> token obtained in the one-time setup) each time your automated process runs 
>> and you should be good.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Friday, February 8, 2013 11:58:51 AM UTC-5, Márton Gombó wrote:
>>>
>>> Hi!
>>>
>>> Can someone help me with example, and/or detailed description?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to