Get the current Email address after Adwords Account link to my program

2016-06-26 Thread Joven Albarida
Hi Guys, Just like to check if you can point me on how to get the current Email address of Client account that was linked to program I'm coding a simple PHP program to connect to Multiple Adwords Accounts for Client, The system successfully got the required Access token, and Refresh token for

can we use access token from adwords api to google_client?

2016-07-01 Thread Joven Albarida
Hi Adwords Team, I'm trying to get the Email address using Google_Client Library on PHP But the access token was created from AdWords API? Is this kind of possible? If Yes, may I request if you can direct me to the references. If No, is there another way to do this by getting the Email address

Re: can we use access token from adwords api to google_client?

2016-07-12 Thread Joven Albarida
count Thanks, On Saturday, July 2, 2016 at 3:37:09 AM UTC+8, Joven Albarida wrote: > > Hi Adwords Team, > > I'm trying to get the Email address using Google_Client Library on PHP > > But the access token was created from AdWords API? Is this kind of > possible? >

Re: can we use access token from adwords api to google_client?

2016-07-14 Thread Joven Albarida
Sorry I forgot to attached the link Yes Anthony, I'm referring to the Google APIs Client Library for PHP? Thanks, On Wednesday, July 13, 2016 at 5:22:07 AM UTC+8, Anthony Madrigal wrote: > > Hi Joven, > > Thanks for the details. However, I am still unclear what you mean by > Google_Client. Do y

Re: can we use access token from adwords api to google_client?

2016-07-14 Thread Joven Albarida
, if you include that, you can >> use that API (and the returned access token) to ask for the email address. >> Unfortunately I don't have the name of the grant at hand. But I also don't >> program PHP so I can't help you any further. >> >> Still, t

Re: can we use access token from adwords api to google_client?

2016-07-16 Thread Joven Albarida
should be like this > $curl_url = > "https://www.googleapis.com/oauth2/v2/userinfo?access_token="YOUR_ACCESS_TOKEN > > "; > > Under the curl response you can get email for authorize user. > > Hope this helps. > > > > > > > On Thursday,

Re: Adwords PHP API Array to string conversion

2016-10-29 Thread Joven Albarida
Hi, It look like you use access_token as your refresh_token.. refresh_token' => $access_token, Thanks On Wednesday, September 7, 2016 at 2:30:56 AM UTC+8, simon...@outlook.com wrote: > > I have an error when I use $campaignService->get($selector); > > $client = new \Google_Client(); > /* > $c

Re: ***Announcing the new ads PHP client library***

2017-09-11 Thread Joven Albarida
Guys, I think the only steps that didnt explain on Adwords API people, is that when in v201708 the adsapi_php use the HOME directory path, but downwards version was totally mind freak setting On Thursday, December 22, 2016 at 10:38:06 AM UTC+8, Thanet Knack Praneenararat (AdWords API Team) w

How to Consume Adwords API after I get client Access token and Refresh Token? (using the latest Adwords PHP Library v201708)

2017-09-19 Thread Joven Albarida
Hi Team, I know that theres new Update in Adwords API Php Library.. I'm in-process of upgrading my old source code to latest version of the v201708 But it looks like the new library was written from ground up, and some of the functions are now similar to the old source code i have.. So im curr

Re: How to Consume Adwords API after I get client Access token and Refresh Token? (using the latest Adwords PHP Library v201708)

2017-09-19 Thread Joven Albarida
Hi Shwetha, Yes I do follow the instructions from that guide, I think i dont have problem with the web-flow.. About the refresh token, I would like to try that.. but thats odd, I cant see the "refresh_token" after i dump the results of authToken = $oauth2->fetchAuthToken(); this the only arr

Re: How to Consume Adwords API after I get client Access token and Refresh Token? (using the latest Adwords PHP Library v201708)

2017-09-19 Thread Joven Albarida
Hi Swetha, Thank you for your help, I think now found the solution.. (But I guess its not yet updated on that Web Flow Guide documentation) To share with the other guys also that may encounter the same problem.. I successfully get the refresh_token after, I included this " *prompt=consent*" and

Re: Getting CustomerId with PHP

2017-09-21 Thread Joven Albarida
You can also try this out, if you want to list individual items.. https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService.Customer $customerService = $adWordsServices->get($session, CustomerService::class); $customers = $customerService->getCustomers(); foreach($customers