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:'null']
> Причем, получаю ошибку на своем сервере, если выполняю запрос со свого 
> компьютера - тогда все хорошо, запрос отрабатывает без ошибки.
> Код, который выполняется идентичный, выходит на одном компьтере 
> отрабаывтает как нужно, а на другом перестало - поулчаю ошибку.
> 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:'null']
Причем, получаю ошибку на своем сервере, если выполняю запрос со свого 
компьютера - тогда все хорошо, запрос отрабатывает без ошибки.
Код, который выполняется идентичный, выходит на одном компьтере 
отрабаывтает как нужно, а на другом перестало - поулчаю ошибку.
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:'null']
https://adwords.google.com/api/adwords/cm/v201609;>
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
trigger:'null']
ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AuthenticationError">

null
AuthenticationError.OAUTH_TOKEN_INVALID
AuthenticationError
OAUTH_TOKEN_INVALID







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

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b68d44b3-5feb-4a29-829a-c5e48365c937%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-10-28 Thread treto1ctest

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

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

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

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

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/95363826-f94b-401f-9b78-6c15ed51b818%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome_uri=urn:ietf:wg:oauth:2.0:oob_type=code_id=_type=offline
>  
> 
>
> В отчет получил code. 
> Далее использую code в запросе:
>
>
> https://www.googleapis.com/oauth2/v4/token?code=ххх_id=ххх_secret=ххх_uri=https://oauth2.example.com/code_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=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome_uri=urn:ietf:wg:oauth:2.0:oob_type=code_id=_type=offline

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

https://www.googleapis.com/oauth2/v4/token?code=ххх_id=ххх_secret=ххх_uri=https://oauth2.example.com/code_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_type=refresh_token_id=х_secret=хх_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_type=refresh_token_id=511638208817-1qo5ntvk4of9hos4vhkivp3nkmince46.apps.googleusercontent.com_secret=-oZQZE9VECkK60-GaWqbXnIk_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 не допускает рекламу табака и табачных 
>>> изделий. См. наш a href=
>>> http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>>>  
>>> список правил/a., isExemtable=true, 
>>> violatingParts=[Part{index=11, 
>>> length=3}]}]
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201603;>
>>> 

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

2016-05-17 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 не допускает рекламу табака и табачных 
> изделий. См. наш a href=
> http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>  
> список правил/a., 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 не допускает рекламу табака и табачных 
> изделий. См. наш a href=
> http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>  
> список правил/a., isExemtable=true, 
> violatingParts=[Part{index=11, 
> length=3}]}]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance; 
> xsi:type="PolicyViolationError">
> operations[0].operand.ad.headline
> 

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

2016-05-16 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 не допускает рекламу табака и табачных 
>>> изделий. См. наш a href=
>>> http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>>>  
>>> список правил/a., 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 не допускает рекламу табака и табачных 
>>> изделий. См. наш a href=
>>> http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>>>  
>>> список правил/a., 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 не допускает рекламу табака и табачных 
>>> изделий. См. наш a href=
>>> http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>>>  
>>> список правил/a.
>>>
>>> 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 

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

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 не допускает рекламу табака и табачных 
> изделий. См. наш a 
> href=http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>  
> список правил/a., 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 не допускает рекламу табака и табачных 
> изделий. См. наш a 
> href=http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>  
> список правил/a., 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 не допускает рекламу табака и табачных 
> изделий. См. наш a 
> href=http://adwords.google.com/support/bin/static.py?page=guidelines.cstopic=9271subtopic=9279answer=47228hl=ru_RUполный
>  
> список правил/a.
>
> 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
Не подскажите как мне изменить текст запроса , чтоб он заработал?

четверг, 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 
 https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem#attributeValues
  field 
 of FeedItem 
 https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem
  
 corresponding to a column with a mapping for a sitelink URL 
 https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks
 .
 This resulted in WRITE_ACCESS_DENIED error, as a sitelink URL 
 https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks
  was 
 made read-only 
 http://googleadsdeveloper.blogspot.jp/2015/05/reminder-adwords-destination-urls-will.html
  
 starting from July 1.

 Please migrate to use final URLs 
 https://developers.google.com/adwords/api/docs/guides/upgraded-urls 
 instead.

 Cheers,
 Thanet, AdWords API Team

 On Wednesday, August 5, 2015 at 10:01:19 PM UTC+9, Kio Mat wrote:

 Добрый день! Посылаю запрос к сервису FeedItemService (mutate), вида:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201502;
soapenv:Header
  v20:RequestHeader
  v20:clientCustomerIdххх-ххх-/v20:clientCustomerId
  v20:developerTokenх/v20:developerToken
  v20:userAgentAdWords/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations
 v20:operatorADD/v20:operator
 v20:operand
v20:feedId665013/v20:feedId

v20:statusENABLED/v20:status
v20:attributeValues
   v20:feedAttributeId1/v20:feedAttributeId
   v20:stringValueCreation z Fanal od 13 
 €/v20:stringValue
/v20:attributeValues
v20:attributeValues
   v20:feedAttributeId2/v20:feedAttributeId
   v20:stringValue
 http://tile.expert/en/tile/Fanal/Creation/v20:stringValue
/v20:attributeValues
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 раньше все работало хорошо, но вот недавно я стал получать ошибку:

 soap:Envelope 
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201502;requestId00051c8f2e11ae480ac41b84a500214a/requestIdserviceNameFeedItemService/serviceNamemethodNamemutate/methodNameoperations1/operationsresponseTime117/responseTime/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[EntityAccessDenied.WRITE_ACCESS_DENIED
  
 @ 
 operations[0].operand.attributeValues]/faultstringdetailApiExceptionFault
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201502;message[EntityAccessDenied.WRITE_ACCESS_DENIED
  
 @ 
 operations[0].operand.attributeValues]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=EntityAccessDeniedfieldPathoperations[0].operand.attributeValues/fieldPathtrigger/triggererrorStringEntityAccessDenied.WRITE_ACCESS_DENIED/errorStringApiError.TypeEntityAccessDenied/ApiError.TypereasonWRITE_ACCESS_DENIED/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope

 В чем проблема? Видимо связано с переходом на новый АПИ?



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


Re: FeedItemService WRITE_ACCESS_DENIED

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

v20:stringValuehttp://tile.expert/en/tile/Fanal/Creation/v20:stringValue

Нужно использовать не тег 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 
 https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem#attributeValues
  field 
 of FeedItem 
 https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem
  
 corresponding to a column with a mapping for a sitelink URL 
 https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks
 .
 This resulted in WRITE_ACCESS_DENIED error, as a sitelink URL 
 https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks
  was 
 made read-only 
 http://googleadsdeveloper.blogspot.jp/2015/05/reminder-adwords-destination-urls-will.html
  
 starting from July 1.

 Please migrate to use final URLs 
 https://developers.google.com/adwords/api/docs/guides/upgraded-urls 
 instead.

 Cheers,
 Thanet, AdWords API Team

 On Wednesday, August 5, 2015 at 10:01:19 PM UTC+9, Kio Mat wrote:

 Добрый день! Посылаю запрос к сервису FeedItemService (mutate), вида:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201502;
soapenv:Header
  v20:RequestHeader
  v20:clientCustomerIdххх-ххх-/v20:clientCustomerId
  v20:developerTokenх/v20:developerToken
  v20:userAgentAdWords/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations
 v20:operatorADD/v20:operator
 v20:operand
v20:feedId665013/v20:feedId

v20:statusENABLED/v20:status
v20:attributeValues
   v20:feedAttributeId1/v20:feedAttributeId
   v20:stringValueCreation z Fanal od 13 
 €/v20:stringValue
/v20:attributeValues
v20:attributeValues
   v20:feedAttributeId2/v20:feedAttributeId
   v20:stringValue
 http://tile.expert/en/tile/Fanal/Creation/v20:stringValue
/v20:attributeValues
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 раньше все работало хорошо, но вот недавно я стал получать ошибку:

 soap:Envelope 
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201502;requestId00051c8f2e11ae480ac41b84a500214a/requestIdserviceNameFeedItemService/serviceNamemethodNamemutate/methodNameoperations1/operationsresponseTime117/responseTime/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[EntityAccessDenied.WRITE_ACCESS_DENIED
  
 @ 
 operations[0].operand.attributeValues]/faultstringdetailApiExceptionFault
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201502;message[EntityAccessDenied.WRITE_ACCESS_DENIED
  
 @ 
 operations[0].operand.attributeValues]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=EntityAccessDeniedfieldPathoperations[0].operand.attributeValues/fieldPathtrigger/triggererrorStringEntityAccessDenied.WRITE_ACCESS_DENIED/errorStringApiError.TypeEntityAccessDenied/ApiError.TypereasonWRITE_ACCESS_DENIED/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope

 В чем проблема? Видимо связано с переходом на новый АПИ?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
Изменил запрос так:

?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20=https://adwords.google.com/api/adwords/cm/v201502;
   soapenv:Header
  v20:RequestHeader
  v20:clientCustomerIdххх-ххх-/v20:clientCustomerId
  v20:developerTokenх/v20:developerToken
  v20:userAgentAdWords/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:mutate
 v20:operations
v20:operatorADD/v20:operator
v20:operand
   v20:feedId665013/v20:feedId
   
   v20:statusENABLED/v20:status
   v20:attributeValues
  v20:feedAttributeId1/v20:feedAttributeId
  v20:stringValueCreation z Fanal od 13 
€/v20:stringValue
   /v20:attributeValues
   v20:attributeValues
  v20:feedAttributeId5/v20:feedAttributeId
  v20:stringValuehttp://tile.expert/en/tile/Fanal/Creation
/v20:stringValue
   /v20:attributeValues
/v20:operand
 /v20:operations
  /v20:mutate
   /soapenv:Body
/soapenv:Envelope

Ошибки не получаю, но Конечный 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 
 https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem#attributeValues
  field 
 of FeedItem 
 https://developers.google.com/adwords/api/docs/reference/v201502/FeedItemService.FeedItem
  
 corresponding to a column with a mapping for a sitelink URL 
 https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks
 .
 This resulted in WRITE_ACCESS_DENIED error, as a sitelink URL 
 https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks
  was 
 made read-only 
 http://googleadsdeveloper.blogspot.jp/2015/05/reminder-adwords-destination-urls-will.html
  
 starting from July 1.

 Please migrate to use final URLs 
 https://developers.google.com/adwords/api/docs/guides/upgraded-urls 
 instead.

 Cheers,
 Thanet, AdWords API Team

 On Wednesday, August 5, 2015 at 10:01:19 PM UTC+9, Kio Mat wrote:

 Добрый день! Посылаю запрос к сервису FeedItemService (mutate), вида:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201502;
soapenv:Header
  v20:RequestHeader
  v20:clientCustomerIdххх-ххх-/v20:clientCustomerId
  v20:developerTokenх/v20:developerToken
  v20:userAgentAdWords/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations
 v20:operatorADD/v20:operator
 v20:operand
v20:feedId665013/v20:feedId

v20:statusENABLED/v20:status
v20:attributeValues
   v20:feedAttributeId1/v20:feedAttributeId
   v20:stringValueCreation z Fanal od 13 
 €/v20:stringValue
/v20:attributeValues
v20:attributeValues
   v20:feedAttributeId2/v20:feedAttributeId
   v20:stringValue
 http://tile.expert/en/tile/Fanal/Creation/v20:stringValue
/v20:attributeValues
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 раньше все работало хорошо, но вот недавно я стал получать ошибку:

 soap:Envelope 
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201502;requestId00051c8f2e11ae480ac41b84a500214a/requestIdserviceNameFeedItemService/serviceNamemethodNamemutate/methodNameoperations1/operationsresponseTime117/responseTime/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[EntityAccessDenied.WRITE_ACCESS_DENIED
  
 @ 
 operations[0].operand.attributeValues]/faultstringdetailApiExceptionFault
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201502;message[EntityAccessDenied.WRITE_ACCESS_DENIED
  
 @ 
 operations[0].operand.attributeValues]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 

Проблема при получении ранее созданного 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)
v20:rhsOperand 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409; 
i:type=ns2:ConstantOperand
 v20:typeLONG/v20:type
 v20:longValuefeedItemId/v20:longValue
 /v20:rhsOperand
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), потом пытаюсь добавить новую доп ссылку запросом вида:
 ...
 v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operatorADD/v20:operator
 v20:operand
v20:feedId24098551/v20:feedId
v20:adGroupId16034823433/v20:adGroupId
v20:matchingFunction
   v20:operatorIN/v20:operator
   v20:lhsOperand xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; 
 i:type=ns2:RequestContextOperand
  v20:contextTypeFEED_ITEM_ID/v20:contextType
   /v20:lhsOperand
   v20:rhsOperand xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; 
 i:type=ns2:ConstantOperand
  v20:typeLONG/v20:type
  v20:longValue1092397511/v20:longValue
   /v20:rhsOperand
/v20:matchingFunction
v20:placeholderTypes1/v20:placeholderTypes
v20:statusENABLED/v20:status
 /v20:operand
  /v20:operations
   /v20:mutate...

 в итоге если в группе нет еще дополнительной ссылки - она создается, 
 иначе получаю ошибку:
 [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), потом пытаюсь добавить новую доп ссылку запросом вида:
...
v20:mutate
 v20:operations 
xmlns:i=http://www.w3.org/2001/XMLSchema-instance;
v20:operatorADD/v20:operator
v20:operand
   v20:feedId24098551/v20:feedId
   v20:adGroupId16034823433/v20:adGroupId
   v20:matchingFunction
  v20:operatorIN/v20:operator
  v20:lhsOperand 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409; 
i:type=ns2:RequestContextOperand
 v20:contextTypeFEED_ITEM_ID/v20:contextType
  /v20:lhsOperand
  v20:rhsOperand 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409; 
i:type=ns2:ConstantOperand
 v20:typeLONG/v20:type
 v20:longValue1092397511/v20:longValue
  /v20:rhsOperand
   /v20:matchingFunction
   v20:placeholderTypes1/v20:placeholderTypes
   v20:statusENABLED/v20:status
/v20:operand
 /v20:operations
  /v20:mutate...

в итоге если в группе нет еще дополнительной ссылки - она создается, иначе 
получаю ошибку:
[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 г., 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:

 Добрый день, у меня проблема при создании объвления.
 Посыляю запрос на создание:
 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdххх-ххх-/v20:clientCustomerId
   v20:developerTokenхх/v20:developerToken
   v20:userAgent/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate xmlns=
 https://adwords.google.com/api/adwords/cm/v201409;
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operatorADD/v20:operator
 v20:operand
v20:adGroupId16040997913/v20:adGroupId
ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; i:type=ns2:TextAd
   
   v20:urlhttp://treto.ru/v20:url
   v20:displayUrlhttp://treto.ru/plitka/Elios/Riflessi
 /v20:displayUrl
   v20:headlineПлитка Riflessi/v20:headline
   v20:description1Низкие цены!/v20:description1
   v20:description2Каталог плитки/v20:description2
/ad
v20:statusENABLED/v20:status
v20:approvalStatusAPPROVED/v20:approvalStatus
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

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

 message[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}]}]/message

 ApplicationException.TypeApiException/ApplicationException.Type


 -errors xsi:type=PolicyViolationError xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;

 fieldPathoperations[0].operand.ad.headline/fieldPath

 trigger/

 errorStringPolicyViolationError.POLICY_ERROR/errorString

 ApiError.TypePolicyViolationError/ApiError.Type


 +key

 externalPolicyNameGoogle AdWords/externalPolicyName

 externalPolicyUrl/

 externalPolicyDescriptionThis ad or keyword requires review before it 
 can run./externalPolicyDescription

 isExemptabletrue/isExemptable


 -violatingParts

 index7/index

 length8/length

 /violatingParts

 /errors

 /ApiExceptionFault

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



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


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 
 https://developers.google.com/adwords/api/docs/reference/v201409/TrafficEstimatorService.
  
 See our Estimating traffic guide 
 https://developers.google.com/adwords/api/docs/guides/traffic-estimator-service
  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: Существует ли сервис для проверки количества запросов по ключевым словам?

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

четверг, 29 января 2015 г., 16:41:03 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:

 Hi,

 Yes - you can use the TrafficEstimatorService 
 https://developers.google.com/adwords/api/docs/reference/v201409/TrafficEstimatorService.
  
 See our Estimating traffic guide 
 https://developers.google.com/adwords/api/docs/guides/traffic-estimator-service
  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: Проблема с созданием запроса к AdGroupFeedService

2015-01-23 Thread treto1ctest
Здравствуйте! Спасибо. На текущий момент уменя проблема с placeholderTypes
1/placeholderTypes: я всегда указываю 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.

 ?xml version=1.0 encoding=UTF-8?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
   soap:Header
 RequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201409;
   developerToken**/developerToken
   clientCustomerId**/clientCustomerId
   userAgentINSERT_YOUR_COMPANY_OR_APPLICATION_NAME_HERE 
 (AwApi-DotNet/18.7.0, Common-Dotnet/3.5.0, .NET CLR/4.0.30319.34209, gzip)
 /userAgent
 /RequestHeader
   /soap:Header
   soap:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201409;
   operations
 operatorADD/operator
 operand
   feedId24316877/feedId
   campaignId35566846/campaignId
   matchingFunction
 operatorAND/operator
 lhsOperand xsi:type=FunctionOperand
   value
 operatorIN/operator
 lhsOperand xsi:type=RequestContextOperand
   contextTypeFEED_ITEM_ID/contextType
 /lhsOperand
 rhsOperand xsi:type=ConstantOperand
   typeLONG/type
   longValue1045918788/longValue
 /rhsOperand
 rhsOperand xsi:type=ConstantOperand
   typeLONG/type
   longValue1045918791/longValue
 /rhsOperand
 rhsOperand xsi:type=ConstantOperand
   typeLONG/type
   longValue1045918794/longValue
 /rhsOperand
 rhsOperand xsi:type=ConstantOperand
   typeLONG/type
   longValue1045918797/longValue
 /rhsOperand
 rhsOperand xsi:type=ConstantOperand
   typeLONG/type
   longValue1045918800/longValue
 /rhsOperand
 rhsOperand xsi:type=ConstantOperand
   typeLONG/type
   longValue1045918803/longValue
 /rhsOperand
   /value
 /lhsOperand
 lhsOperand xsi:type=FunctionOperand
   value
 operatorEQUALS/operator
 lhsOperand xsi:type=RequestContextOperand
   contextTypeDEVICE_PLATFORM/contextType
 /lhsOperand
 rhsOperand xsi:type=ConstantOperand
   typeSTRING/type
   stringValueMobile/stringValue
 /rhsOperand
   /value
 /lhsOperand
   /matchingFunction
   placeholderTypes1/placeholderTypes
 /operand
   /operations
 /mutate
   /soap:Body
 /soap:Envelope

 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. Текст запроса:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdclientCustomerId/v20:clientCustomerId
   v20:developerTokenХХ/v20:developerToken
   v20:userAgentХ/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operatorADD/v20:operator
 

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. Текст запроса:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdclientCustomerId/v20:clientCustomerId
   v20:developerTokenХХ/v20:developerToken
   v20:userAgentХ/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operatorADD/v20:operator
 v20:operand
v20:feedIdfeedId/v20:feedId
v20:adGroupIdadGroupId/v20:adGroupId
v20:matchingFunction
   v20:operatorIN/v20:operator
   v20:lhsOperand xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; 
 i:type=ns2:RequestContextOperand
  v20:contextTypeFEED_ITEM_ID/v20:contextType
   /v20:lhsOperand
/v20:matchingFunction
v20:placeholderTypes1/v20:placeholderTypes
v20:statusENABLED/v20:status
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope;

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

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

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

 v20:rhsOperand
 
 v20:FunctionArgumentOperand.Type?/v20:FunctionArgumentOperand.Type
 /v20: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. Текст запроса:

?xml version=1.0 encoding=UTF-8?
soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20=https://adwords.google.com/api/adwords/cm/v201409;
   soapenv:Header
  v20:RequestHeader
  v20:clientCustomerIdclientCustomerId/v20:clientCustomerId
  v20:developerTokenХХ/v20:developerToken
  v20:userAgentХ/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:mutate
 v20:operations 
xmlns:i=http://www.w3.org/2001/XMLSchema-instance;
v20:operatorADD/v20:operator
v20:operand
   v20:feedIdfeedId/v20:feedId
   v20:adGroupIdadGroupId/v20:adGroupId
   v20:matchingFunction
  v20:operatorIN/v20:operator
  v20:lhsOperand 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409; 
i:type=ns2:RequestContextOperand
 v20:contextTypeFEED_ITEM_ID/v20:contextType
  /v20:lhsOperand
   /v20:matchingFunction
   v20:placeholderTypes1/v20:placeholderTypes
   v20:statusENABLED/v20:status
/v20:operand
 /v20:operations
  /v20:mutate
   /soapenv:Body
/soapenv:Envelope;

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

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

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

v20:rhsOperand

v20:FunctionArgumentOperand.Type?/v20:FunctionArgumentOperand.Type
/v20: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 
 https://developers.google.com/adwords/api/docs/guides/feed-services, 
 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 
 https://developers.google.com/adwords/api/docs/reference/latest/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
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 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService
 .

 In addition, each client library 
 https://developers.google.com/adwords/api/docs/clientlibraries contains 
 an example for creating ads in its *basic operations* folder, e.g., see 
 AddTextAds.java 
 https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/basicoperations/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-16 Thread treto1ctest
Добрый день!
Подскажите какой веб-сервис нужно использовать для добавления расширений 
объявлений?
Смотрю в сторону CampaignAdExtensionService 
https://developers.google.com/adwords/api/docs/reference/latest/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
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 
 https://developers.google.com/adwords/api/docs/guides/feed-services, 
 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 
 https://developers.google.com/adwords/api/docs/reference/latest/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.


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 
 https://developers.google.com/adwords/api/docs/guides/feed-services, 
 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 
 https://developers.google.com/adwords/api/docs/reference/latest/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.


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

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
tried to make:

v20:ad xsi:type=TextAd 
xmlns:xsi=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:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
 xmlns:v20=https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdxxx-xxx-/v20:clientCustomerId
   v20:developerTokenxx/v20:developerToken
   v20:userAgent/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operatorADD/v20:operator
 v20:operand
v20:adGroupId15754156713/v20:adGroupId
v20:ad xsi:type=v20:TextAd   
   v20:urlhttp://www.treto.ru/v20:url
   v20:displayUrltreto.ru/v20:displayUrl
   v20:headlineТестовое объявление treto.ru
 /v20:headline
   v20:description1description1: Тестовое объявление 
 treto.ru/v20:description1
   v20:description2description2: Тестовое объявление 
 treto.ru/v20:description2
/v20:ad
v20:statusENABLED/v20:status
v20:approvalStatusAPPROVED/v20:approvalStatus
v20:labels
   v20:nameТестовое объявление treto.ru/v20:name
/v20:labels
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 ERROR:

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

 четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
 (AdWords API Team) написал:

 Hi,

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

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; 
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201409; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId*xxx*/ns1:clientCustomerId
 ns1:developerToken*xxx*/ns1:developerToken
 ns1:userAgent*xxx*/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201409
 
 operations
 operatorADD/operator
 operand
 adGroupId**/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; xsi:type=ns2:TextAd
 urlhttp://www.example.com/url
 displayUrlwww.example.com/displayUrl
 headlineLuxury Cruise to Mars/headline
 description1Visit the Red Planet in 
 style./description1
 description2Low-gravity fun for 
 everyone!/description2
 /ad
 statusPAUSED/status
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 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 
 https://developers.google.com/adwords/api/docs/clientlibraries 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. 
 Пример тела запроса:
   ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdХХХ/v20:clientCustomerId
   v20:developerTokenХ/v20:developerToken
   v20:userAgentuserAgent/v20:userAgent
   

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

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

ad xmlns:ns2=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?adxsi:typexsi
 

четверг, 15 января 2015 г., 11:14:37 UTC+2 пользователь treto...@gmail.com 
написал:

 tried to make:

 v20:ad xsi:type=TextAd xmlns:xsi=
 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:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdxxx-xxx-/v20:clientCustomerId
   v20:developerTokenxx/v20:developerToken
   v20:userAgent/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operatorADD/v20:operator
 v20:operand
v20:adGroupId15754156713/v20:adGroupId
v20:ad xsi:type=v20:TextAd   
   v20:urlhttp://www.treto.ru/v20:url
   v20:displayUrltreto.ru/v20:displayUrl
   v20:headlineТестовое объявление treto.ru
 /v20:headline
   v20:description1description1: Тестовое объявление 
 treto.ru/v20:description1
   v20:description2description2: Тестовое объявление 
 treto.ru/v20:description2
/v20:ad
v20:statusENABLED/v20:status
v20:approvalStatusAPPROVED/v20:approvalStatus
v20:labels
   v20:nameТестовое объявление treto.ru/v20:name
/v20:labels
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 ERROR:

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

 четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
 (AdWords API Team) написал:

 Hi,

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

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; 
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201409; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId*xxx*/ns1:clientCustomerId
 ns1:developerToken*xxx*/ns1:developerToken
 ns1:userAgent*xxx*/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201409
 
 operations
 operatorADD/operator
 operand
 adGroupId**/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; xsi:type=ns2:TextAd
 
 urlhttp://www.example.com/url
 displayUrlwww.example.com/displayUrl
 headlineLuxury Cruise to Mars/headline
 description1Visit the Red Planet in 
 style./description1
 description2Low-gravity fun for 
 everyone!/description2
 /ad
 statusPAUSED/status
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 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 
 https://developers.google.com/adwords/api/docs/clientlibraries 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. 
 Пример тела запроса:
   ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 

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

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

soapenv:Body
  v20:mutate xmlns=https://adwords.google.com/api/adwords/cm/v201409;
 v20:operations 
xmlns:i=http://www.w3.org/2001/XMLSchema-instance;
v20:operatorADD/v20:operator
v20:operand
   v20:adGroupId15889158713/v20:adGroupId
ad 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409; 
i:type=ns2:TextAd
  v20:urlhttp://www.ex.ru/v20:url
  v20:displayUrlex.ru/v20:displayUrl
  v20:headlineТестовое объявление /v20:headline
  v20:description1Тестовое объявление 1/v20:description1
  v20:description2Тестовое объявление 
 2/v20:description2
   /ad
   v20:statusENABLED/v20:status
   v20:approvalStatusAPPROVED/v20:approvalStatus
/v20:operand
 /v20:operations
  /v20:mutate
   /soapenv:Body

четверг, 15 января 2015 г., 11:32:28 UTC+2 пользователь treto...@gmail.com 
написал:

 If I tried to make:

 ad xmlns:ns2=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?adxsi:typexsi
  

 четверг, 15 января 2015 г., 11:14:37 UTC+2 пользователь treto...@gmail.com 
 написал:

 tried to make:

 v20:ad xsi:type=TextAd xmlns:xsi=
 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:

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdxxx-xxx-/v20:clientCustomerId
   v20:developerTokenxx/v20:developerToken
   v20:userAgent/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operatorADD/v20:operator
 v20:operand
v20:adGroupId15754156713/v20:adGroupId
v20:ad xsi:type=v20:TextAd   
   v20:urlhttp://www.treto.ru/v20:url
   v20:displayUrltreto.ru/v20:displayUrl
   v20:headlineТестовое объявление treto.ru
 /v20:headline
   v20:description1description1: Тестовое объявление 
 treto.ru/v20:description1
   v20:description2description2: Тестовое объявление 
 treto.ru/v20:description2
/v20:ad
v20:statusENABLED/v20:status
v20:approvalStatusAPPROVED/v20:approvalStatus
v20:labels
   v20:nameТестовое объявление treto.ru/v20:name
/v20:labels
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 ERROR:

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

 четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
 (AdWords API Team) написал:

 Hi,

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

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; 
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201409; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId*xxx*/ns1:clientCustomerId
 ns1:developerToken*xxx*/ns1:developerToken
 ns1:userAgent*xxx*/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=
 https://adwords.google.com/api/adwords/cm/v201409;
 operations
 operatorADD/operator
 operand
 adGroupId**/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; 
 xsi:type=ns2:TextAd
 urlhttp://www.example.com/url
 displayUrlwww.example.com/displayUrl
 headlineLuxury Cruise to Mars/headline
 description1Visit the Red Planet in 
 style./description1
 description2Low-gravity fun for 
 everyone!/description2
 /ad
 statusPAUSED/status
 /operand
 /operations
 

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

2015-01-15 Thread treto1ctest
My request:

?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20=https://adwords.google.com/api/adwords/cm/v201409;
   soapenv:Header
  v20:RequestHeader
  v20:clientCustomerId496-962-0130/v20:clientCustomerId
  v20:developerTokenjrSUhkMn50elFT-Ff_qXTw/v20:developerToken
  v20:userAgent1cAdWords/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:mutate
 v20:operations 
xmlns:i=http://www.w3.org/2001/XMLSchema-instance;
v20:operatorADD/v20:operator
v20:operand
   v20:adGroupId15719156713/v20:adGroupId
   v20:ad xsi:type=v20:TextAd   
  v20:urlhttp://www.treto.ru/v20:url
  v20:displayUrltreto.ru/v20:displayUrl
  v20:headlineТестовое объявление treto.ru/v20:headline
  v20:description1description1: Тестовое объявление 
treto.ru/v20:description1
  v20:description2description2: Тестовое объявление 
treto.ru/v20:description2
   /v20:ad
   v20:statusENABLED/v20:status
   v20:approvalStatusAPPROVED/v20:approvalStatus
   v20:labels
  v20:nameТестовое объявление treto.ru/v20:name
   /v20:labels
/v20:operand
 /v20:operations
  /v20:mutate
   /soapenv:Body
/soapenv:Envelope

ERROR:

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

четверг, 15 января 2015 г., 9:37:04 UTC+2 пользователь treto...@gmail.com 
написал:

 Hi,
 Thank you, took your example:

 ad xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409; 
 xsi:type=ns2:TextAd
 urlhttp://www.example.com/url
 displayUrlwww.example.com/displayUrl
 headlineLuxury Cruise to Mars/headline
 description1Visit the Red Planet in style./description1
 description2Low-gravity fun for everyone!/description2
 /ad

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

 *ad xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409 
 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:adxsi:typexsi
  
 http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:adxsi:typexsi*
  


 четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
 (AdWords API Team) написал:

 Hi,

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

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; 
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201409; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId*xxx*/ns1:clientCustomerId
 ns1:developerToken*xxx*/ns1:developerToken
 ns1:userAgent*xxx*/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201409
 
 operations
 operatorADD/operator
 operand
 adGroupId**/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; xsi:type=ns2:TextAd
 urlhttp://www.example.com/url
 displayUrlwww.example.com/displayUrl
 headlineLuxury Cruise to Mars/headline
 description1Visit the Red Planet in 
 style./description1
 description2Low-gravity fun for 
 everyone!/description2
 /ad
 statusPAUSED/status
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 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 
 https://developers.google.com/adwords/api/docs/clientlibraries 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


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

2015-01-15 Thread treto1ctest
My request:

?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20=https://adwords.google.com/api/adwords/cm/v201409;
   soapenv:Header
  v20:RequestHeader
  v20:clientCustomerIdxxx-xxx-/v20:clientCustomerId
  v20:developerTokenxx/v20:developerToken
  v20:userAgent/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:mutate
 v20:operations xmlns:i=http://www.w3.org/2001/XMLSchema-instance

v20:operatorADD/v20:operator
v20:operand
   v20:adGroupId15754156713/v20:adGroupId
   v20:ad xsi:type=v20:TextAd   
  v20:urlhttp://www.treto.ru/v20:url
  v20:displayUrltreto.ru/v20:displayUrl
  v20:headlineТестовое объявление treto.ru/v20:headline
  v20:description1description1: Тестовое объявление 
treto.ru/v20:description1
  v20:description2description2: Тестовое объявление 
treto.ru/v20:description2
   /v20:ad
   v20:statusENABLED/v20:status
   v20:approvalStatusAPPROVED/v20:approvalStatus
   v20:labels
  v20:nameТестовое объявление treto.ru/v20:name
   /v20:labels
/v20:operand
 /v20:operations
  /v20:mutate
   /soapenv:Body
/soapenv:Envelope

ERROR:

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

четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:

 Hi,

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

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; 
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201409; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId*xxx*/ns1:clientCustomerId
 ns1:developerToken*xxx*/ns1:developerToken
 ns1:userAgent*xxx*/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201409;
 operations
 operatorADD/operator
 operand
 adGroupId**/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; xsi:type=ns2:TextAd
 urlhttp://www.example.com/url
 displayUrlwww.example.com/displayUrl
 headlineLuxury Cruise to Mars/headline
 description1Visit the Red Planet in 
 style./description1
 description2Low-gravity fun for 
 everyone!/description2
 /ad
 statusPAUSED/status
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 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 
 https://developers.google.com/adwords/api/docs/clientlibraries 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. 
 Пример тела запроса:
   ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdХХХ/v20:clientCustomerId
   v20:developerTokenХ/v20:developerToken
   v20:userAgentuserAgent/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;

  v20:operator+СтруктураПараметров.Operator+/v20:operator
 v20:operand
 

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 
 https://developers.google.com/adwords/api/docs/clientlibraries 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. 
 Пример тела запроса:
   ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdХХХ/v20:clientCustomerId
   v20:developerTokenХ/v20:developerToken
   v20:userAgentuserAgent/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;
 v20:operator+СтруктураПараметров.Operator+/v20:operator
 v20:operand

 v20:adGroupId+СтруктураПараметров.adGroupId+/v20:adGroupId
v20:ad   
   v20:url+СтруктураПараметров.url+/v20:url
  
  v20:displayUrl+СтруктураПараметров.displayUrl+/v20:displayUrl
  
  v20:headline+СтруктураПараметров.headline+/v20:headline
  
  v20:description1+СтруктураПараметров.description1+/v20:description1
  
  v20:description2+СтруктураПараметров.description2+/v20:description2
/v20:ad
v20:statusENABLED/v20:status
v20:approvalStatusAPPROVED/v20:approvalStatus
v20:labels
   v20:nameТекст/v20:name
/v20:labels
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 в ответ получаю:
 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.


Как узнать 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.


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

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

ad xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409; 
xsi:type=ns2:TextAd
urlhttp://www.example.com/url
displayUrlwww.example.com/displayUrl
headlineLuxury Cruise to Mars/headline
description1Visit the Red Planet in style./description1
description2Low-gravity fun for everyone!/description2
/ad

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

*ad xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409 
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:adxsi:typexsi*
 


четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:

 Hi,

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

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; 
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201409; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerId*xxx*/ns1:clientCustomerId
 ns1:developerToken*xxx*/ns1:developerToken
 ns1:userAgent*xxx*/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201409;
 operations
 operatorADD/operator
 operand
 adGroupId**/adGroupId
 ad xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409; xsi:type=ns2:TextAd
 urlhttp://www.example.com/url
 displayUrlwww.example.com/displayUrl
 headlineLuxury Cruise to Mars/headline
 description1Visit the Red Planet in 
 style./description1
 description2Low-gravity fun for 
 everyone!/description2
 /ad
 statusPAUSED/status
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 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 
 https://developers.google.com/adwords/api/docs/clientlibraries 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. 
 Пример тела запроса:
   ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:v20=
 https://adwords.google.com/api/adwords/cm/v201409;
soapenv:Header
   v20:RequestHeader
   v20:clientCustomerIdХХХ/v20:clientCustomerId
   v20:developerTokenХ/v20:developerToken
   v20:userAgentuserAgent/v20:userAgent
   v20:validateOnlyfalse/v20:validateOnly
   v20:partialFailurefalse/v20:partialFailure
/v20:RequestHeader
/soapenv:Header
soapenv:Body
   v20:mutate
  v20:operations xmlns:i=
 http://www.w3.org/2001/XMLSchema-instance;

  v20:operator+СтруктураПараметров.Operator+/v20:operator
 v20:operand

 v20:adGroupId+СтруктураПараметров.adGroupId+/v20:adGroupId
v20:ad   
   v20:url+СтруктураПараметров.url+/v20:url
  
  v20:displayUrl+СтруктураПараметров.displayUrl+/v20:displayUrl
  
  v20:headline+СтруктураПараметров.headline+/v20:headline
  
  v20:description1+СтруктураПараметров.description1+/v20:description1
  
  v20:description2+СтруктураПараметров.description2+/v20:description2
/v20:ad
v20:statusENABLED/v20:status
v20:approvalStatusAPPROVED/v20:approvalStatus
v20:labels
   v20:nameТекст/v20:name
/v20:labels
 /v20:operand
  /v20:operations
   /v20:mutate
/soapenv:Body
 /soapenv:Envelope

 в ответ получаю:
 Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found 
 starting with element 

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

2015-01-14 Thread treto1ctest
Спасибо, уже реализовал через AdGroupService.get 
https://developers.google.com/adwords/api/docs/reference/v201409/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 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupService#get
  or 
 by running an AD_GROUP_PERFORMANCE_REPORT 
 https://developers.google.com/adwords/api/docs/appendix/reports#ad-group
  with zero impressions included 
 https://developers.google.com/adwords/api/docs/guides/zero-impression-reports
 .

 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. 
Пример тела запроса:
  ?xml version=1.0 encoding=UTF-8?
soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20=https://adwords.google.com/api/adwords/cm/v201409;
   soapenv:Header
  v20:RequestHeader
  v20:clientCustomerIdХХХ/v20:clientCustomerId
  v20:developerTokenХ/v20:developerToken
  v20:userAgentuserAgent/v20:userAgent
  v20:validateOnlyfalse/v20:validateOnly
  v20:partialFailurefalse/v20:partialFailure
   /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:mutate
 v20:operations 
xmlns:i=http://www.w3.org/2001/XMLSchema-instance;
v20:operator+СтруктураПараметров.Operator+/v20:operator
v20:operand
   
v20:adGroupId+СтруктураПараметров.adGroupId+/v20:adGroupId
   v20:ad   
  v20:url+СтруктураПараметров.url+/v20:url
 
 v20:displayUrl+СтруктураПараметров.displayUrl+/v20:displayUrl
 
 v20:headline+СтруктураПараметров.headline+/v20:headline
 
 v20:description1+СтруктураПараметров.description1+/v20:description1
 
 v20:description2+СтруктураПараметров.description2+/v20:description2
   /v20:ad
   v20:statusENABLED/v20:status
   v20:approvalStatusAPPROVED/v20:approvalStatus
   v20:labels
  v20:nameТекст/v20:name
   /v20:labels
/v20:operand
 /v20:operations
  /v20:mutate
   /soapenv:Body
/soapenv:Envelope

в ответ получаю:
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.