RE: GetCustomer from Services.V2.CustomerService throws permission denied error

2019-08-14 Thread Google Ads API Forum Advisor Prod
Hi Vinitha,

I'm afraid, it is not possible to identify if the accounts are in draft or 
completely setup through the API. If you are making an API call against the 
account that is not completely setup, this might fail with an error.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEIuRk:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2uJSb0PW8UMX00SZDlVlq0R0GicO1cJuz-OA%40sfdc.net.


RE: GetCustomer from Services.V2.CustomerService throws permission denied error

2019-08-14 Thread vinitha
Hello ,

 

Thank you for your response. I understand that the account is not completely 
set up. But is there any field that I can bring back from following query to 
check if that condition

Query = "SELECT 
customer.id,customer.descriptive_name,customer_client.resource_name, 
customer_client.descriptive_name,customer_client.client_customer,customer_client.level,customer_client.hidden
 FROM customer_client" ?

 

I am only interested in getting back the completely setup accounts. Is there 
any way I can check that (filter completely set up accounts) before I can make 
a call to  GetCustomer?

 

Thank you,

Vinitha.

 

From: Google Ads API Forum Advisor Prod  
Sent: Wednesday, August 14, 2019 6:12 AM
To: vini...@closedloop.com
Cc: adwords-api@googlegroups.com
Subject: RE: GetCustomer from Services.V2.CustomerService throws permission 
denied error

 

Hi Vinitha, 

The error CUSTOMER_NOT_ENABLED usually occurs if the API call is made against 
an account which is not completely setup. Could you please complete the account 
setup and retry the API request? If you're encountering any issues, could you 
please share the request and response logs using Reply privately to author 
option to investigate further?

Thanks,
Bharani, Google Ads API Team  
<http://google-dev-relations.my.salesforce.com/servlet/servlet.ImageServer?oid=00D1U01174p=0181U00b9ld>
 

ref:_00D1U1174p._5001UEIuRk:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/047501d552ba%24847ce530%248d76af90%24%40closedloop.com.


RE: GetCustomer from Services.V2.CustomerService throws permission denied error

2019-08-14 Thread Google Ads API Forum Advisor Prod
Hi Vinitha,

The error CUSTOMER_NOT_ENABLED usually occurs if the API call is made against 
an account which is not completely setup. Could you please complete the account 
setup and retry the API request? If you're encountering any issues, could you 
please share the request and response logs using Reply privately to author 
option to investigate further?

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEIuRk:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/VAj1w0PW89ZG00vVz7zF-bRDmvO9czHKxEBg%40sfdc.net.