Re: Проблема с отправкой любого запроса - OAUTH_TOKEN_INVALID

2016-10-28 Thread treto1ctest
Спасибо большое!!!
"scope=https://www.googleapis.com/auth/adwords; помогло!

On Friday, October 28, 2016 at 1:26:47 PM UTC+3, Joyce Lava wrote:
>
> Hello,
>
> Could you please try to use the scope as 
> https://www.googleapis.com/auth/adwords specified in the OAuth2 guide 
>  
> and 
> let me know the results? Also, you may find this documentation 
> 
>  helpful 
> to learn more about the formatting of the HTTP headers.
>
> Regards,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/77e29c2b-0540-4fd2-9ad3-07acc1b61dc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Проблема с отправкой любого запроса - OAUTH_TOKEN_INVALID

2016-10-28 Thread 'Joyce Lava' via AdWords API Forum
Hello,

Could you please try to use the scope as
 https://www.googleapis.com/auth/adwords specified in the OAuth2 guide 
 
and 
let me know the results? Also, you may find this documentation 

 helpful 
to learn more about the formatting of the HTTP headers.

Regards,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0a0d863a-a986-4839-8b3b-a66e044667a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Проблема с отправкой любого запроса - OAUTH_TOKEN_INVALID

2016-10-28 Thread treto1ctest
НЕ использую клиенские библиотеки. 
Пользуюсь SOAP запросами.
Отправляю:


http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201609;>
   
 
 ххх-ххх-
 х
 1cAdWords
 false
 false
  
   
   
  
 
Name
 
  
   


Заголовки:

Authorization - Bearer "access_token"
Content-Type - "text/xml;charset=UTF-8"

В ответ получаю:

http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201609;>
00053fe959b74c600a37354bc2011c10
CampaignService
get
1
23




soap:Server
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
trigger:'null']
https://adwords.google.com/api/adwords/cm/v201609;>
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
trigger:'null']
ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AuthenticationError">

null
AuthenticationError.OAUTH_TOKEN_INVALID
AuthenticationError
OAUTH_TOKEN_INVALID







On Friday, October 28, 2016 at 11:47:51 AM UTC+3, Joyce Lava wrote:
>
> Hi,
>
> Apologies as I can only provide support in English. Could you please 
> confirm if you are using one of our client libraries 
> ? Also, 
> could you please provide the complete SOAP request and response when you 
> encountered this error? Please use *reply privately to author *when 
> responding.
>
> Thanks,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b68d44b3-5feb-4a29-829a-c5e48365c937%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Проблема с отправкой любого запроса - OAUTH_TOKEN_INVALID

2016-10-28 Thread 'Joyce Lava' via AdWords API Forum
Hi,

Apologies as I can only provide support in English. Could you please 
confirm if you are using one of our client libraries 
? Also, 
could you please provide the complete SOAP request and response when you 
encountered this error? Please use *reply privately to author *when 
responding.

Thanks,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2b34-d43f-4e6e-8175-d451c8c47743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Проблема с отправкой любого запроса - OAUTH_TOKEN_INVALID

2016-10-28 Thread treto1ctest

Добрый день!
Получаю access_token через refresh_token.

Информация по access_token :
{
 "issued_to": "хх.apps.googleusercontent.com",
 "audience": "хх.apps.googleusercontent.com",
 "user_id": "хх",
 "scope": "https://www.googleapis.com/auth/userinfo.email 
https://www.googleapis.com/auth/userinfo.profile;,
 "expires_in": 1870,
 "email": "treto1ct...@gmail.com",
 "verified_email": true,
 "access_type": "offline"
}

При использовании access_token  в любом запросе получаю:
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
trigger:'null']

Что не так с моим access_token?
В чем может быть проблема?
Спасибо за ответ!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/95363826-f94b-401f-9b78-6c15ed51b818%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.