Hello Roberto,

Glad to hear that.
Feel free to ask if you have any further questions.

Best,
Thanet, AdWords API Team

On Friday, January 22, 2016 at 1:24:12 AM UTC+9, roberto.sm...@convierta.cl 
wrote:
>
> Hello Thanet, thanks for your answer.
>
> I tried it via OAuth2 Playground 
> <https://developers.google.com/adwords/api/docs/guides/oauth_playground> 
> and it works. I didn't read well that I can use *installed application* 
> type for your web application. I don't know which is the best option, but 
> at if I'll have problems with the web app I will use an installed one.
>
> Thanks again and best regards
> Roberto
>
> El jueves, 21 de enero de 2016, 10:54:29 (UTC-3), Thanet Knack 
> Praneenararat (AdWords API Team) escribió:
>>
>> Hi Roberto,
>>
>> As Yin has suggested, you can use *installed application* type for your 
>> web application.
>> Do you consider this option too? Do you have a strong business need to 
>> use *web application* type?
>>
>> As for getting refresh tokens, you can do it via OAuth2 Playground 
>> <https://developers.google.com/adwords/api/docs/guides/oauth_playground>
>>  too.
>>
>> Best, 
>> Thanet, AdWords API Team
>>
>> On Thursday, January 21, 2016 at 5:41:02 AM UTC+9, robert...@convierta.cl 
>> wrote:
>>>
>>> Hi Yin.
>>>
>>> I've set the scope this way:
>>>
>>> $client->addScope("https://www.googleapis.com/auth/adwords";);
>>>
>>> But then I need to access the Adwords Service.
>>>
>>> The youtube and drive examples use:
>>>
>>>     $client->addScope("https://www.googleapis.com/auth/youtube";);
>>>     $client->addScope("https://www.googleapis.com/auth/drive";);
>>>
>>> And then, for the services:
>>>
>>>     $yt_service = new Google_Service_YouTube($client);
>>>     $dr_service = new Google_Service_Drive($client);
>>>
>>> So I tried with:
>>>
>>>     $aw_service = new Google_Service_Adwords($client);
>>>
>>> And then php fails. I don't know if Adwords Service have another name...
>>>
>>> Regards
>>>
>>> El miércoles, 20 de enero de 2016, 17:32:25 (UTC-3), Yin Niu escribió:
>>>>
>>>> Hi Roberto, 
>>>>
>>>> The scope 
>>>> <https://developers.google.com/adwords/api/docs/guides/authentication#scope>
>>>>  for 
>>>> adwords api is: https://www.googleapis.com/auth/adwords. 
>>>>
>>>> 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/3348f4d6-b073-43d7-8884-bc682d92def6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to