Hi all,
Here I have the code to access the Customer
try (CustomerServiceClient customerServiceClient = googleAdsClient.getLatestVersion()
.createCustomerServiceClient()) {
String customerResourceName = ResourceNames.customer(adsAccountId);
Customer customer = customerServiceClient.getCustomer(customerResourceName);
LoggerUtil.info(log,
"adsAccountId:" + " ,its ConversionTrackingId is:" + customer.getConversionTrackingSetting()
.getConversionTrackingId());
return customer;
}
But I want to know whether the adAccount is enabled or disabled to judge the status of the adAccount, so that I can know whether the adAccount can normally create Ads or not.
Could anybody know how to deal with it? Thanks a lot !