Re: При выполнении любого запроса получаю: OAUTH_TOKEN_INVALID

2016-12-06 Thread treto1ctest
Спасибо за ответ, да, мне дается 3600секунд на использование одного итого 
же токена, но это перестало работать, как толькоя его получил, при 
следующем запросе он уже не действителен, почему-то.
Поэтому приходиться каждый раз, при каждом запросе получать токен.

On Tuesday, December 6, 2016 at 10:01:25 PM UTC+2, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi,
>
> I'm afraid I can respond to your query in English only. You are correct, 
> once an access token is generated, it is valid for 3600 seconds and can be 
> reused with multiple requests during that time interval. You may see the 
> OAUTH_TOKEN_INVALID 
> 
>  error 
> if the access token in your request header has already expired. After an 
> access token expires, you can generate a new token using your refresh 
> token 
> .
>  
> To clarify on your question, do you mean you generate a new access token 
> for every request? Could you please elaborate why that's the case? 
>
> Regards,
> Vishal, 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/85bf1bda-9aa2-4ba8-b9c5-e63724b1a006%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: При выполнении любого запроса получаю: OAUTH_TOKEN_INVALID

2016-12-06 Thread treto1ctest
Еще момент: я получаю access_token раз в 3600секунд.
Так вот, там где я получал ошибку, если сейчас сделать получение 
access_token  из refresh_token при каждом запросе - тогда ошибка 
отсутствует.
Опять же, раньше все работало хорошо, не понятно из-за чего перестало 
сегодня...

On Tuesday, December 6, 2016 at 4:11:15 PM UTC+2, treto...@gmail.com wrote:
>
> Добрый день!
> До сегодняшнего для работал обмен с эдвордс.
> Сегодня начал получать ошибку вида: 
> [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
> Причем, получаю ошибку на своем сервере, если выполняю запрос со свого 
> компьютера - тогда все хорошо, запрос отрабатывает без ошибки.
> Код, который выполняется идентичный, выходит на одном компьтере 
> отрабаывтает как нужно, а на другом перестало - поулчаю ошибку.
> access_token получаю из refresh_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/e92e1f11-b1d6-4fcb-9df2-41ccfe10f4e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


При выполнении любого запроса получаю: OAUTH_TOKEN_INVALID

2016-12-06 Thread treto1ctest
Добрый день!
До сегодняшнего для работал обмен с эдвордс.
Сегодня начал получать ошибку вида: 
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
Причем, получаю ошибку на своем сервере, если выполняю запрос со свого 
компьютера - тогда все хорошо, запрос отрабатывает без ошибки.
Код, который выполняется идентичный, выходит на одном компьтере 
отрабаывтает как нужно, а на другом перестало - поулчаю ошибку.
access_token получаю из refresh_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/a37495d1-7b90-4adc-82ca-1eac432d6d49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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:'']
https://adwords.google.com/api/adwords/cm/v201609";>
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
trigger:'']
ApiException
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AuthenticationError">


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.


Проблема с отправкой любого запроса - 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:'']

Что не так с моим 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.


Re: Ошибка поулчения access token

2016-10-27 Thread treto1ctest
Разобрался с проблемой, не одинаковые redirect_uri была, сделал в первом и 
втором запросе одинаковые redirect_uri и все сработало. Спасибо. Проблема 
решена.

On Thursday, October 27, 2016 at 12:57:32 PM UTC+3, treto...@gmail.com 
wrote:
>
> Тут разобрался, посылал запрос:
>
>
> https://accounts.google.com/o/oauth2/v2/auth?scope=email%20profile&state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=&access_type=offline
>  
> 
>
> В отчет получил code. 
> Далее использую code в запросе:
>
>
> https://www.googleapis.com/oauth2/v4/token?code=ххх&client_id=ххх&client_secret=ххх&redirect_uri=https://oauth2.example.com/code&grant_type=authorization_code
>
> В ответ получаю:
> {
>  "error": "redirect_uri_mismatch",
>  "error_description": "Bad Request",
>  "error_uri": ""
> }
>
> в ответ получаю 
>
> On Thursday, October 27, 2016 at 10:39:20 AM UTC+3, treto...@gmail.com 
> wrote:
>>
>> Получаю новый refresh token.
>> Использую  Offline access.
>> Для начала отправляю запрос вида:
>>
>> https://accounts.google.com/o/oauth2/v2/auth?%20scope=email%20profile&%20state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&%20redirect_uri=https%3A%2F%2Foauth2.example.com%2Fcode&%20response_type=code&%20client_id=х&%20access_type=offline
>>  
>> 
>>
>> Должен в ответ code прийти, но получаю :
>> *400.* That’s an error.
>> *Error: invalid_request* 
>>
>> On Wednesday, October 26, 2016 at 11:17:11 PM UTC+3, Shwetha Vastrad 
>> (AdWords API Team) wrote:
>>>
>>> Hi,
>>>
>>> I'm afraid I can only respond in English. Refresh tokens can sometimes 
>>> become invalid as well. There is a maximum of 50 refresh tokens that can be 
>>> valid at a time. If you generate a refresh token for the 51st time, the 1st 
>>> refresh token becomes invalid. Refresh tokens can also be manually revoked. 
>>> I would suggest that you generate a new refresh token and use this to get 
>>> an access token by following the instructions provided here 
>>> 
>>> . 
>>>
>>> Let me know if this works.
>>>
>>> Regards,
>>> Shwetha, 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/4622c760-95dd-4a64-8092-1b540d976716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ошибка поулчения access token

2016-10-27 Thread treto1ctest
Тут разобрался, посылал запрос:

https://accounts.google.com/o/oauth2/v2/auth?scope=email%20profile&state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=&access_type=offline

В отчет получил code. 
Далее использую code в запросе:

https://www.googleapis.com/oauth2/v4/token?code=ххх&client_id=ххх&client_secret=ххх&redirect_uri=https://oauth2.example.com/code&grant_type=authorization_code

В ответ получаю:
{
 "error": "redirect_uri_mismatch",
 "error_description": "Bad Request",
 "error_uri": ""
}

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

On Thursday, October 27, 2016 at 10:39:20 AM UTC+3, treto...@gmail.com 
wrote:
>
> Получаю новый refresh token.
> Использую  Offline access.
> Для начала отправляю запрос вида:
>
> https://accounts.google.com/o/oauth2/v2/auth?%20scope=email%20profile&%20state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&%20redirect_uri=https%3A%2F%2Foauth2.example.com%2Fcode&%20response_type=code&%20client_id=х&%20access_type=offline
>  
> 
>
> Должен в ответ code прийти, но получаю :
> *400.* That’s an error.
> *Error: invalid_request* 
>
> On Wednesday, October 26, 2016 at 11:17:11 PM UTC+3, Shwetha Vastrad 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> I'm afraid I can only respond in English. Refresh tokens can sometimes 
>> become invalid as well. There is a maximum of 50 refresh tokens that can be 
>> valid at a time. If you generate a refresh token for the 51st time, the 1st 
>> refresh token becomes invalid. Refresh tokens can also be manually revoked. 
>> I would suggest that you generate a new refresh token and use this to get 
>> an access token by following the instructions provided here 
>> 
>> . 
>>
>> Let me know if this works.
>>
>> Regards,
>> Shwetha, 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/3ee8cff4-dc02-46ae-a48f-22e711ac76b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ошибка поулчения access token

2016-10-27 Thread treto1ctest
Получаю новый refresh token.
Использую  Offline access.
Для начала отправляю запрос вида:
https://accounts.google.com/o/oauth2/v2/auth?%20scope=email%20profile&%20state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&%20redirect_uri=https%3A%2F%2Foauth2.example.com%2Fcode&%20response_type=code&%20client_id=х&%20access_type=offline

Должен в ответ code прийти, но получаю :
*400.* That’s an error.
*Error: invalid_request* 

On Wednesday, October 26, 2016 at 11:17:11 PM UTC+3, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi,
>
> I'm afraid I can only respond in English. Refresh tokens can sometimes 
> become invalid as well. There is a maximum of 50 refresh tokens that can be 
> valid at a time. If you generate a refresh token for the 51st time, the 1st 
> refresh token becomes invalid. Refresh tokens can also be manually revoked. 
> I would suggest that you generate a new refresh token and use this to get 
> an access token by following the instructions provided here 
> 
> . 
>
> Let me know if this works.
>
> Regards,
> Shwetha, 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/63138f3e-6926-4b89-94a7-1263cf228c12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ошибка поулчения access token

2016-10-26 Thread treto1ctest
Добрый день! Получаю ошибку при получении access token из refresh token:
{
 "error": "invalid_grant",
 "error_description": "Bad Request",
 "error_uri": ""
}
Код ошибки - 400 

Отправляю запрос: 
https://www.googleapis.com/oauth2/v3/token&grant_type=refresh_token&client_id=х&client_secret=хх&refresh_token=ххх

Раньше работало все замечательно, пару недель назад перестало.
Причет ошибка только на тестовом аккаунте.
На рабочым аккаунте все работает.
Подскажите в чем может быть причина ошибки?
Может refresh_token устарел? 
Может нужно перегенерировать refresh_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/78bf52d2-1823-4d98-aab2-dce870ae3cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Перестал получаться access token

2016-10-26 Thread treto1ctest
Добрый день!
У меня проблема, при попытке получить access token.
Посылаю запрос:
https://www.googleapis.com/oauth2/v3/token&grant_type=refresh_token&client_id=511638208817-1qo5ntvk4of9hos4vhkivp3nkmince46.apps.googleusercontent.com&client_secret=-oZQZE9VECkK60-GaWqbXnIk&refresh_token=1/GUUFfdPJ7iX2HnIMG6xDfwV9lC0CAyWOoZ9Owz_R2W4

в ответ стал получать:
{
 "error": "invalid_grant",
 "error_description": "Bad Request",
 "error_uri": ""
}
и 400 ошибку.

Хотя пару недель назад все работало, ничего не менялось. Этапроблема 
наблюдается в тестовом аккаунте.
В живом, рабочем аккаунте все хорошо, работает без проблем.
В чем может быть проблема?
refresh_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/116679b6-60f6-4ae0-ab0e-c3b2a5ce599a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Как сделать чтобы ответ приходил на английском языке

2016-05-23 Thread treto1ctest
hi, there is news on the topic?
change any language settings do not solve the problem

On Wednesday, May 18, 2016 at 12:58:53 AM UTC+3, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> I'm following up with the engineers on this one. I'll reply back as soon 
> as I have an update.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, May 17, 2016 at 2:39:41 AM UTC-4, treto...@gmail.com 
>  wrote:
>>
>> В аккаунте у меня был указан английский:
>>
>>
>> 
>> НО все-равно сообщения приходят на русском языке. Видимо проблема в 
>> чем-то другом.
>>
>> понедельник, 16 мая 2016 г., 16:09:07 UTC+3 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> That determines the language preferences for the *AdWords user 
>>> interface*, but my theory is that the language settings that are 
>>> driving the language of the policy violation are from the Google 
>>> *account's* language settings.
>>>
>>> While logged in as the user whose OAuth credentials you are using, 
>>> please do the following:
>>>
>>>1. Go to accounts.google.com.
>>>2. Click on *Language & Input Tools* under *Account preferences*.
>>>3. Check if the language selected there is Russian.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Monday, May 16, 2016 at 2:45:30 AM UTC-4, treto...@gmail.com wrote:

 У меня в настройках аккаунта указан английский язык.


 
 Или нужно не здесь устанавливать язык?

 воскресенье, 15 мая 2016 г., 20:19:21 UTC+3 пользователь Josh Radcliff 
 (AdWords API Team) написал:
>
> Hi,
>
> Sorry, I can only answer in English, but I believe that the language 
> of the policy description and text is driven by the language settings of 
> the OAuth credential's user. If you use OAuth credentials from a user 
> whose 
> language is set to English, you should get the policy error information 
> back in English.
>
> Regarding your other question, you can resubmit some operations that 
> failed due to policy violations by using exemption requests. Please see 
> the Exemption 
> Requests guide 
> 
>  for 
> more details.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, May 13, 2016 at 3:22:22 AM UTC-4, treto...@gmail.com wrote:
>>
>> Добрый день.
>> Отправляю запрос на создание объявления:
>>
>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>>> https://adwords.google.com/api/adwords/cm/v201603";>
>>>
>>>   
>>>   ххх-ххх-
>>>   хх
>>>   1cAdWords
>>>   false
>>>   false
>>>
>>>
>>>
>>>   https://adwords.google.com/api/adwords/cm/v201603";>
>>>  http://www.w3.org/2001/XMLSchema-instance";>
>>> ADD
>>> 
>>>22928495953
>>>https://adwords.google.com/api/adwords/cm/v201603"; 
>>> i:type="ns2:TextAd">
>>>   
>>>   http://tile.expert
>>> 
>>>   
>>> https://tile.expert/it/tile/Abita/Ego 
>>>   Piastrelle Ego di 
>>> Abita
>>>   Da 24 € Consegna in Italia 
>>> 10gg
>>>   Sito web con prezzi, foto, 
>>> ordini
>>>
>>>ENABLED
>>>
>>> 
>>>  
>>>   
>>>
>>> 
>>
>>
>> В ответ получаю ответ с ошибкой:
>>
>>> >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201603";>
>>> 000532b4046d72a80ac12c487f0b70b8
>>> AdGroupAdService
>>> mutate
>>> 1
>>> 209
>>> 
>>> 
>>> 
>>> soap:Server
>>> 
>>> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
>>> operations[0].operand.ad.headline, 
>>> key=PolicyViolationKey{policyName=tobacco,violatingText=Ego}, 
>>> externalPolicyName=Сигареты и табачные изделия, externalPolicyUrl=, 
>>> externalPolicyDescription=Google не допускает рекламу табака и табачных 
>>> изделий. См. наш >> http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>>>  
>>> список правил., isExemtable=true, 
>>> violatingParts=[Part{index=11, 
>>> length=3}]}]
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201603";>
>>> [PolicyViolationError{super=PolicyViolat

Re: Как сделать чтобы ответ приходил на английском языке

2016-05-16 Thread treto1ctest
В аккаунте у меня был указан английский:


НО все-равно сообщения приходят на русском языке. Видимо проблема в чем-то 
другом.

понедельник, 16 мая 2016 г., 16:09:07 UTC+3 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> That determines the language preferences for the *AdWords user interface*, 
> but my theory is that the language settings that are driving the language 
> of the policy violation are from the Google *account's* language settings.
>
> While logged in as the user whose OAuth credentials you are using, please 
> do the following:
>
>1. Go to accounts.google.com.
>2. Click on *Language & Input Tools* under *Account preferences*.
>3. Check if the language selected there is Russian.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, May 16, 2016 at 2:45:30 AM UTC-4, treto...@gmail.com 
>  wrote:
>>
>> У меня в настройках аккаунта указан английский язык.
>>
>>
>> 
>> Или нужно не здесь устанавливать язык?
>>
>> воскресенье, 15 мая 2016 г., 20:19:21 UTC+3 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> Sorry, I can only answer in English, but I believe that the language of 
>>> the policy description and text is driven by the language settings of the 
>>> OAuth credential's user. If you use OAuth credentials from a user whose 
>>> language is set to English, you should get the policy error information 
>>> back in English.
>>>
>>> Regarding your other question, you can resubmit some operations that 
>>> failed due to policy violations by using exemption requests. Please see the 
>>> Exemption 
>>> Requests guide 
>>>  
>>> for 
>>> more details.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, May 13, 2016 at 3:22:22 AM UTC-4, treto...@gmail.com wrote:

 Добрый день.
 Отправляю запрос на создание объявления:

 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
> https://adwords.google.com/api/adwords/cm/v201603";>
>
>   
>   ххх-ххх-
>   хх
>   1cAdWords
>   false
>   false
>
>
>
>   https://adwords.google.com/api/adwords/cm/v201603";>
>  http://www.w3.org/2001/XMLSchema-instance";>
> ADD
> 
>22928495953
>https://adwords.google.com/api/adwords/cm/v201603"; 
> i:type="ns2:TextAd">
>   
>   http://tile.expert
>   https://tile.expert/it/tile/Abita/Ego
>  
>   Piastrelle Ego di Abita
>   Da 24 € Consegna in Italia 
> 10gg
>   Sito web con prezzi, foto, 
> ordini
>
>ENABLED
>
> 
>  
>   
>
> 


 В ответ получаю ответ с ошибкой:

>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201603";>
> 000532b4046d72a80ac12c487f0b70b8
> AdGroupAdService
> mutate
> 1
> 209
> 
> 
> 
> soap:Server
> 
> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
> operations[0].operand.ad.headline, 
> key=PolicyViolationKey{policyName=tobacco,violatingText=Ego}, 
> externalPolicyName=Сигареты и табачные изделия, externalPolicyUrl=, 
> externalPolicyDescription=Google не допускает рекламу табака и табачных 
> изделий. См. наш  http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>  
> список правил., isExemtable=true, 
> violatingParts=[Part{index=11, 
> length=3}]}]
> 
> 
> https://adwords.google.com/api/adwords/cm/v201603";>
> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR 
> @ operations[0].operand.ad.headline, 
> key=PolicyViolationKey{policyName=tobacco,violatingText=Ego}, 
> externalPolicyName=Сигареты и табачные изделия, externalPolicyUrl=, 
> externalPolicyDescription=Google не допускает рекламу табака и табачных 
> изделий. См. наш  http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>  
> список правил., isExemtable=true, 
> violatingParts=[Part{index=11, 
> length=3}]}]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="PolicyViolationError">
> operations[0].operan

Re: Как сделать чтобы ответ приходил на английском языке

2016-05-15 Thread treto1ctest
У меня в настройках аккаунта указан английский язык.


Или нужно не здесь устанавливать язык?

воскресенье, 15 мая 2016 г., 20:19:21 UTC+3 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> Sorry, I can only answer in English, but I believe that the language of 
> the policy description and text is driven by the language settings of the 
> OAuth credential's user. If you use OAuth credentials from a user whose 
> language is set to English, you should get the policy error information 
> back in English.
>
> Regarding your other question, you can resubmit some operations that 
> failed due to policy violations by using exemption requests. Please see the 
> Exemption 
> Requests guide 
>  
> for 
> more details.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, May 13, 2016 at 3:22:22 AM UTC-4, treto...@gmail.com 
>  wrote:
>>
>> Добрый день.
>> Отправляю запрос на создание объявления:
>>
>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>>> https://adwords.google.com/api/adwords/cm/v201603";>
>>>
>>>   
>>>   ххх-ххх-
>>>   хх
>>>   1cAdWords
>>>   false
>>>   false
>>>
>>>
>>>
>>>   https://adwords.google.com/api/adwords/cm/v201603";>
>>>  http://www.w3.org/2001/XMLSchema-instance";>
>>> ADD
>>> 
>>>22928495953
>>>https://adwords.google.com/api/adwords/cm/v201603"; i:type="ns2:TextAd">
>>>   
>>>   http://tile.expert
>>>   https://tile.expert/it/tile/Abita/Ego
>>>  
>>>   Piastrelle Ego di Abita
>>>   Da 24 € Consegna in Italia 
>>> 10gg
>>>   Sito web con prezzi, foto, 
>>> ordini
>>>
>>>ENABLED
>>>
>>> 
>>>  
>>>   
>>>
>>> 
>>
>>
>> В ответ получаю ответ с ошибкой:
>>
>>> >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201603";>
>>> 000532b4046d72a80ac12c487f0b70b8
>>> AdGroupAdService
>>> mutate
>>> 1
>>> 209
>>> 
>>> 
>>> 
>>> soap:Server
>>> 
>>> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
>>> operations[0].operand.ad.headline, 
>>> key=PolicyViolationKey{policyName=tobacco,violatingText=Ego}, 
>>> externalPolicyName=Сигареты и табачные изделия, externalPolicyUrl=, 
>>> externalPolicyDescription=Google не допускает рекламу табака и табачных 
>>> изделий. См. наш >> http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>>>  
>>> список правил., isExemtable=true, violatingParts=[Part{index=11, 
>>> length=3}]}]
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201603";>
>>> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
>>> operations[0].operand.ad.headline, 
>>> key=PolicyViolationKey{policyName=tobacco,violatingText=Ego}, 
>>> externalPolicyName=Сигареты и табачные изделия, externalPolicyUrl=, 
>>> externalPolicyDescription=Google не допускает рекламу табака и табачных 
>>> изделий. См. наш >> http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>>>  
>>> список правил., isExemtable=true, violatingParts=[Part{index=11, 
>>> length=3}]}]
>>> 
>>> ApiException
>>> http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="PolicyViolationError">
>>> operations[0].operand.ad.headline
>>> 
>>> 
>>> PolicyViolationError.POLICY_ERROR
>>> PolicyViolationError
>>> 
>>> tobacco
>>> Ego
>>> Сигареты и табачные 
>>> изделия
>>> 
>>> 
>>> Google не допускает рекламу табака и табачных 
>>> изделий. См. наш >> http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>>>  
>>> список правил.
>>>
>>> true113
>>>  
>>
>>
>> Как видно описание ошибки идет на русском языке, как можно получить этот 
>> же ответ на английском языке? 
>> Мне нужно получать описание ошибок на английском.
>>
>> И ще, есть ли какой-то механизм отправки таких объявлений не прошедших по 
>> каким-то причинам в автоматическом режиме или только через службу 
>> поддержки? Т.е. может есть какой-то сервис которые дает возможность 
>> подавать запрос на одобрение объявлений?
>>
>

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

Как сделать чтобы ответ приходил на английском языке

2016-05-13 Thread treto1ctest
Добрый день.
Отправляю запрос на создание объявления:


>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:v20="https://adwords.google.com/api/adwords/cm/v201603";>
>
>   
>   ххх-ххх-
>   хх
>   1cAdWords
>   false
>   false
>
>
>
>xmlns="https://adwords.google.com/api/adwords/cm/v201603";>
>   xmlns:i="http://www.w3.org/2001/XMLSchema-instance";>
> ADD
> 
>22928495953
> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201603"; 
> i:type="ns2:TextAd">
>   
>   http://tile.expert
>   
> https://tile.expert/it/tile/Abita/Ego 
>   Piastrelle Ego di Abita
>   Da 24 € Consegna in Italia 
> 10gg
>   Sito web con prezzi, foto, 
> ordini
>
>ENABLED
>
> 
>  
>   
>
> 


В ответ получаю ответ с ошибкой:

>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201603";>
> 000532b4046d72a80ac12c487f0b70b8
> AdGroupAdService
> mutate
> 1
> 209
> 
> 
> 
> soap:Server
> 
> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
> operations[0].operand.ad.headline, 
> key=PolicyViolationKey{policyName=tobacco,violatingText=Ego}, 
> externalPolicyName=Сигареты и табачные изделия, externalPolicyUrl=, 
> externalPolicyDescription=Google не допускает рекламу табака и табачных 
> изделий. См. наш  href=http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>  
> список правил., isExemtable=true, violatingParts=[Part{index=11, 
> length=3}]}]
> 
> 
>  xmlns="https://adwords.google.com/api/adwords/cm/v201603";>
> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
> operations[0].operand.ad.headline, 
> key=PolicyViolationKey{policyName=tobacco,violatingText=Ego}, 
> externalPolicyName=Сигареты и табачные изделия, externalPolicyUrl=, 
> externalPolicyDescription=Google не допускает рекламу табака и табачных 
> изделий. См. наш  href=http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>  
> список правил., isExemtable=true, violatingParts=[Part{index=11, 
> length=3}]}]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="PolicyViolationError">
> operations[0].operand.ad.headline
> 
> 
> PolicyViolationError.POLICY_ERROR
> PolicyViolationError
> 
> tobacco
> Ego
> Сигареты и табачные изделия
> 
> 
> Google не допускает рекламу табака и табачных 
> изделий. См. наш  href=http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9279&answer=47228&hl=ru_RU>полный
>  
> список правил.
>
> true113
>  


Как видно описание ошибки идет на русском языке, как можно получить этот же 
ответ на английском языке? 
Мне нужно получать описание ошибок на английском.

И ще, есть ли какой-то механизм отправки таких объявлений не прошедших по 
каким-то причинам в автоматическом режиме или только через службу 
поддержки? Т.е. может есть какой-то сервис которые дает возможность 
подавать запрос на одобрение объявлений?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4f0472e9-fc2a-4296-a88d-342e954c931d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Проблема с созданием нескольких дополнительных ссылок за один запрос AdGroupFeedService

2016-03-24 Thread treto1ctest
Unfortunately you can not use the client library. I need an example of text 
direct request to the service. I will be grateful if you give an example.

среда, 23 марта 2016 г., 19:00:56 UTC+2 пользователь Yin Niu написал:
>
> Hello, 
>
> Depending on the language 
>  you use, 
> you can find an example AddCompleteCampaignsUsingBatchJob in 
> CampaignManagement package. 
>
> Thanks,
> Yin, 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/51c22f83-3456-462e-9b47-2df0c1c80e66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Проблема с созданием нескольких дополнительных ссылок за один запрос AdGroupFeedService

2016-03-22 Thread treto1ctest
Я я перд этим использовал FeedItemService 

 для 
наполнения фида данными.
Потом для создания дополнительных ссылок для группы объявлений я использую 
полученные feedItemId как показал в первом сообщении.
Для одной дополнительной ссылки это работает, а вот если передавать 
неколько - нет!

И еще не подскажите как лучше передавать домолнительные ссылки пакетом, 
т.е. не одну, а по 100 или 1000 за один запрос?
Я отправляю их тысячами - поэтому мне нужно как-то увеличить скорось 
отправки...

понедельник, 21 марта 2016 г., 17:53:01 UTC+2 пользователь Yin Niu написал:
>
> Hello, 
>
> It seems like you are trying to add feedItems. You could use 
> FeedItemService 
> 
>  for 
> that purpose. 
>
> Thanks,
> Yin, 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/6190600f-27f5-4c0c-b84c-8653f2f25663%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Проблема с созданием нескольких дополнительных ссылок за один запрос AdGroupFeedService

2016-03-21 Thread treto1ctest
Добрый день! 
Создаю дополнительные ссылки для групп рекламной компании, хочу ускорить 
процесс, поэтому хочу посылать сразу несколько дополнительных ссылок в 
запросе на создание. Использую только прямые запросы.
Пример запроса на создание 3 дополнительных ссылок:


http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201601"; xmlns:soapenv=
"http://schemas.xmlsoap.org/soap/envelope/";>


ххх-ххх-
х-хх
1cAdWords
false
false





http://www.w3.org/2001/XMLSchema-instance";>
ADD

24098551
22845921913

IN
https://adwords.google.com/api/adwords/cm/v201601";>
FEED_ITEM_ID

https://adwords.google.com/api/adwords/cm/v201601";>
LONG
3733762978

https://adwords.google.com/api/adwords/cm/v201601";>
LONG
3731967914


1
ENABLED



http://www.w3.org/2001/XMLSchema-instance";>
ADD

24098551
22845921913

IN
https://adwords.google.com/api/adwords/cm/v201601";>
FEED_ITEM_ID

https://adwords.google.com/api/adwords/cm/v201601";>
LONG
3733762981

https://adwords.google.com/api/adwords/cm/v201601";>
LONG
3731967914


1
ENABLED



http://www.w3.org/2001/XMLSchema-instance";>
ADD

24098551
22845921913

IN
https://adwords.google.com/api/adwords/cm/v201601";>
FEED_ITEM_ID

https://adwords.google.com/api/adwords/cm/v201601";>
LONG
3733762984

https://adwords.google.com/api/adwords/cm/v201601";>
LONG
3731967914


1
ENABLED







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


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

https://adwords.google.com/api/adwords/cm/v201601";>
00052e8cb51595580a0ddc86fb096a27
AdGroupFeedService
mutate
3
88





soap:Server
[DistinctError.DUPLICATE_ELEMENT @ operations[1].operand, 
DistinctError.DUPLICATE_ELEMENT @ operations[2].operand]

https://adwords.google.com/api/adwords/cm/v201601";
>
[DistinctError.DUPLICATE_ELEMENT @ operations[1].operand, 
DistinctError.DUPLICATE_ELEMENT @ operations[2].operand]
ApiException
http://www.w3.org/2001/XMLSchema-instance";>
operations[1].operand

DistinctError.DUPLICATE_ELEMENT
DistinctError
DUPLICATE_ELEMENT

http://www.w3.org/2001/XMLSchema-instance";>
operations[2].operand

DistinctError.DUPLICATE_ELEMENT
DistinctError
DUPLICATE_ELEMENT









Подскажите то я не так делаю? Спасибо...

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d910e869-efed-42f6-817e-a3c4f09d96b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FeedItemService WRITE_ACCESS_DENIED

2015-08-07 Thread treto1ctest
Изменил запрос так:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201502";>
   
  
  ххх-ххх-
  х
  AdWords
  false
  false
   
   
   
  
 
ADD

   665013
   
   ENABLED
   
  1
  Creation z Fanal od 13 
€
   
   
  5
  http://tile.expert/en/tile/Fanal/Creation

   

 
  
   


Ошибки не получаю, но Конечный URL не заполняется, как изменить текст 
запроса не подскажите?

четверг, 6 августа 2015 г., 9:11:13 UTC+3 пользователь Thanet Knack 
Praneenararat (AdWords API Team) написал:
>
> Hi Kio,
>
> Sorry that I can answer questions in English.
> It seems you're trying to modify the attributeValues 
> 
>  field 
> of FeedItem 
> 
>  
> corresponding to a column with a mapping for a sitelink URL 
> 
> .
> This resulted in WRITE_ACCESS_DENIED error, as a sitelink URL 
> 
>  was 
> made read-only 
> 
>  
> starting from July 1.
>
> Please migrate to use final URLs 
>  
> instead.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Wednesday, August 5, 2015 at 10:01:19 PM UTC+9, Kio Mat wrote:
>>
>> Добрый день! Посылаю запрос к сервису FeedItemService (mutate), вида:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>> https://adwords.google.com/api/adwords/cm/v201502";>
>>
>>  
>>  ххх-ххх-
>>  х
>>  AdWords
>>  false
>>  false
>>   
>>
>>
>>   
>>  
>> ADD
>> 
>>665013
>>
>>ENABLED
>>
>>   1
>>   Creation z Fanal od 13 
>> €
>>
>>
>>   2
>>   
>> http://tile.expert/en/tile/Fanal/Creation
>>
>> 
>>  
>>   
>>
>> 
>>
>> раньше все работало хорошо, но вот недавно я стал получать ошибку:
>>
>> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>>  
>> xmlns="https://adwords.google.com/api/adwords/cm/v201502";>00051c8f2e11ae480ac41b84a500214aFeedItemServicemutate1117soap:Server[EntityAccessDenied.WRITE_ACCESS_DENIED
>>  
>> @ 
>> operations[0].operand.attributeValues]>  
>> xmlns="https://adwords.google.com/api/adwords/cm/v201502";>[EntityAccessDenied.WRITE_ACCESS_DENIED
>>  
>> @ 
>> operations[0].operand.attributeValues]ApiException>  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="EntityAccessDenied">operations[0].operand.attributeValuesEntityAccessDenied.WRITE_ACCESS_DENIEDEntityAccessDeniedWRITE_ACCESS_DENIED
>>
>> В чем проблема? Видимо связано с переходом на новый АПИ?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c8d91ff7-6b9d-49db-8146-7e79b2aab9e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FeedItemService WRITE_ACCESS_DENIED

2015-08-07 Thread treto1ctest
Я так понимаю проблема в строке:

http://tile.expert/en/tile/Fanal/Creation

Нужно использовать не тег "stringValue" ?

четверг, 6 августа 2015 г., 9:11:13 UTC+3 пользователь Thanet Knack 
Praneenararat (AdWords API Team) написал:
>
> Hi Kio,
>
> Sorry that I can answer questions in English.
> It seems you're trying to modify the attributeValues 
> 
>  field 
> of FeedItem 
> 
>  
> corresponding to a column with a mapping for a sitelink URL 
> 
> .
> This resulted in WRITE_ACCESS_DENIED error, as a sitelink URL 
> 
>  was 
> made read-only 
> 
>  
> starting from July 1.
>
> Please migrate to use final URLs 
>  
> instead.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Wednesday, August 5, 2015 at 10:01:19 PM UTC+9, Kio Mat wrote:
>>
>> Добрый день! Посылаю запрос к сервису FeedItemService (mutate), вида:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>> https://adwords.google.com/api/adwords/cm/v201502";>
>>
>>  
>>  ххх-ххх-
>>  х
>>  AdWords
>>  false
>>  false
>>   
>>
>>
>>   
>>  
>> ADD
>> 
>>665013
>>
>>ENABLED
>>
>>   1
>>   Creation z Fanal od 13 
>> €
>>
>>
>>   2
>>   
>> http://tile.expert/en/tile/Fanal/Creation
>>
>> 
>>  
>>   
>>
>> 
>>
>> раньше все работало хорошо, но вот недавно я стал получать ошибку:
>>
>> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>>  
>> xmlns="https://adwords.google.com/api/adwords/cm/v201502";>00051c8f2e11ae480ac41b84a500214aFeedItemServicemutate1117soap:Server[EntityAccessDenied.WRITE_ACCESS_DENIED
>>  
>> @ 
>> operations[0].operand.attributeValues]>  
>> xmlns="https://adwords.google.com/api/adwords/cm/v201502";>[EntityAccessDenied.WRITE_ACCESS_DENIED
>>  
>> @ 
>> operations[0].operand.attributeValues]ApiException>  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="EntityAccessDenied">operations[0].operand.attributeValuesEntityAccessDenied.WRITE_ACCESS_DENIEDEntityAccessDeniedWRITE_ACCESS_DENIED
>>
>> В чем проблема? Видимо связано с переходом на новый АПИ?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/48c5b433-01c9-4870-ae6f-e8515388e014%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FeedItemService WRITE_ACCESS_DENIED

2015-08-07 Thread treto1ctest
Не подскажите как мне изменить текст запроса , чтоб он заработал?

четверг, 6 августа 2015 г., 9:11:13 UTC+3 пользователь Thanet Knack 
Praneenararat (AdWords API Team) написал:
>
> Hi Kio,
>
> Sorry that I can answer questions in English.
> It seems you're trying to modify the attributeValues 
> 
>  field 
> of FeedItem 
> 
>  
> corresponding to a column with a mapping for a sitelink URL 
> 
> .
> This resulted in WRITE_ACCESS_DENIED error, as a sitelink URL 
> 
>  was 
> made read-only 
> 
>  
> starting from July 1.
>
> Please migrate to use final URLs 
>  
> instead.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Wednesday, August 5, 2015 at 10:01:19 PM UTC+9, Kio Mat wrote:
>>
>> Добрый день! Посылаю запрос к сервису FeedItemService (mutate), вида:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>> https://adwords.google.com/api/adwords/cm/v201502";>
>>
>>  
>>  ххх-ххх-
>>  х
>>  AdWords
>>  false
>>  false
>>   
>>
>>
>>   
>>  
>> ADD
>> 
>>665013
>>
>>ENABLED
>>
>>   1
>>   Creation z Fanal od 13 
>> €
>>
>>
>>   2
>>   
>> http://tile.expert/en/tile/Fanal/Creation
>>
>> 
>>  
>>   
>>
>> 
>>
>> раньше все работало хорошо, но вот недавно я стал получать ошибку:
>>
>> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>>  
>> xmlns="https://adwords.google.com/api/adwords/cm/v201502";>00051c8f2e11ae480ac41b84a500214aFeedItemServicemutate1117soap:Server[EntityAccessDenied.WRITE_ACCESS_DENIED
>>  
>> @ 
>> operations[0].operand.attributeValues]>  
>> xmlns="https://adwords.google.com/api/adwords/cm/v201502";>[EntityAccessDenied.WRITE_ACCESS_DENIED
>>  
>> @ 
>> operations[0].operand.attributeValues]ApiException>  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="EntityAccessDenied">operations[0].operand.attributeValuesEntityAccessDenied.WRITE_ACCESS_DENIEDEntityAccessDeniedWRITE_ACCESS_DENIED
>>
>> В чем проблема? Видимо связано с переходом на новый АПИ?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b8318f49-4bac-43a2-ae7e-d0b30f817438%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Проблема при получении ранее созданного ID ключевого слова

2015-03-12 Thread treto1ctest
Доброго времени суток!
У меня такая проблема: создаю ключевое слово (AdGroupCriterionService метод 
Mutate()) к примеру для группы с ID = 10316008653, все создается без 
ошибок, в adwords я вижу данное ключевое слово, в ответ от сервера получаю 
для ключевого слова ID = 84060341613.
Причем ключевое слово с таким текстом у меня есть в разных группах, разных 
рекламных компаний.
НО при попытке получить данные по ключевому слову (AdGroupCriterionService 
метод Get()) для группы с ID = 10316008653, я не нахожу для этой группы 
ключевого слова которое я создавал выше с ID = 84060341613.
Хотя для других групп ключевое слово с ID = 84060341613 присутствует и 
находиться.

Не подскажите в чем может быть проблема?
И еще хотелось бы пояснений, верно ли то что у ключевого слова с одинаковым 
текстом для групп с разными ID один и тот же ID ключевого слова?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2c185a2b-c07e-4129-b889-0e69ed55afdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Как удалить физически FeedItem созданный сервисом FeedItemService?

2015-02-20 Thread treto1ctest
Добрый день, подскажите как удалить физически FeedItem которые били до 
этого созданы FeedItemService?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8c453e4c-8d20-4e16-b7ab-0567cca8a333%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Проблема с добавлением дополнительных ссылок

2015-02-14 Thread treto1ctest
Я использую только один FeedMapping для связи FeedId(использую один и 
тот-же фид), FeedItem(создаю каждый раз) и AdGroupFeed(создаю каждый раз 
при добавлении доп ссылки через сервис AdGroupFeedService)
https://adwords.google.com/api/adwords/cm/v201409""; 
i:type=""ns2:ConstantOperand"">
 LONG
 feedItemId
 
feedItemId каждый раз при создании новой доп. ссылки я подставляю новый
Не пойму что не так?
Или  FeedMapping нужно не просто использовать существующий, а обновлять? В 
нем единственное что можно обеовить так это feedId, а он один и тот же 
каждый раз...

пятница, 13 февраля 2015 г., 17:54:41 UTC+2 пользователь Danial Klimkin 
написал:
>
> Добрый день,
>
>
> Возможно создание только одного маппинга между AdGroupId и FeedId. Вместо 
> добавления нового, вам нужно обновить имеющийся и добавить новый feedItemId 
> в список rhsOperand.
>
>
> -Даниил, команда AdWords API.
>
>
>
> On Friday, February 13, 2015 at 5:00:20 PM UTC+3, treto...@gmail.com 
> wrote:
>>
>> Добрый день, столкнулся с проблемой добавления больше одной доп ссылки 
>> для группы объявлений.
>> Сначала создавал Feed через FeedService, но так как их разрешено не более 
>> 20 для компании остановлся на одном предопределенном: "Главный фид 
>> дополнительных ссылок"
>> Наполняю его данными(FeedItemService) потом сопоставляю 
>> (FeedMappingService), потом пытаюсь добавить новую доп ссылку запросом вида:
>> ...
>> 
>>  http://www.w3.org/2001/XMLSchema-instance";>
>> ADD
>> 
>>24098551
>>16034823433
>>
>>   IN
>>   https://adwords.google.com/api/adwords/cm/v201409"; 
>> i:type="ns2:RequestContextOperand">
>>  FEED_ITEM_ID
>>   
>>   https://adwords.google.com/api/adwords/cm/v201409"; 
>> i:type="ns2:ConstantOperand">
>>  LONG
>>  1092397511
>>   
>>
>>1
>>ENABLED
>> 
>>  
>>   ...
>>
>> в итоге если в группе нет еще дополнительной ссылки - она создается, 
>> иначе получаю ошибку:
>> [AdGroupFeedError.CANNOT_ADD_ALREADY_EXISTING_ADGROUP_FEED @ 
>> operations[0].operand, 
>> AdGroupFeedError.FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE @ 
>> operations[0].operand.placeholderTypes; trigger:'AdGroup id:AdGroupId: 
>> 16034823433,Placeholder Type: 1']
>>
>> Подскажите в чем может быть дело?
>> Спасибо!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3daa698-d263-459e-a0b0-934e57e3faa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Проблема с добавлением дополнительных ссылок

2015-02-13 Thread treto1ctest
Добрый день, столкнулся с проблемой добавления больше одной доп ссылки для 
группы объявлений.
Сначала создавал Feed через FeedService, но так как их разрешено не более 
20 для компании остановлся на одном предопределенном: "Главный фид 
дополнительных ссылок"
Наполняю его данными(FeedItemService) потом сопоставляю 
(FeedMappingService), потом пытаюсь добавить новую доп ссылку запросом вида:
...

 http://www.w3.org/2001/XMLSchema-instance";>
ADD

   24098551
   16034823433
   
  IN
  https://adwords.google.com/api/adwords/cm/v201409"; 
i:type="ns2:RequestContextOperand">
 FEED_ITEM_ID
  
  https://adwords.google.com/api/adwords/cm/v201409"; 
i:type="ns2:ConstantOperand">
 LONG
 1092397511
  
   
   1
   ENABLED

 
  ...

в итоге если в группе нет еще дополнительной ссылки - она создается, иначе 
получаю ошибку:
[AdGroupFeedError.CANNOT_ADD_ALREADY_EXISTING_ADGROUP_FEED @ 
operations[0].operand, 
AdGroupFeedError.FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE @ 
operations[0].operand.placeholderTypes; trigger:'AdGroup id:AdGroupId: 
16034823433,Placeholder Type: 1']

Подскажите в чем может быть дело?
Спасибо!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fa0b5e64-bdf2-41fd-ba56-3ab26a6f79c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ошибка при создании объявления: PolicyViolationError.POLICY_ERROR

2015-02-09 Thread treto1ctest
Спасибо

понедельник, 9 февраля 2015 г., 16:14:54 UTC+2 пользователь Danial Klimkin 
написал:
>
> По ссылке как раз описан автоматический вариант решения.
>
>
> -Даниил, команда AdWords API.
>
>
> On Monday, February 9, 2015 at 3:49:59 PM UTC+3, treto...@gmail.com wrote:
>>
>> У меня идет автоматическая отправка объявлений, я же не могу каждое 
>> вручную отправлять
>> И у меня идет отправка объявления, а не ключевого слова, хотя с ними тоже 
>> есть такая проблема.
>> Причем уже неделю все было нормально, но вот сегодня началась такая 
>> проблема...
>> Есть какой-то автоматический вариант решения?
>>
>> понедельник, 9 февраля 2015 г., 14:27:26 UTC+2 пользователь Danial 
>> Klimkin написал:
>>>
>>> Добрый день,
>>>
>>>
>>> Ключевое слово является подозрительным с точки зрения системы. Вы можете 
>>> отправить запрос на ручное рассмотрение этого объявления.
>>>
>>> Подробно об этом написано здесь:
>>>
>>>   
>>> https://developers.google.com/adwords/api/docs/guides/exemption-requests
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>>
>>> On Monday, February 9, 2015 at 11:51:34 AM UTC+3, treto...@gmail.com 
>>> wrote:

 Добрый день, у меня проблема при создании объвления.
 Посыляю запрос на создание:
 
 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
 https://adwords.google.com/api/adwords/cm/v201409";>

   
   ххх-ххх-
   хх
   
   false
   false



   https://adwords.google.com/api/adwords/cm/v201409";>
  http://www.w3.org/2001/XMLSchema-instance";>
 ADD
 
16040997913
https://adwords.google.com/api/adwords/cm/v201409"; i:type="ns2:TextAd">
   
   http://treto.ru
   http://treto.ru/plitka/Elios/Riflessi
 
   Плитка Riflessi
   Низкие цены!
   Каталог плитки

ENABLED
APPROVED
 
  
   

 

 В ответ получаю:
 -https://adwords.google.com/api/adwords/cm/v201409";>

 [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR 
 @ operations[0].operand.ad.headline, 
 key=PolicyViolationKey{policyName=weapons,violatingText=Riflessi}, 
 externalPolicyName=Google AdWords, externalPolicyUrl=, 
 externalPolicyDescription=This ad or keyword requires review before it can 
 run., isExemtable=true, violatingParts=[Part{index=7, 
 length=8}]}]

 ApiException


 -http://www.w3.org/2001/XMLSchema-instance";>

 operations[0].operand.ad.headline

 

 PolicyViolationError.POLICY_ERROR

 PolicyViolationError


 +

 Google AdWords

 

 This ad or keyword requires review before it 
 can run.

 true


 -

 7

 8

 

 

 

 Т.е. "Это объявление или ключевое слово требует пересмотра, прежде чем 
 он может работать" Что не так в моем запросе? Или проблема не в самом 
 запросе?
 Может кто-то что-то посоветует?

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/66a61484-487e-443b-a81c-a10eb1e13c00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ошибка при создании объявления: PolicyViolationError.POLICY_ERROR

2015-02-09 Thread treto1ctest
У меня идет автоматическая отправка объявлений, я же не могу каждое вручную 
отправлять
И у меня идет отправка объявления, а не ключевого слова, хотя с ними тоже 
есть такая проблема.
Причем уже неделю все было нормально, но вот сегодня началась такая 
проблема...
Есть какой-то автоматический вариант решения?

понедельник, 9 февраля 2015 г., 14:27:26 UTC+2 пользователь Danial Klimkin 
написал:
>
> Добрый день,
>
>
> Ключевое слово является подозрительным с точки зрения системы. Вы можете 
> отправить запрос на ручное рассмотрение этого объявления.
>
> Подробно об этом написано здесь:
>
>   https://developers.google.com/adwords/api/docs/guides/exemption-requests
>
>
> -Danial, AdWords API Team.
>
>
>
> On Monday, February 9, 2015 at 11:51:34 AM UTC+3, treto...@gmail.com 
> wrote:
>>
>> Добрый день, у меня проблема при создании объвления.
>> Посыляю запрос на создание:
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>> https://adwords.google.com/api/adwords/cm/v201409";>
>>
>>   
>>   ххх-ххх-
>>   хх
>>   
>>   false
>>   false
>>
>>
>>
>>   https://adwords.google.com/api/adwords/cm/v201409";>
>>  http://www.w3.org/2001/XMLSchema-instance";>
>> ADD
>> 
>>16040997913
>>https://adwords.google.com/api/adwords/cm/v201409"; i:type="ns2:TextAd">
>>   
>>   http://treto.ru
>>   http://treto.ru/plitka/Elios/Riflessi
>> 
>>   Плитка Riflessi
>>   Низкие цены!
>>   Каталог плитки
>>
>>ENABLED
>>APPROVED
>> 
>>  
>>   
>>
>> 
>>
>> В ответ получаю:
>> -https://adwords.google.com/api/adwords/cm/v201409";>
>>
>> [PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
>> operations[0].operand.ad.headline, 
>> key=PolicyViolationKey{policyName=weapons,violatingText=Riflessi}, 
>> externalPolicyName=Google AdWords, externalPolicyUrl=, 
>> externalPolicyDescription=This ad or keyword requires review before it can 
>> run., isExemtable=true, violatingParts=[Part{index=7, length=8}]}]
>>
>> ApiException
>>
>>
>> -http://www.w3.org/2001/XMLSchema-instance";>
>>
>> operations[0].operand.ad.headline
>>
>> 
>>
>> PolicyViolationError.POLICY_ERROR
>>
>> PolicyViolationError
>>
>>
>> +
>>
>> Google AdWords
>>
>> 
>>
>> This ad or keyword requires review before it 
>> can run.
>>
>> true
>>
>>
>> -
>>
>> 7
>>
>> 8
>>
>> 
>>
>> 
>>
>> 
>>
>> Т.е. "Это объявление или ключевое слово требует пересмотра, прежде чем он 
>> может работать" Что не так в моем запросе? Или проблема не в самом запросе?
>> Может кто-то что-то посоветует?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2bb1fd82-2583-47fe-a79c-9360a06eecf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ошибка при создании объявления: PolicyViolationError.POLICY_ERROR

2015-02-09 Thread treto1ctest
Добрый день, у меня проблема при создании объвления.
Посыляю запрос на создание:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
  ххх-ххх-
  хх
  
  false
  false
   
   
   
  https://adwords.google.com/api/adwords/cm/v201409";>
 http://www.w3.org/2001/XMLSchema-instance";>
ADD

   16040997913
   https://adwords.google.com/api/adwords/cm/v201409"; 
i:type="ns2:TextAd">
  
  http://treto.ru
  
http://treto.ru/plitka/Elios/Riflessi
  Плитка Riflessi
  Низкие цены!
  Каталог плитки
   
   ENABLED
   APPROVED

 
  
   


В ответ получаю:
-https://adwords.google.com/api/adwords/cm/v201409";>

[PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ 
operations[0].operand.ad.headline, 
key=PolicyViolationKey{policyName=weapons,violatingText=Riflessi}, 
externalPolicyName=Google AdWords, externalPolicyUrl=, 
externalPolicyDescription=This ad or keyword requires review before it can 
run., isExemtable=true, violatingParts=[Part{index=7, length=8}]}]

ApiException


-http://www.w3.org/2001/XMLSchema-instance";>

operations[0].operand.ad.headline



PolicyViolationError.POLICY_ERROR

PolicyViolationError


+

Google AdWords



This ad or keyword requires review before it can 
run.

true


-

7

8







Т.е. "Это объявление или ключевое слово требует пересмотра, прежде чем он 
может работать" Что не так в моем запросе? Или проблема не в самом запросе?
Может кто-то что-то посоветует?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9d2e196a-bed1-4544-8eea-0ded80c035ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Существует ли сервис для проверки количества запросов по ключевым словам?

2015-01-29 Thread treto1ctest
Тут сказано, что даются расчетные данные, а можно фактические данные 
получить, например сколько реально было запросов по определенному ключевому 
слову?
Спасибо!

четверг, 29 января 2015 г., 16:41:03 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> Yes - you can use the TrafficEstimatorService 
> .
>  
> See our Estimating traffic guide 
> 
>  for 
> more details.
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, January 29, 2015 at 9:01:26 AM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Добрый день!
>> Подскажите, существует ли веб-сервис для проверки количества запросов по 
>> ключевым словам?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0626aac8-2c99-4641-991a-4692924fc389%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Существует ли сервис для проверки количества запросов по ключевым словам?

2015-01-29 Thread treto1ctest
Спасибо большое!

четверг, 29 января 2015 г., 16:41:03 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> Yes - you can use the TrafficEstimatorService 
> .
>  
> See our Estimating traffic guide 
> 
>  for 
> more details.
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, January 29, 2015 at 9:01:26 AM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Добрый день!
>> Подскажите, существует ли веб-сервис для проверки количества запросов по 
>> ключевым словам?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dcdf244c-2518-49b5-a1fa-ed5772d16bb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Существует ли сервис для проверки количества запросов по ключевым словам?

2015-01-29 Thread treto1ctest
Добрый день!
Подскажите, существует ли веб-сервис для проверки количества запросов по 
ключевым словам?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fabddae2-bc7d-475f-a734-4c716754d3f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Проблема с созданием запроса к AdGroupFeedService

2015-01-23 Thread treto1ctest
Здравствуйте! Спасибо. На текущий момент уменя проблема с 
1: я всегда указываю "1", первый раз создается 
дополнительная ссылка, на второй получаю ошибку(уже с другими параметрами):
[AdGroupFeedError.CANNOT_ADD_ALREADY_EXISTING_ADGROUP_FEED @ 
operations[0].operand, 
AdGroupFeedError.FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE @ 
operations[0].operand.placeholderTypes; trigger:'AdGroup id:AdGroupId: 
15719156713,Placeholder Type: 1']

FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE

Не подскажите как исправить?

пятница, 23 января 2015 г., 10:03:43 UTC+2 пользователь Anash P. Oommen 
(AdWords API Team) написал:
>
> Hi,
>
> Here is an example using CampaignFeedService. AdGroupFeedService xml would 
> look similar.
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>   
> https://adwords.google.com/api/adwords/cm/v201409";>
>   **
>   **
>   INSERT_YOUR_COMPANY_OR_APPLICATION_NAME_HERE 
> (AwApi-DotNet/18.7.0, Common-Dotnet/3.5.0, .NET CLR/4.0.30319.34209, gzip)
> 
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201409";>
>   
> ADD
> 
>   24316877
>   35566846
>   
> AND
> 
>   
> IN
> 
>   FEED_ITEM_ID
> 
> 
>   LONG
>   1045918788
> 
> 
>   LONG
>   1045918791
> 
> 
>   LONG
>   1045918794
> 
> 
>   LONG
>   1045918797
> 
> 
>   LONG
>   1045918800
> 
> 
>   LONG
>   1045918803
> 
>   
> 
> 
>   
> EQUALS
> 
>   DEVICE_PLATFORM
> 
> 
>   STRING
>   Mobile
> 
>   
> 
>   
>   1
> 
>   
> 
>   
> 
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Wednesday, January 21, 2015 at 9:34:36 PM UTC+5:30, treto...@gmail.com 
> wrote:
>>
>> Спасибо, я еще все на Java  видел. Не могли бы вы привести пример именно 
>> XML запроса, посылаемого на сервер?
>>
>> среда, 21 января 2015 г., 10:53:31 UTC+2 пользователь Anash P. Oommen 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> You could use an array of ConstantOperand to provide the FeedItem IDs. 
>>> See the Java code example in our guide for more details. (
>>> https://developers.google.com/adwords/api/docs/guides/feed-services#campaignfeedservice
>>> )
>>>
>>> Cheers,
>>> Anash P. Oommen,
>>> AdWords API Advisor.
>>>
>>> On Tuesday, January 20, 2015 at 7:15:20 PM UTC+5:30, treto...@gmail.com 
>>> wrote:

 Добрый день!
 Пытаюсь послать запрос к сервису AdGroupFeedService. Текст запроса:

 "
 >>> http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
 https://adwords.google.com/api/adwords/cm/v201409"";>

   
   clientCustomerId
   ХХ
   Х
   false
   false



   
  >>> http://www.w3.org/2001/XMLSchema-instance"";>
 "ADD"
 
"feedId"
"adGroupId"

   IN
   >>> https://adwords.google.com/api/adwords/cm/v201409""; 
 i:type=""ns2:RequestContextOperand"">
  FEED_ITEM_ID
   

1
ENABLED
 
  
   

 ";

 При попытке послать запрос получаю ошибку:

 [FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
 operations[0].operand.matchingFunction.rhsOperand]

 Т.е. нужно указать rhsOperand в тексте запроса:

 
 
 ?
 

 Как правильно сделать? Если можно, дайте пример реализации?
 Спасибо!

 П.С. У меня нет возможности использовать клиентские библиотеки, я 
 пользуюсь только прямыми запросами к сервисам. Нужен в идеале пример 
 рабочего текста запроса к AdGroupFeedService.

>>>

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

Re: Проблема с созданием запроса к AdGroupFeedService

2015-01-21 Thread treto1ctest
Спасибо, я еще все на Java  видел. Не могли бы вы привести пример именно 
XML запроса, посылаемого на сервер?

среда, 21 января 2015 г., 10:53:31 UTC+2 пользователь Anash P. Oommen 
(AdWords API Team) написал:
>
> Hi,
>
> You could use an array of ConstantOperand to provide the FeedItem IDs. See 
> the Java code example in our guide for more details. (
> https://developers.google.com/adwords/api/docs/guides/feed-services#campaignfeedservice
> )
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Tuesday, January 20, 2015 at 7:15:20 PM UTC+5:30, treto...@gmail.com 
> wrote:
>>
>> Добрый день!
>> Пытаюсь послать запрос к сервису AdGroupFeedService. Текст запроса:
>>
>> "
>> > http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
>> https://adwords.google.com/api/adwords/cm/v201409"";>
>>
>>   
>>   clientCustomerId
>>   ХХ
>>   Х
>>   false
>>   false
>>
>>
>>
>>   
>>  > http://www.w3.org/2001/XMLSchema-instance"";>
>> "ADD"
>> 
>>"feedId"
>>"adGroupId"
>>
>>   IN
>>   > https://adwords.google.com/api/adwords/cm/v201409""; 
>> i:type=""ns2:RequestContextOperand"">
>>  FEED_ITEM_ID
>>   
>>
>>1
>>ENABLED
>> 
>>  
>>   
>>
>> ";
>>
>> При попытке послать запрос получаю ошибку:
>>
>> [FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
>> operations[0].operand.matchingFunction.rhsOperand]
>>
>> Т.е. нужно указать rhsOperand в тексте запроса:
>>
>> 
>> 
>> ?
>> 
>>
>> Как правильно сделать? Если можно, дайте пример реализации?
>> Спасибо!
>>
>> П.С. У меня нет возможности использовать клиентские библиотеки, я 
>> пользуюсь только прямыми запросами к сервисам. Нужен в идеале пример 
>> рабочего текста запроса к AdGroupFeedService.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/69bbcae7-11ad-47f1-92ad-00d0e0f7d027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Проблема с созданием запроса к AdGroupFeedService

2015-01-20 Thread treto1ctest
Добрый день!
Пытаюсь послать запрос к сервису AdGroupFeedService. Текст запроса:

"
http://schemas.xmlsoap.org/soap/envelope/""; 
xmlns:v20=""https://adwords.google.com/api/adwords/cm/v201409"";>
   
  
  clientCustomerId
  ХХ
  Х
  false
  false
   
   
   
  
 http://www.w3.org/2001/XMLSchema-instance"";>
"ADD"

   "feedId"
   "adGroupId"
   
  IN
  https://adwords.google.com/api/adwords/cm/v201409""; 
i:type=""ns2:RequestContextOperand"">
 FEED_ITEM_ID
  
   
   1
   ENABLED

 
  
   
";

При попытке послать запрос получаю ошибку:

[FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
operations[0].operand.matchingFunction.rhsOperand]

Т.е. нужно указать rhsOperand в тексте запроса:



?


Как правильно сделать? Если можно, дайте пример реализации?
Спасибо!

П.С. У меня нет возможности использовать клиентские библиотеки, я пользуюсь 
только прямыми запросами к сервисам. Нужен в идеале пример рабочего текста 
запроса к AdGroupFeedService.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7bf83462-ad21-4a1a-bca6-3d7d6149689c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Подскажите как добавить расширение объявления через веб-сервис

2015-01-17 Thread treto1ctest
Hi,
when creating feed it stored somewhere? or it is automatically deleted 
after a request? Can you explain?

пятница, 16 января 2015 г., 21:04:40 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> Yes, those methods will work. The client libraries merely simplify the 
> process of creating your HTTP requests.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, January 16, 2015 at 10:33:57 AM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Clarification: I do not have the ability to use the client libraries, so 
>> I use only the HTTP requests.
>> This method of feeds will work?
>>
>> пятница, 16 января 2015 г., 16:15:58 UTC+2 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> CampaignAdExtensionService is for legacy ad extensions. You'll want to 
>>> use feed services for ad extensions instead. A good place to start is the 
>>> feed 
>>> services guide 
>>> , 
>>> which walks through creating sitelink ad extensions and includes code 
>>> samples and links to examples.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, January 16, 2015 at 7:23:58 AM UTC-5, treto...@gmail.com 
>>> wrote:

 Добрый день!
 Подскажите какой веб-сервис нужно использовать для добавления 
 расширений объявлений?
 Смотрю в сторону CampaignAdExtensionService 
 
  , 
 но не вижу необходимых параметров в нем.
 Спасибо!

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bdce3f2d-8381-4e79-8280-124c3db80b26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Подскажите как добавить расширение объявления через веб-сервис

2015-01-16 Thread treto1ctest
Clarification: I do not have the ability to use the client libraries, so I 
use only the HTTP requests.
This method of feeds will work?

пятница, 16 января 2015 г., 16:15:58 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> CampaignAdExtensionService is for legacy ad extensions. You'll want to use 
> feed services for ad extensions instead. A good place to start is the feed 
> services guide 
> , 
> which walks through creating sitelink ad extensions and includes code 
> samples and links to examples.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, January 16, 2015 at 7:23:58 AM UTC-5, treto...@gmail.com wrote:
>>
>> Добрый день!
>> Подскажите какой веб-сервис нужно использовать для добавления расширений 
>> объявлений?
>> Смотрю в сторону CampaignAdExtensionService 
>> 
>>  , 
>> но не вижу необходимых параметров в нем.
>> Спасибо!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ba30eed2-83a5-4dbf-b103-16a05edffdb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Подскажите как добавить расширение объявления через веб-сервис

2015-01-16 Thread treto1ctest
Thanks,
Feeds themselves are stored somewhere?
I understand for the beginning of a feed is created, and then fill it with 
the information?

пятница, 16 января 2015 г., 16:15:58 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> CampaignAdExtensionService is for legacy ad extensions. You'll want to use 
> feed services for ad extensions instead. A good place to start is the feed 
> services guide 
> , 
> which walks through creating sitelink ad extensions and includes code 
> samples and links to examples.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, January 16, 2015 at 7:23:58 AM UTC-5, treto...@gmail.com wrote:
>>
>> Добрый день!
>> Подскажите какой веб-сервис нужно использовать для добавления расширений 
>> объявлений?
>> Смотрю в сторону CampaignAdExtensionService 
>> 
>>  , 
>> но не вижу необходимых параметров в нем.
>> Спасибо!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f0e1f7cd-7db6-406b-bf0b-53a0f88de8fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Подскажите как добавить расширение объявления через веб-сервис

2015-01-16 Thread treto1ctest
Добрый день!
Подскажите какой веб-сервис нужно использовать для добавления расширений 
объявлений?
Смотрю в сторону CampaignAdExtensionService 

 , 
но не вижу необходимых параметров в нем.
Спасибо!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4560b4c2-d13f-442a-a743-7056db13c9db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова к объявлениям

2015-01-16 Thread treto1ctest
Hi,
Thank you, I used AdGroupCriterionService method Mutate ()

пятница, 16 января 2015 г., 0:04:09 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> Please check out our documentation for the AdGroupAdService 
> 
> .
>
> In addition, each client library 
>  contains 
> an example for creating ads in its *basic operations* folder, e.g., see 
> AddTextAds.java 
> 
>  for 
> the Java client library. Note that you cannot edit an ad once it is created 
> (ads are immutable), so if you want to change an ad you will have to remove 
> the existing ad and create a new ad with the desired attributes.
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, January 15, 2015 at 2:43:01 PM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Доброго времени суток!
>> Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова 
>> к объявлениям?
>> Спасибо!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a1e4d809-f3f8-4ef5-bb4d-1409251e3814%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова к объявлениям

2015-01-15 Thread treto1ctest
Доброго времени суток!
Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова к 
объявлениям?
Спасибо!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87141e87-88f0-45cc-bd1c-0b0c161edad1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
I have worked like this:


  https://adwords.google.com/api/adwords/cm/v201409";>
 http://www.w3.org/2001/XMLSchema-instance";>
ADD

   15889158713
https://adwords.google.com/api/adwords/cm/v201409"; 
i:type="ns2:TextAd">
  http://www.ex.ru
  ex.ru
  Тестовое объявление 
  Тестовое объявление 1
  Тестовое объявление 
 2
   
   ENABLED
   APPROVED

 
  
   

четверг, 15 января 2015 г., 11:32:28 UTC+2 пользователь treto...@gmail.com 
написал:
>
> If I tried to make:
>
> https://adwords.google.com/api/adwords/cm/v201409""; 
> xsi:type=""ns2:TextAd"">
>
> ERROR:
>
> Message: 
> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?ad&xsi:type&xsi
>  
>
> четверг, 15 января 2015 г., 11:14:37 UTC+2 пользователь treto...@gmail.com 
> написал:
>>
>> tried to make:
>>
>> > http://www.w3.org/2001/XMLSchema-instance"";>
>>
>> ERROR:
>>
>> Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'TextAd' to a type 
>> definition for element 'v20:ad'. 
>>
>>
>> четверг, 15 января 2015 г., 11:05:24 UTC+2 пользователь 
>> treto...@gmail.com написал:
>>>
>>> My request:
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>>> https://adwords.google.com/api/adwords/cm/v201409";>
>>>
>>>   
>>>   xxx-xxx-
>>>   xx
>>>   
>>>   false
>>>   false
>>>
>>>
>>>
>>>   
>>>  http://www.w3.org/2001/XMLSchema-instance";>
>>> ADD
>>> 
>>>15754156713
>>>   
>>>   http://www.treto.ru
>>>   treto.ru
>>>   Тестовое объявление treto.ru
>>> 
>>>   description1: Тестовое объявление 
>>> treto.ru
>>>   description2: Тестовое объявление 
>>> treto.ru
>>>
>>>ENABLED
>>>APPROVED
>>>
>>>   Тестовое объявление treto.ru
>>>
>>> 
>>>  
>>>   
>>>
>>> 
>>>
>>> ERROR:
>>>
>>> Unmarshalling Error: ParseError at [row,col]:[18,46]
>>> Message: 
>>> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>>>  
>>>
>>> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 OK - here's an example that should help you get started:

 http://schemas.xmlsoap.org/soap/envelope/"; 
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
 http://www.w3.org/2001/XMLSchema-instance";>
 
 https://adwords.google.com/api/adwords/cm/v201409"; 
 soapenv:mustUnderstand="0">
 *xxx*
 *xxx*
 *xxx*
 false
 false
 
 
 
 https://adwords.google.com/api/adwords/cm/v201409";>
 
 ADD
 
 **
 https://adwords.google.com/api/adwords/cm/v201409"; 
 xsi:type="ns2:TextAd">
 http://www.example.com
 www.example.com
 Luxury Cruise to Mars
 Visit the Red Planet in 
 style.
 Low-gravity fun for 
 everyone!
 
 PAUSED
 
 
 
 
 

 Cheers,
 Josh, AdWords API Team

 On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
 wrote:
>
> Hi,
> Thank you, but I can not use the client libraries for my programming 
> language they simply do not
> Could you give an example xml, using TekstAd?
>
> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> I strongly recommend using one of our client libraries 
>>  instead 
>> of manually constructing your SOAP messages. Each client library lets 
>> you 
>> work with objects instead of XML elements, which makes building your 
>> requests far easier.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, 
>> treto...@gmail.com wrote:
>>>
>>> Доброго времени суток!
>>>
>>> Делаю запрос к сервису AdGroupAdService. 
>>> Пример тела запроса:
>>>   
>>> >> http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
>>> https://adwords.google.com/api/adwords/cm/v201409"";>
>>>
>>>   
>>>  
>>>  ХХХ
>>>  

Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
If I tried to make:

https://adwords.google.com/api/adwords/cm/v201409""; 
xsi:type=""ns2:TextAd"">

ERROR:

Message: 
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?ad&xsi:type&xsi
 

четверг, 15 января 2015 г., 11:14:37 UTC+2 пользователь treto...@gmail.com 
написал:
>
> tried to make:
>
>  http://www.w3.org/2001/XMLSchema-instance"";>
>
> ERROR:
>
> Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'TextAd' to a type 
> definition for element 'v20:ad'. 
>
>
> четверг, 15 января 2015 г., 11:05:24 UTC+2 пользователь treto...@gmail.com 
> написал:
>>
>> My request:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>> https://adwords.google.com/api/adwords/cm/v201409";>
>>
>>   
>>   xxx-xxx-
>>   xx
>>   
>>   false
>>   false
>>
>>
>>
>>   
>>  http://www.w3.org/2001/XMLSchema-instance";>
>> ADD
>> 
>>15754156713
>>   
>>   http://www.treto.ru
>>   treto.ru
>>   Тестовое объявление treto.ru
>> 
>>   description1: Тестовое объявление 
>> treto.ru
>>   description2: Тестовое объявление 
>> treto.ru
>>
>>ENABLED
>>APPROVED
>>
>>   Тестовое объявление treto.ru
>>
>> 
>>  
>>   
>>
>> 
>>
>> ERROR:
>>
>> Unmarshalling Error: ParseError at [row,col]:[18,46]
>> Message: 
>> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>>  
>>
>> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> OK - here's an example that should help you get started:
>>>
>>> http://schemas.xmlsoap.org/soap/envelope/"; 
>>>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201409"; 
>>> soapenv:mustUnderstand="0">
>>> *xxx*
>>> *xxx*
>>> *xxx*
>>> false
>>> false
>>> 
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201409
>>> ">
>>> 
>>> ADD
>>> 
>>> **
>>> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd"
>>> >
>>> http://www.example.com
>>> www.example.com
>>> Luxury Cruise to Mars
>>> Visit the Red Planet in 
>>> style.
>>> Low-gravity fun for 
>>> everyone!
>>> 
>>> PAUSED
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
>>> wrote:

 Hi,
 Thank you, but I can not use the client libraries for my programming 
 language they simply do not
 Could you give an example xml, using TekstAd?

 среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
 (AdWords API Team) написал:
>
> Hi,
>
> I strongly recommend using one of our client libraries 
>  instead 
> of manually constructing your SOAP messages. Each client library lets you 
> work with objects instead of XML elements, which makes building your 
> requests far easier.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, 
> treto...@gmail.com wrote:
>>
>> Доброго времени суток!
>>
>> Делаю запрос к сервису AdGroupAdService. 
>> Пример тела запроса:
>>   
>> > http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
>> https://adwords.google.com/api/adwords/cm/v201409"";>
>>
>>   
>>   ХХХ
>>   Х
>>   userAgent
>>   false
>>   false
>>
>>
>>
>>   
>>  > http://www.w3.org/2001/XMLSchema-instance"";>
>>
>>  "+СтруктураПараметров.Operator+"
>> 
>>
>> "+СтруктураПараметров.adGroupId+"
>>   
>>   "+СтруктураПараметров.url+"
>>  
>>  "+СтруктураПараметров.displayUrl+"
>>  
>>  "+СтруктураПараметров.headline+"
>>  
>>  
>> "+СтруктураПараметров.description1+"
>>  
>>  
>> "+СтруктураПараметров.description2+"
>>
>>ENABLED
>>APPROVED
>>
>>   

Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
tried to make:

http://www.w3.org/2001/XMLSchema-instance"";>

ERROR:

Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'TextAd' to a type 
definition for element 'v20:ad'. 


четверг, 15 января 2015 г., 11:05:24 UTC+2 пользователь treto...@gmail.com 
написал:
>
> My request:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
>
>   
>   xxx-xxx-
>   xx
>   
>   false
>   false
>
>
>
>   
>  http://www.w3.org/2001/XMLSchema-instance";>
> ADD
> 
>15754156713
>   
>   http://www.treto.ru
>   treto.ru
>   Тестовое объявление treto.ru
> 
>   description1: Тестовое объявление 
> treto.ru
>   description2: Тестовое объявление 
> treto.ru
>
>ENABLED
>APPROVED
>
>   Тестовое объявление treto.ru
>
> 
>  
>   
>
> 
>
> ERROR:
>
> Unmarshalling Error: ParseError at [row,col]:[18,46]
> Message: 
> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>  
>
> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> OK - here's an example that should help you get started:
>>
>> http://schemas.xmlsoap.org/soap/envelope/"; 
>>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201409"; 
>> soapenv:mustUnderstand="0">
>> *xxx*
>> *xxx*
>> *xxx*
>> false
>> false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">
>> 
>> ADD
>> 
>> **
>> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd">
>> http://www.example.com
>> www.example.com
>> Luxury Cruise to Mars
>> Visit the Red Planet in 
>> style.
>> Low-gravity fun for 
>> everyone!
>> 
>> PAUSED
>> 
>> 
>> 
>> 
>> 
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
>> wrote:
>>>
>>> Hi,
>>> Thank you, but I can not use the client libraries for my programming 
>>> language they simply do not
>>> Could you give an example xml, using TekstAd?
>>>
>>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 I strongly recommend using one of our client libraries 
  instead 
 of manually constructing your SOAP messages. Each client library lets you 
 work with objects instead of XML elements, which makes building your 
 requests far easier.

 Thanks,
 Josh, AdWords API Team

 On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
 wrote:
>
> Доброго времени суток!
>
> Делаю запрос к сервису AdGroupAdService. 
> Пример тела запроса:
>   
>  http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
> https://adwords.google.com/api/adwords/cm/v201409"";>
>
>   
>   ХХХ
>   Х
>   userAgent
>   false
>   false
>
>
>
>   
>   http://www.w3.org/2001/XMLSchema-instance"";>
>
>  "+СтруктураПараметров.Operator+"
> 
>
> "+СтруктураПараметров.adGroupId+"
>   
>   "+СтруктураПараметров.url+"
>  
>  "+СтруктураПараметров.displayUrl+"
>  
>  "+СтруктураПараметров.headline+"
>  
>  "+СтруктураПараметров.description1+"
>  
>  "+СтруктураПараметров.description2+"
>
>ENABLED
>APPROVED
>
>   "Текст"
>
> 
>  
>   
>
> 
>
> в ответ получаю:
> "Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was 
> found starting with element 'v20:headline'. One of '{"
> https://adwords.google.com/api/adwords/cm/v201409":finalUrls, "
> https://adwords.google.com/api/adwords/cm/v201409":finalMobileUrls, "
> https://adwords.google.com/api/adwords/cm/v201409":finalAppUrls, "
> http

Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
My request:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
  xxx-xxx-
  xx
  
  false
  false
   
   
   
  
 http://www.w3.org/2001/XMLSchema-instance
">
ADD

   15754156713
  
  http://www.treto.ru
  treto.ru
  Тестовое объявление treto.ru
  description1: Тестовое объявление 
treto.ru
  description2: Тестовое объявление 
treto.ru
   
   ENABLED
   APPROVED
   
  Тестовое объявление treto.ru
   

 
  
   


ERROR:

Unmarshalling Error: ParseError at [row,col]:[18,46]
Message: 
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
 

четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> OK - here's an example that should help you get started:
>
> http://schemas.xmlsoap.org/soap/envelope/"; 
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/cm/v201409"; 
> soapenv:mustUnderstand="0">
> *xxx*
> *xxx*
> *xxx*
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201409";>
> 
> ADD
> 
> **
> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd">
> http://www.example.com
> www.example.com
> Luxury Cruise to Mars
> Visit the Red Planet in 
> style.
> Low-gravity fun for 
> everyone!
> 
> PAUSED
> 
> 
> 
> 
> 
>
> Cheers,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Hi,
>> Thank you, but I can not use the client libraries for my programming 
>> language they simply do not
>> Could you give an example xml, using TekstAd?
>>
>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> I strongly recommend using one of our client libraries 
>>>  instead 
>>> of manually constructing your SOAP messages. Each client library lets you 
>>> work with objects instead of XML elements, which makes building your 
>>> requests far easier.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
>>> wrote:

 Доброго времени суток!

 Делаю запрос к сервису AdGroupAdService. 
 Пример тела запроса:
   
 >>> http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
 https://adwords.google.com/api/adwords/cm/v201409"";>

   
   ХХХ
   Х
   userAgent
   false
   false



   
  >>> http://www.w3.org/2001/XMLSchema-instance"";>

  "+СтруктураПараметров.Operator+"
 

 "+СтруктураПараметров.adGroupId+"
   
   "+СтруктураПараметров.url+"
  
  "+СтруктураПараметров.displayUrl+"
  
  "+СтруктураПараметров.headline+"
  
  "+СтруктураПараметров.description1+"
  
  "+СтруктураПараметров.description2+"

ENABLED
APPROVED

   "Текст"

 
  
   

 

 в ответ получаю:
 "Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found 
 starting with element 'v20:headline'. One of '{"
 https://adwords.google.com/api/adwords/cm/v201409":finalUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":finalMobileUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":finalAppUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":trackingUrlTemplate, 
 "https://adwords.google.com/api/adwords/cm/v201409":urlCustomParameters, 
 "https://adwords.google.com/api/adwords/cm/v201409":devicePreference, "
 https://adwords.google.com/api/adwords/cm/v201409":Ad.Type}' is 
 expected. "

 Как мне использовать 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TextAd
  
 ?
 Может кто-то сталкивался? Как

Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
My request:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
  496-962-0130
  jrSUhkMn50elFT-Ff_qXTw
  1cAdWords
  false
  false
   
   
   
  
 http://www.w3.org/2001/XMLSchema-instance";>
ADD

   15719156713
  
  http://www.treto.ru
  treto.ru
  Тестовое объявление treto.ru
  description1: Тестовое объявление 
treto.ru
  description2: Тестовое объявление 
treto.ru
   
   ENABLED
   APPROVED
   
  Тестовое объявление treto.ru
   

 
  
   


ERROR:

Unmarshalling Error: ParseError at [row,col]:[18,46]
Message: 
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
 

четверг, 15 января 2015 г., 9:37:04 UTC+2 пользователь treto...@gmail.com 
написал:
>
> Hi,
> Thank you, took your example:
>
> https://adwords.google.com/api/adwords/cm/v201409"; 
> xsi:type="ns2:TextAd">
> http://www.example.com
> www.example.com
> Luxury Cruise to Mars
> Visit the Red Planet in style.
> Low-gravity fun for everyone!
> 
>
> when sending a query, I get an error on the line:
>
> *https://adwords.google.com/api/adwords/cm/v201409 
> " xsi:type="ns2:TextAd">*
>
> *error*:
>
> *Unmarshalling Error: ParseError at [row,col]:[18,108]*
> *Message: 
> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>  
> *
>  
>
>
> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> OK - here's an example that should help you get started:
>>
>> http://schemas.xmlsoap.org/soap/envelope/"; 
>>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201409"; 
>> soapenv:mustUnderstand="0">
>> *xxx*
>> *xxx*
>> *xxx*
>> false
>> false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">
>> 
>> ADD
>> 
>> **
>> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd">
>> http://www.example.com
>> www.example.com
>> Luxury Cruise to Mars
>> Visit the Red Planet in 
>> style.
>> Low-gravity fun for 
>> everyone!
>> 
>> PAUSED
>> 
>> 
>> 
>> 
>> 
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
>> wrote:
>>>
>>> Hi,
>>> Thank you, but I can not use the client libraries for my programming 
>>> language they simply do not
>>> Could you give an example xml, using TekstAd?
>>>
>>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 I strongly recommend using one of our client libraries 
  instead 
 of manually constructing your SOAP messages. Each client library lets you 
 work with objects instead of XML elements, which makes building your 
 requests far easier.

 Thanks,
 Josh, AdWords API Team

 On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
 wrote:
>
> Доброго времени суток!
>
> Делаю запрос к сервису AdGroupAdService. 
> Пример тела запроса:
>   
>  http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
> https://adwords.google.com/api/adwords/cm/v201409"";>
>
>   
>   ХХХ
>   Х
>   userAgent
>   false
>   false
>
>
>
>   
>   http://www.w3.org/2001/XMLSchema-instance"";>
>
>  "+СтруктураПараметров.Operator+"
> 
>
> "+СтруктураПараметров.adGroupId+"
>   
>   "+СтруктураПараметров.url+"
>  
>  "+СтруктураПараметров.displayUrl+"
>  
>  "+СтруктураПараметров.headline+"
>  
>  "+СтруктураПараметров.description1+"
>  
>  "+СтруктураПараметров.description2+"
>
>ENABLED
>APPROVED
>
>   "Те

Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-14 Thread treto1ctest
Hi,
Thank you, took your example:

https://adwords.google.com/api/adwords/cm/v201409"; 
xsi:type="ns2:TextAd">
http://www.example.com
www.example.com
Luxury Cruise to Mars
Visit the Red Planet in style.
Low-gravity fun for everyone!


when sending a query, I get an error on the line:

*https://adwords.google.com/api/adwords/cm/v201409 
" xsi:type="ns2:TextAd">*

*error*:

*Unmarshalling Error: ParseError at [row,col]:[18,108]*
*Message: 
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi*
 


четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> OK - here's an example that should help you get started:
>
> http://schemas.xmlsoap.org/soap/envelope/"; 
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/cm/v201409"; 
> soapenv:mustUnderstand="0">
> *xxx*
> *xxx*
> *xxx*
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201409";>
> 
> ADD
> 
> **
> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd">
> http://www.example.com
> www.example.com
> Luxury Cruise to Mars
> Visit the Red Planet in 
> style.
> Low-gravity fun for 
> everyone!
> 
> PAUSED
> 
> 
> 
> 
> 
>
> Cheers,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Hi,
>> Thank you, but I can not use the client libraries for my programming 
>> language they simply do not
>> Could you give an example xml, using TekstAd?
>>
>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> I strongly recommend using one of our client libraries 
>>>  instead 
>>> of manually constructing your SOAP messages. Each client library lets you 
>>> work with objects instead of XML elements, which makes building your 
>>> requests far easier.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
>>> wrote:

 Доброго времени суток!

 Делаю запрос к сервису AdGroupAdService. 
 Пример тела запроса:
   
 >>> http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
 https://adwords.google.com/api/adwords/cm/v201409"";>

   
   ХХХ
   Х
   userAgent
   false
   false



   
  >>> http://www.w3.org/2001/XMLSchema-instance"";>

  "+СтруктураПараметров.Operator+"
 

 "+СтруктураПараметров.adGroupId+"
   
   "+СтруктураПараметров.url+"
  
  "+СтруктураПараметров.displayUrl+"
  
  "+СтруктураПараметров.headline+"
  
  "+СтруктураПараметров.description1+"
  
  "+СтруктураПараметров.description2+"

ENABLED
APPROVED

   "Текст"

 
  
   

 

 в ответ получаю:
 "Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found 
 starting with element 'v20:headline'. One of '{"
 https://adwords.google.com/api/adwords/cm/v201409":finalUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":finalMobileUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":finalAppUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":trackingUrlTemplate, 
 "https://adwords.google.com/api/adwords/cm/v201409":urlCustomParameters, 
 "https://adwords.google.com/api/adwords/cm/v201409":devicePreference, "
 https://adwords.google.com/api/adwords/cm/v201409":Ad.Type}' is 
 expected. "

 Как мне использовать 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TextAd
  
 ?
 Может кто-то сталкивался? Как правильно сформировать запрос?

>>>

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

Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-14 Thread treto1ctest
Hi,
Thank you, but I can not use the client libraries for my programming 
language they simply do not
Could you give an example xml, using TekstAd?

среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> I strongly recommend using one of our client libraries 
>  instead 
> of manually constructing your SOAP messages. Each client library lets you 
> work with objects instead of XML elements, which makes building your 
> requests far easier.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Доброго времени суток!
>>
>> Делаю запрос к сервису AdGroupAdService. 
>> Пример тела запроса:
>>   
>> > http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
>> https://adwords.google.com/api/adwords/cm/v201409"";>
>>
>>   
>>   ХХХ
>>   Х
>>   userAgent
>>   false
>>   false
>>
>>
>>
>>   
>>  > http://www.w3.org/2001/XMLSchema-instance"";>
>> "+СтруктураПараметров.Operator+"
>> 
>>
>> "+СтруктураПараметров.adGroupId+"
>>   
>>   "+СтруктураПараметров.url+"
>>  
>>  "+СтруктураПараметров.displayUrl+"
>>  
>>  "+СтруктураПараметров.headline+"
>>  
>>  "+СтруктураПараметров.description1+"
>>  
>>  "+СтруктураПараметров.description2+"
>>
>>ENABLED
>>APPROVED
>>
>>   "Текст"
>>
>> 
>>  
>>   
>>
>> 
>>
>> в ответ получаю:
>> "Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found 
>> starting with element 'v20:headline'. One of '{"
>> https://adwords.google.com/api/adwords/cm/v201409":finalUrls, "
>> https://adwords.google.com/api/adwords/cm/v201409":finalMobileUrls, "
>> https://adwords.google.com/api/adwords/cm/v201409":finalAppUrls, "
>> https://adwords.google.com/api/adwords/cm/v201409":trackingUrlTemplate, "
>> https://adwords.google.com/api/adwords/cm/v201409":urlCustomParameters, "
>> https://adwords.google.com/api/adwords/cm/v201409":devicePreference, "
>> https://adwords.google.com/api/adwords/cm/v201409":Ad.Type}' is 
>> expected. "
>>
>> Как мне использовать 
>> https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TextAd
>>  
>> ?
>> Может кто-то сталкивался? Как правильно сформировать запрос?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/72dda62e-32b5-46b9-8eb5-ac4a2c96e4a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Как узнать adGroupId для определенной группы объявлений?

2015-01-14 Thread treto1ctest
Спасибо, уже реализовал через AdGroupService.get 

()

среда, 14 января 2015 г., 17:22:50 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> You can get the list of ad groups (and their IDs) using AdGroupService.get 
> 
>  or 
> by running an AD_GROUP_PERFORMANCE_REPORT 
> 
>  with zero impressions included 
> 
> .
>
> Cheers,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 6:52:04 AM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Добрый день!
>> Посылаю запрос к сервису AdGroupAdService на добавление объявления, 
>> требуется указать идентификатор группы объявления adGroupId в посылаемом 
>> запросе.
>> Как его узнать или получить можно,?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ce7466ce-eafd-43b1-a8b6-1db8292927db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-14 Thread treto1ctest
Доброго времени суток!

Делаю запрос к сервису AdGroupAdService. 
Пример тела запроса:
  
http://schemas.xmlsoap.org/soap/envelope/""; 
xmlns:v20=""https://adwords.google.com/api/adwords/cm/v201409"";>
   
  
  ХХХ
  Х
  userAgent
  false
  false
   
   
   
  
 http://www.w3.org/2001/XMLSchema-instance"";>
"+СтруктураПараметров.Operator+"

   
"+СтруктураПараметров.adGroupId+"
  
  "+СтруктураПараметров.url+"
 
 "+СтруктураПараметров.displayUrl+"
 
 "+СтруктураПараметров.headline+"
 
 "+СтруктураПараметров.description1+"
 
 "+СтруктураПараметров.description2+"
   
   ENABLED
   APPROVED
   
  "Текст"
   

 
  
   


в ответ получаю:
"Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found 
starting with element 'v20:headline'. One of 
'{"https://adwords.google.com/api/adwords/cm/v201409":finalUrls, 
"https://adwords.google.com/api/adwords/cm/v201409":finalMobileUrls, 
"https://adwords.google.com/api/adwords/cm/v201409":finalAppUrls, 
"https://adwords.google.com/api/adwords/cm/v201409":trackingUrlTemplate, 
"https://adwords.google.com/api/adwords/cm/v201409":urlCustomParameters, 
"https://adwords.google.com/api/adwords/cm/v201409":devicePreference, 
"https://adwords.google.com/api/adwords/cm/v201409":Ad.Type}' is expected. "

Как мне 
использовать 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TextAd
 
?
Может кто-то сталкивался? Как правильно сформировать запрос?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6498752d-779c-4fea-99ce-1fd7d7efee62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Как узнать adGroupId для определенной группы объявлений?

2015-01-14 Thread treto1ctest
Добрый день!
Посылаю запрос к сервису AdGroupAdService на добавление объявления, 
требуется указать идентификатор группы объявления adGroupId в посылаемом 
запросе.
Как его узнать или получить можно,?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6425a98a-6582-49e4-895b-e5bca1bbfe99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.