Hi Darshan,

We've filed a request to either not return canceled or drafted accounts OR
having a way to determine if a given customer is canceled or drafted.
It'd take a while before any of them to happen.

So, unfortunately, the only workaround would be a try-catch.
I've heard that this doesn't work well in some client libraries, so I'll
let the client library owners check and provide help as much as possible
for now.

Cheers,
Thanet, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/16/19 04:07:26 dars...@companionlabs.com wrote:

Thanks Thanet!

Please keep us posted.

Thanks,
Darshan Pradhan
Senior Application Architect
CompanionLabs
dars...@companionlabs.com
LinkedIn: https://www.linkedin.com/in/darshan-pradhan-07918070/

Start advertising smarter on Facebook. Sign up for your free 7 day trial at
www.companionlabs.com.


On Wed, May 15, 2019 at 4:32 AM <googleadsapi-forumadvi...@google.com>
wrote:

Hello Darshan,

Let me sync with the engineering team.
Sorry for this back-and-forth.

Best,
Thanet, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/14/19 23:11:52 dars...@companionlabs.com wrote:

Hi Ads API Support,

This is very frustrating. It has been a long time since I opened this
support request and it is unfortunate that the Support Team is not
understanding the issue. I understand that the accounts that are erroring
on getCustomer call are not completely setup but that is not the issue.
Please try and understand the main issue here and please do not respond
with the same comment about the account not being setup properly.

For the readers convenience I will summarize and reiterate the issue in
this entry.

 ListAccessibleCustomers
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/ListAccessibleCustomers.java> only
returns the resource name of the accounts and does not provide the status
of an account. So programmatically I cannot tell if I am ok to make the
follow up getCustomer call. But the main problem is  ListAccessibleCustomers
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/ListAccessibleCustomers.java> should
not return a partially setup account or if it did the customerServiceClient.
getCustomer
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/GetAccountInformation.java#L89>call
should not fail when trying to retrieve a partially setup customer account.

The whole reason behind this call is because listAccessibleCustomers call
only return resourcenames of the account and I need name of the account, so
we make follow up call to get the name of the accounts.

Also, I repeat, the customerServiceClient.getCustomer
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/GetAccountInformation.java#L89> call
were working for partially setup account before and it should not be
failing with code=UNAUTHENTICATED since my user has access to that account
which i can see in my google Ads UI.

Please have these bounce off of the engineering team for a possible fix or
a proper resolution.

Thanks,
Darshan.



On Tuesday, May 14, 2019 at 1:29:12 AM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Darshan,

Kindly use the *reply privately to author* option when providing the
clientCustomerIds.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey
<https://support.google.com/google-ads/contact/survey_transactional?caseid=1-8644000026237&hl=en&ctx=1>

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 05/11/19 04:51:36 dar...@companionlabs.com wrote:

Hi,

These accounts are accessible via the api, partially though, since they are
returned from the ListAccessibleCustomers
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/ListAccessibleCustomers.java>
 call. They should be all or nothing i.e. they should not be accessible
from ListAccessibleCustomers call as well. Also before this issue started
GetCustomer
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogle-ads-java%2Fblob%2Fmaster%2Fgoogle-ads-examples%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Fads%2Fgoogleads%2Fexamples%2Faccountmanagement%2FGetAccountInformation.java&sa=D&sntz=1&usg=AFQjCNGzAzjG0b2HJXo2LHdf29PBrhvHTA> was
able to pull these accounts info. Our application functionality is
currently broke because of this issue that was introduced. Please request
Ads Team to provide a full resolution.

Thanks,
Darshan.

On Friday, May 10, 2019 at 1:16:42 AM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Darshan,

Upon checking with the team, the accounts that you are trying to access are
either cancelled or in draft. You need to finish setting the accounts up in
order for these accounts to be accessible via the API. Feel free to write
back if you are finished setting up the accounts and are still not
accessible via the API.

I hope this will help.

Regards,
Dave
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey
<https://support.google.com/google-ads/contact/survey_transactional?caseid=1-8644000026237&hl=en&ctx=1>

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 05/09/19 22:52:45 dar...@companionlabs.com wrote:

Any update on this issue?

On Tuesday, May 7, 2019 at 9:39:09 AM UTC-4, Darshan Pradhan wrote:

I retested this morning to make sure the issue is not on my end. So I
regenerated a refreshToken and ran the examples available in official java
client
<https://github.com/googleads/google-ads-java/tree/master/google-ads-examples>

   1.
* ListAccessibleCustomers
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/ListAccessibleCustomers.java> (request
   and response shown below) *


*2019-05-07 09:16:13,019 INFO  [Gax-3] logging.RequestLogger
(RequestLogger.java:157) - SUCCESS REQUEST SUMMARY. Method:
google.ads.googleads.v1.services.CustomerService/ListAccessibleCustomers,
Endpoint: googleads.googleapis.com:443
<http://googleads.googleapis.com:443/>, CustomerID: null, RequestID:
2_F-uiGFImKQKzTtn72dmw, ResponseCode: OK, Fault: null.*
*2019-05-07 09:16:13,133 DEBUG [Gax-3] logging.RequestLogger
(RequestLogger.java:161) - SUCCESS REQUEST DETAIL.*
*Request*
*-------*
*MethodName:
google.ads.googleads.v1.services.CustomerService/ListAccessibleCustomers*
*Endpoint: googleads.googleapis.com:443
<http://googleads.googleapis.com:443/>*
*Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/11.0.1
gapic/ gax/1.35.0 grpc/1.16.1}**Body: *

*Response*
*--------*
*Headers:
Metadata(content-disposition=attachment,content-type=application/grpc,request-id=2_F-uiGFImKQKzTtn72dmw,date=Tue,
07 May 2019 13:16:12 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")*
*Body: resource_names: "customers/8730611186"*
*resource_names: "customers/3011223529"*
*resource_names: "customers/6991317584"*
*resource_names: "customers/8356782372"*
*Failure message: null*
*Status: Status{code=OK, description=null, cause=null}.*
*Total results: 4*
*Customer resource name: customers/8730611186*
*Customer resource name: customers/3011223529*
*Customer resource name: customers/6991317584**Customer resource name:
customers/8356782372*
*Process finished with exit code 0*


   1. *GetCustomer
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/GetAccountInformation.java> call
   with all of the accounts above (request and response shown below)*
      1.



* 8730611186 (Success response):  2019-05-07 09:21:09,051 INFO  [Gax-3]
logging.RequestLogger (RequestLogger.java:157) - SUCCESS REQUEST SUMMARY.
      Method: google.ads.googleads.v1.services.CustomerService/GetCustomer,
      Endpoint: googleads.googleapis.com:443
      <http://googleads.googleapis.com:443/>, CustomerID: null, RequestID:
      Bcvc_bUe4xUwdzpRL6goig, ResponseCode: OK, Fault: null.2019-05-07
09:21:09,163 DEBUG [Gax-3] logging.RequestLogger (RequestLogger.java:161) -
      SUCCESS REQUEST DETAIL.Request-------MethodName:
google.ads.googleads.v1.services.CustomerService/GetCustomerEndpoint: googleads.googleapis.com:443 <http://googleads.googleapis.com:443/>Headers: {developer-token=REDACTED,
      x-goog-api-client=gl-java/11.0.1 gapic/ gax/1.35.0 grpc/1.16.1}Body:
      resource_name: "customers/8730611186" *

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ijlio115i0000000om9t260005rjg8y64mjgdhk6go30c1g68r34cpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: Bug... Darshan Pradhan
    • Re... Darshan Pradhan
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... Darshan Pradhan
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... Darshan Pradhan
            • ... cv
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... Darshan Pradhan
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to