RE: CustomerService --> getCustomers returning just one Customer

2020-06-17 Thread Google Ads API Forum Advisor Prod
Hi Austin, Thank you for reaching out. Unfortunately, this is not possible as email is not a field that can be selected in ManagedCustomerService. You can see a list of selectable fields in this documentation. If you have any additional questions, please don't hesitate to reach out. Regards, D

RE: CustomerService --> getCustomers returning just one Customer

2020-06-17 Thread Google Ads API Forum Advisor Prod
Hi Austin, Thank you for reaching out. Unfortunately, this is not possible as email is not a field that can be selected in ManagedCustomerService. You can see a list of selectable fields in this documentation. If you have any additional questions, please don't hesitate to reach out. Regards, D

Re: CustomerService --> getCustomers returning just one Customer

2020-06-17 Thread Austin Becker
Hello, I have a similar question. I'm not sure how to programmatically find a user's client_customer_id in order to add it to my yaml file. I could ask the user to type their client_customer_id into my web app, but I'd rather get a list of all the client_customer_ids associated with their email

RE: CustomerService getCustomers() throws CUSTOMER_NOT_FOUND

2019-08-26 Thread Google Ads API Forum Advisor Prod
Hi Ivan, The CustomerService.getCustomers() when used without a clientCustomerId should return the accounts which the OAuth2 credentials has direct access to. When used with a clientCustomerId, it should return the details of that specific account only. That being said, could you confirm if the

CustomerService getCustomers() throws CUSTOMER_NOT_FOUND

2019-08-26 Thread Ivan Petrushev
Hello, I am trying to get information about the directly authorized user. API docs state calling CustomerService.getCustomers() can be used without clientCustomerId, but if I try to do it, I get this error: > AuthenticationError.CUSTOMER_NOT_FOUND I am using Python client library: client = adw

Re: CustomerService, getCustomers: QuotaCheckError.INVALID_TOKEN_HEADER

2018-06-28 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Giacomo, I'm glad it works on your end. Seems the problem itself was in the developer token rather than the RequestHeader. I believe the documentation for QuotaCheckError.INVALID_TOKEN_HEADER

Re: CustomerService, getCustomers: QuotaCheckError.INVALID_TOKEN_HEADER

2018-06-28 Thread Giacomo Furlan
Hello Luis, updates here. I've learnt that the developer key is not actually an API key, but an AdWords developer key (from the AdWords API Centre section of an administrative AdWords account). As per the first point thus it's not inherent anymore. I've created a MCC account now and applied for

Re: CustomerService, getCustomers: QuotaCheckError.INVALID_TOKEN_HEADER

2018-06-28 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Giacomo, Could you clarify if you are using the AdWords API or the Google Ads API ? Cause in this step "*1. I've went to the Google API dashboard and enabled the Google Ads

CustomerService, getCustomers: QuotaCheckError.INVALID_TOKEN_HEADER

2018-06-27 Thread Giacomo Furlan
Hello! I'm trying to get the AdWords API work on my service's integration. I'm trying to use the CustomerService to get the list of customers associated of the oauth-authenticated account. What I've done so far: 1. I've went to the Google API dashboard and enabled the Google Ads API from the l

Re: CustomerService getCustomers results in CUSTOMER_NOT_FOUND error

2018-04-10 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
Hi, The error AuthenticationError.CUSTOMER_NOT_FOUND means that you are trying to access an account that was just created with ManagedCustomerService before the account is established in the b

CustomerService getCustomers results in CUSTOMER_NOT_FOUND error

2018-04-10 Thread yhmin
Dear, I tried getCustomers of CustomerService to get list of customer ids from user's access_token, but CUSTOMER_NOT_FOUND happened. I read these articles below but there is no case which is similar to the my user's case. https://www.mail-archive.com/adwords-api@googlegroups.com/msg60732.html h

Re: CustomerService getCustomers

2018-01-12 Thread Dmitrii Matrosov
FINAL CODE: https://gist.github.com/kidker/ed5c4bc5da20614ee09ed0b96cd741c8 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: CustomerService getCustomers

2018-01-12 Thread Dmitrii Matrosov
MY FINAL CODE -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: CustomerService->getCustomers only returns one Customer Client

2017-09-15 Thread Elton Morais
Elton, > > It seems that you specified your clientCustomerId in your request (you set > this in the property file) for getCustomers() > <https://developers.google.com/adwords/api/docs/reference/v201708/CustomerService#getcustomers> > that's > why only one client accoun

Re: CustomerService->getCustomers only returns one Customer Client

2017-09-14 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Elton, It seems that you specified your clientCustomerId in your request (you set this in the property file) for getCustomers() <https://developers.google.com/adwords/api/docs/reference/v201708/CustomerService#getcustomers> that's why only one client account information is bei

CustomerService->getCustomers only returns one Customer Client

2017-09-14 Thread Elton Morais
s the required classes. $customerService = $adWordsServices->get($session, CustomerService::class); try { $customers = $customerService->getCustomers(); } catch (\Exception $e) { ... } Some context: I created a API account and I was invited to another one, and the only one that I

Re: CustomerService --> getCustomers returning just one Customer

2017-01-20 Thread Angel Lubenov
Great!, Thanks a lot for your help!!! On Friday, January 20, 2017 at 1:24:05 PM UTC-3, Shwetha Vastrad (AdWords API Team) wrote: > > Hi Angel, > > You need to use ManagedCustomerService > > to > retri

Re: CustomerService --> getCustomers returning just one Customer

2017-01-20 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Angel, You need to use ManagedCustomerService to retrieve the client accounts under your manager account. The GetAccountHierarchy

Re: CustomerService --> getCustomers returning just one Customer

2017-01-20 Thread Angel Lubenov
, CustomerService.getCustomers() > <https://developers.google.com/adwords/api/docs/reference/v201609/CustomerService#getcustomers> > method > can now return you multiple accounts associated with the email address. > This is not to be confused with client accounts under a manag

Re: CustomerService --> getCustomers returning just one Customer

2017-01-19 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
m/adwords/api/docs/reference/v201609/CustomerService#getcustomers> method can now return you multiple accounts associated with the email address. This is not to be confused with client accounts under a manager account. In your case, since you have just your manager account "TestMgrAccount&

CustomerService --> getCustomers returning just one Customer

2017-01-19 Thread Angel Lubenov
Hi!, This is the situation: I am connecting to the API with my manager account, I want to retrieve all the accounts information, I am making the request without the clientCustomerId parameter, but I got just one client information (me) and not all the clients as the documentation says. How

Re: CustomerService getCustomers

2017-01-17 Thread cv
You can use example GetAccountHierarchy ) and if not you can see customer details within the object return here you can find the clientCustomerId as $cliendData = $customerService->getCustomers(); $clientCustomerId = $cliendData[0]->customerId; so Now you can prepare adwords session again to

Re: CustomerService getCustomers

2017-01-17 Thread Minas Gratas
d adding withClientId, > withClientSecret and withRefreshToken. > > All good now! The last missing puzzle is how to optain ClientCustomerId. > > $session = (new AdWordsSessionBuilder()) > ->withClientCustomerId($clientCustomerId) > ->withOAuth2Credential($oAuth2Credential

CustomerService getCustomers

2017-01-16 Thread Minas Gratas
erId($clientCustomerId) ->withOAuth2Credential($oAuth2Credential) ->build(); I tried to get it like this; $customerService = new CustomerService(); $cliendData = $customerService->getCustomers(); *However I am facing with the following error.* *Fatal error: Call to a member funct