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.
I searched the developers.google.com/google-ads/api/docs/samples but I
cannot get relative codes to solve my problem.
Could anybody know how to deal with it? Thanks a lot !
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/e11152ef-87ab-4997-a60a-2f5c1eb57eb1n%40googlegroups.com.