Доброго времени суток!
Может кто-то борол такую проблему?
Пытаюсь получить токен авторизации без клиентских библиотек, следую
описанию https://developers.google.com/accounts/docs/OAuth2WebServer?hl=ru
, поулчил код авторизации, но вот при получении токена авторизации получаю
ошибку, описание
В первую очередь, надо удалить данный OAuth клиент и создать новый.
ClientSecret не должен быть никому известен, а это публичный форум.
1. Создайте новый клиент с типом installed application.
2. Получение verification code. Для этого в браузере откройте ссылку:
*1. Настройки:*
AdWordsApi
add key=UserAgent value=AdWordsApi/
add key=DeveloperToken value=Х/
add key=ХХХ-ХХХ-/
add key='AuthorizationMethod' value='OAuth2' /
add key='OAuth2ClientId'
value='ХХ-ХХХ-.apps.googleusercontent.com' /
add
Thanks to anyone for taking the time!
I am new to development so I searched and experimented before coming here
to ask.
I need to create a single (html?) file, containing only the code required
to execute an HTTP Post request for an ad hoc report, when the file is
loaded (opened) in a
Hello
A few days ago, I discovered that no longer climb reports on advertising of
our customers in Google Adwords. Reports are generated and climb through
googleads-php-lib, the latest version.
I saw that there is an error:
Parsing WSDL: Couldn't load from
Спасибо!
Пытаюсь отправить запрос вида:
POST /oauth2/v3/token HTTP/1.1
Host: www.googleapis.com
Content-Type: application/x-www-form-urlencoded
code=4/P7q7W91a-oMsCeLvIaQm6bTrgtp7
client_id=8819981768.apps.googleusercontent.com
client_secret={client_secret}
Hello,
I am unable to apply for AdWords API Access through my MCC account. There
is no AdWords API Center menu item available for me to click on to apply
for access. Can you please assist me with applying for API access?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on
Разобрано здесь:
https://groups.google.com/forum/#!topic/adwords-api/CcKA0sJtxPE
-Даниил.
On Thursday, December 25, 2014 11:54:17 AM UTC+3, sneus...@treto.ru wrote:
Доброго времени суток!
Может кто-то борол такую проблему?
Пытаюсь получить токен авторизации без клиентских библиотек,
Hello Dmitry,
If you IP range were blocked, you would get an error message, rather than a
timeout.
I suggest checking your network configuration first. Do you have to use a
proxy? Any chance a transparent proxy is used?
What does traceroute to adwords.google.com say from that location?
Получил ответ когда послал запрос с текстом:
Hello,
Most likely it means this account is not an MCC account. Please try
creating a new MCC account (you need a different email address for it).
-Danial, AdWords API Team.
On Wednesday, December 24, 2014 2:58:57 PM UTC+3, sr...@inspireinfosol.com
wrote:
Hello,
I am unable to apply
Владимир, добрый день,
Судя по всему, вы не указываете ClientCustomerId. Нужно указать ID
аккаунта, для которого запрашивается отчет.
-Даниил, команда AdWords API.
On Wednesday, December 24, 2014 2:56:16 PM UTC+3, Владимир Шангеев wrote:
*1. Настройки:*
AdWordsApi
add
Судя по всему, вы не указываете ClientCustomerId. Нужно указать ID
аккаунта, для которого запрашивается отчет.
Извините, пересмотрев настройки обнаружил, что не верно указал add
key=ХХХ-ХХХ-/.
Должно быть add key=ClientCustomerId value=ХХХ-ХХХ-/
Спасибо за ответ.
--
--
Hello Joel,
Thank you for bringing this up, we'll review this request.
-Danial, AdWords API Team.
On Wednesday, December 24, 2014 5:34:41 PM UTC+3, joel wrote:
The Search Query Performance Report has DestinationUrl but is missing
FinalUrls as an available column. Could this be added
Hello Ben,
Ads and keywords are immutable. You can't modify it, you can only remove it
and create a new one.
If you modify ad in the UI, it will remove the old one and create a new
one for you behind the scenes. You, then, will be able to see both ads with
separate stats.
-Danial, AdWords
Вопрос теперь как использовать полученные параметры?
access_token посылать в soapenv:Header?
refresh_token - его где использовать?
четверг, 25 декабря 2014 г., 12:38:26 UTC+2 пользователь sneus...@treto.ru
написал:
Получил ответ когда послал запрос с текстом:
Это как раз описано здесь:
https://developers.google.com/adwords/api/docs/guides/authentication
лучше смотреть английскую версию.
refresh token используется для получения access token (шаг 4 в моем ответе
ниже).
access token используется в каждом запросе, в HTTP headers как описано
здесь:
Я по этому описанию и делаю...
добавляю в HTTP request header Authorization: Bearer THE_ACCESS_TOKEN
Далее отправляю:
soapenv:Header
ns1:RequestHeader
soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
soapenv:mustUnderstand=0
Ну, во-первых, версия v201402 уже не доступна:
https://developers.google.com/adwords/api/docs/sunset-dates
Убедитесь что подствляете access token, а не refresh token. Так же, access
token действителен только 1 час после получения, через час нужно получать
новый используюя refresh token.
То в примере v201402 , я пользуюсь v201409.
Нет токены не перепутал
четверг, 25 декабря 2014 г., 15:35:40 UTC+2 пользователь Danial Klimkin
написал:
Ну, во-первых, версия v201402 уже не доступна:
https://developers.google.com/adwords/api/docs/sunset-dates
Убедитесь что подствляете access
Не подскажите, access token имеет какой-то срок действия, не нужно ли его
каждый раз при подключении получать?
Т.е. если я обращаюсь к веб-сервису, то перед этим не нужно ли каждый раз
пролучать access token, а уже потом выполнять метод веб-сервиса?
четверг, 25 декабря 2014 г., 15:35:40 UTC+2
Thanks Josh and Danial, finally able to create campaign succesfully.
Cheers,
Abhinash
On Wednesday, December 24, 2014 3:55:47 PM UTC+5:30, Danial Klimkin wrote:
Hello Abhinash,
You need to create a non-MCC account under the test MCC. You can use the
ManagedCustomerService
22 matches
Mail list logo