Hello Jani,

The method seems correct but it looks like the access token is not valid. 
As you generate it with your code we are not able to help here.

Make sure you use the correct ClientID and secret and the scope is valid 
for AdWords. You may want to try to generate an access token with one of 
our libs and try if it works within your app first.


-Danial, AdWords API Team.


On Sunday, August 4, 2013 6:06:59 AM UTC+4, Jani Link wrote:
>
> I don't use any of the libraries on the library page.  I am using NodeJs. 
>  I am trying to make a direct http post to get Adhoc reports with the 
> accessToken I receive from Oauth using passport-google-oauth npm and the 
> adwords api scope.  I set the Authorization header to "Bearer 
> [accessToken]", but I am still receiving an invalid oauth token error. 
>  What is the correct method for making this post, there are no explicit 
> instructions for oauth 2.
>
>
> On Wednesday, July 17, 2013 4:58:11 AM UTC-4, Danial Klimkin wrote:
>>
>> Hello,
>>
>>
>> Did you see this guide? Please let us know if you need more details.
>>
>>   https://code.google.com/p/google-api-adwords-php/wiki/OAuth2
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, July 16, 2013 6:47:02 PM UTC+4, SylvainFR wrote:
>>>
>>> Thanks for your answer.
>>>
>>> We use PHP library : https://code.google.com/p/google-api-adwords-php/
>>>
>>> Best regards
>>>
>>> Le vendredi 12 juillet 2013 13:10:25 UTC+2, SylvainFR a écrit :
>>>>
>>>> Hello,
>>>>
>>>> We work on Adhoc report.
>>>>
>>>> With Clientlogin, no problem, all works fine.
>>>>
>>>> We tried with Oauth2 but we did not find the way to get report with 
>>>> this (recommanded!) method.
>>>>
>>>> Is that possible to get documentation or step-by-step guide about 
>>>> getting report with Oauth2 identification ?
>>>>
>>>> Best regards
>>>>
>>>

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