Hello Darshan,
Currently, it is not possible to differentiate if the account is active or
inactive via the API. I will let my team know regarding your feedback.
Regards,
Sai Teja, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 02/22/19 10:50:56 dars...@companionlabs.com wrote:
I used following Beta API call to fetch the customers list , i get a count
of 93.
.setQuery("SELECT customer.id, customer.descriptive_name,
customer_client.resource_name, customer_client.client_customer,
customer_client.level, customer_client.hidden FROM customer_client
<https://developers.google.com/google-ads/api/docs/fields/customer_client>")
Following Adwords API call which returns a count of 64
managedCustomerService.get(
<https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService#get>selectorBuilder.build())
I scanned through the list and compared the results in Ads UI and it
appeared that the former returns inactive accounts as well. The Customer
Resource
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.resources#google.ads.googleads.v0.resources.Customer>
does not have any relevant field which can help me identify the Customer is
inactive. Please advise how i should be able to identify active versus
inactive account beside comparing the lists above.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3e78dbbd-09fb-4e82-9001-5190f4ac7449%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/3e78dbbd-09fb-4e82-9001-5190f4ac7449%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ijlio23rp00000008gs0qc001cl016x6smjadph68o30c1g68qj8dpj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.