Hi Yin.
El miércoles, 20 de enero de 2016, 17:32:25 (UTC-3), Yin Niu escribió:
-- 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
Hi Roberto,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+unsubscribe@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+unsubscribe@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/fe14d4ad-709a-430f-aeef-5d2296ec8b5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment