RE: v201806: CUSTOMER_NOT_FOUND when calling CustomerService.getCustomers without a customer id

2019-04-07 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Eric,

To better investigate the issue, could you confirm if the OAuth2 credentials
 you
used were created using an email address which has access to your AdWords
account(s)? Also, could you send to me the said email address so I can also
verify this on my end? You may reply in private via the *Reply privately to
author* option.

Thanks and regards,
Peter
Google Ads API Team

On 04/06/19 04:29:42 ecole...@360psg.com wrote:

We are calling CustomerService.getCustomers without a customer id, so that
we can obtain their customer ID.

This failure happens for any google account that belongs to our G Suite
domain. I also verified that each G Suite account has permission to use ads.

Soap Request:


http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
  xmlns:tns="https://adwords.google.com/api/adwords/mcm/v201806;
  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb;
  xmlns:cm="https://adwords.google.com/api/adwords/cm/v201806;>
 
   https://adwords.google.com/api/adwords/mcm/v201806;
  xmlns="https://adwords.google.com/api/adwords/mcm/v201806;>
 X
 XX
 false
   
 
 
   https://adwords.google.com/api/adwords/mcm/v201806;



 



And the response:

http://schemas.xmlsoap.org/soap/envelope/;>
 
   https://adwords.google.com/api/adwords/cm/v201806;
  xmlns="https://adwords.google.com/api/adwords/mcm/v201806;>
 000585cdf1da819a0ac12647de09cb39
 CustomerService
 getCustomers
 1
 230
   
 
 
   
 soap:Server
 [AuthenticationError.CUSTOMER_NOT_FOUND @ ]
 
   https://adwords.google.com/api/adwords/mcm/v201806;
  xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201806<

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/4g2oh176fscqnu0008k5igy6cmjcd9g6co30c1g68qjgc9o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


v201806: CUSTOMER_NOT_FOUND when calling CustomerService.getCustomers without a customer id

2019-04-05 Thread Eric Coleman
We are calling CustomerService.getCustomers without a customer id, so that 
we can obtain their customer ID.

This failure happens for any google account that belongs to our G Suite 
domain. I also verified that each G Suite account has permission to use ads.

Soap Request:


http://schemas.xmlsoap.org/soap/envelope/; 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
  xmlns:tns="https://adwords.google.com/api/adwords/mcm/v201806; 
  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb; 
  xmlns:cm="https://adwords.google.com/api/adwords/cm/v201806;>
 
   https://adwords.google.com/api/adwords/mcm/v201806; 
  xmlns="https://adwords.google.com/api/adwords/mcm/v201806;>
 X
 XX
 false
   
 
 
   https://adwords.google.com/api/adwords/mcm/v201806;
>
 



And the response:

http://schemas.xmlsoap.org/soap/envelope/;>
 
   https://adwords.google.com/api/adwords/cm/v201806; 
  xmlns="https://adwords.google.com/api/adwords/mcm/v201806;>
 000585cdf1da819a0ac12647de09cb39
 CustomerService
 getCustomers
 1
 230
   
 
 
   
 soap:Server
 [AuthenticationError.CUSTOMER_NOT_FOUND @ ]
 
   https://adwords.google.com/api/adwords/mcm/v201806; 
  xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201806;>
 [AuthenticationError.CUSTOMER_NOT_FOUND @ ]
 ApiException
 http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="ns2:AuthenticationError">
   
   
   AuthenticationError.CUSTOMER_NOT_FOUND
   AuthenticationError
   CUSTOMER_NOT_FOUND
 
   
 
   
 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/24322853-83de-4ec1-898e-ec062c159478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.