I'm tring to get all google-ads account under my google user, and I want to get the status field which would show if the account is canceled.
credentials = google.oauth2.credentials.Credentials(**credentials_dict_lb)
client = google.ads.google_ads.client.GoogleAdsClient(credentials, GG_DEVELOP_TOKEN)
ga_service = client.get_service('GoogleAdsService', version='v2')
query = ('SELECT customer_client.id, '
'customer_client.descriptive_name,'
'customer_client.resource_name, '
# 'customer_client.client_customer '
'customer_client.currency_code,'
'customer_client.hidden, '
#
'customer_client.level, '
'customer_client.time_zone '
'FROM customer_client')
# results1 = customer_service.search(query)
results = ga_service.search(customer_id='1871151278',query=query)
for item in results:
print(item)
But it seems there's no status related field, What field it should be ? And How Can I get the account status as I metioned above?