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 <javascript:> 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" Response--------Headers: 
>       
> Metadata(content-disposition=attachment,content-type=application/grpc,request-id=Bcvc_bUe4xUwdzpRL6goig,date=Tue,
>  
>       07 May 2019 13:21:08 GMT,alt-svc=quic=":443"; ma=2592000; 
>       v="46,44,43,39")Body: resource_name: 
>       "customers/8730611186"[REDACTED]Failure message: nullStatus: 
>       Status{code=OK, description=null, cause=null}.Customer with ID 
> 8730611186, 
>       descriptive name '[REDACTED]', currency code 'USD', timezone 
> '[REDACTED]', 
>       tracking URL template '' and auto tagging enabled 'false' was 
>       retrieved.Class transformation time: 0.031278638s for 7049 classes or 
>       4.43731564760959E-6s per class Process finished with exit code 0*
>       2. 
>       
>       *3011223529 (*AUTHENTICATION_ERROR
> *) *
>       
>       2019-05-07 09:24:00,479 WARN  [Gax-3] logging.RequestLogger 
>       (RequestLogger.java:159) - FAILURE REQUEST SUMMARY. Method: 
>       google.ads.googleads.v1.services.CustomerService/GetCustomer, 
>       Endpoint: googleads.googleapis.com:443, CustomerID: null, 
>       RequestID: oad0CZRp0VSIRyF22WVEWw, ResponseCode: UNAUTHENTICATED, 
> Fault: 
>       Request is missing required authentication credential. Expected OAuth 2 
>       access token, login cookie or other valid authentication credential. 
> See 
>       https://developers.google.com/identity/sign-in/web/
>       devconsole-project 
>       <https://developers.google.com/identity/sign-in/web/devconsole-project>
>       ..
>       
>       2019-05-07 09:24:00,690 INFO  [Gax-3] logging.RequestLogger 
>       (RequestLogger.java:157) - FAILURE REQUEST DETAIL.
>       Request
>       -------
>       MethodName: google.ads.googleads.v1.services.CustomerService/
>       GetCustomer
>       Endpoint: 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/3011223529"
>       
>       Response
>       --------
>       Headers: Metadata(content-type=application/grpc,request-id=
>       oad0CZRp0VSIRyF22WVEWw,date=Tue, 07 May 2019 13:24:00 
>       GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
>       Body: null
>       Failure message: errors {
>         error_code {
>           authentication_error: AUTHENTICATION_ERROR
>         }
>         message: "Authentication of the request failed."
>       }
>       Status: Status{code=UNAUTHENTICATED, description=Request is missing 
>       required authentication credential. Expected OAuth 2 access token, 
> login 
>       cookie or other valid authentication credential. See 
>       https://developers.google.com/identity/sign-in/web/
>       devconsole-project 
>       
> <https://developers.google.com/identity/sign-in/web/devconsole-project>., 
>       cause=null}.
>       Request ID oad0CZRp0VSIRyF22WVEWw failed due to GoogleAdsException. 
>       Underlying errors:
>         Error 0: error_code {
>         authentication_error: AUTHENTICATION_ERROR
>       }
>       message: "Authentication of the request failed."
>       
>       3. 6991317584* (*AUTHENTICATION_ERROR
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *) 2019-05-07 09:24:23,596 WARN  [Gax-3] logging.RequestLogger 
>       (RequestLogger.java:159) - FAILURE REQUEST SUMMARY. Method: 
>       google.ads.googleads.v1.services.CustomerService/GetCustomer, 
>       Endpoint: googleads.googleapis.com:443 
>       <http://googleads.googleapis.com:443/>, CustomerID: null, RequestID: 
>       kZPKIuVYZywxIJpp-wIVkA, ResponseCode: UNAUTHENTICATED, Fault: Request 
> is 
>       missing required authentication credential. Expected OAuth 2 access 
> token, 
>       login cookie or other valid authentication credential. 
>       See 
> https://developers.google.com/identity/sign-in/web/devconsole-project 
>       
> <https://developers.google.com/identity/sign-in/web/devconsole-project>.. 
>       2019-05-07 09:24:23,766 INFO  [Gax-3] logging.RequestLogger 
>       (RequestLogger.java:157) - FAILURE REQUEST DETAIL. Request ------- 
>       MethodName: 
> google.ads.googleads.v1.services.CustomerService/GetCustomer 
>       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: 
>       resource_name: "customers/6991317584" Response -------- Headers: 
>       
> Metadata(content-type=application/grpc,request-id=kZPKIuVYZywxIJpp-wIVkA,date=Tue,
>  
>       07 May 2019 13:24:23 GMT,alt-svc=quic=":443"; ma=2592000; 
> v="46,44,43,39") 
>       Body: null Failure message: errors {   error_code {     
>       authentication_error: AUTHENTICATION_ERROR   }   message: 
> "Authentication 
>       of the request failed." } Status: Status{code=UNAUTHENTICATED, 
>       description=Request is missing required authentication credential. 
> Expected 
>       OAuth 2 access token, login cookie or other valid authentication 
>       credential. 
>       See 
> https://developers.google.com/identity/sign-in/web/devconsole-project 
>       
> <https://developers.google.com/identity/sign-in/web/devconsole-project>., 
>       cause=null}. Request ID kZPKIuVYZywxIJpp-wIVkA failed due to 
>       GoogleAdsException. Underlying errors:   Error 0: error_code {   
>       authentication_error: AUTHENTICATION_ERROR } message: "Authentication 
> of 
>       the request failed." *
>       4. 
>       
>       8356782372* (*AUTHENTICATION_ERROR*)*
>       
>
>
> *2019-05-07 09:24:47,621 WARN  [Gax-3] logging.RequestLogger 
> (RequestLogger.java:159) - FAILURE REQUEST SUMMARY. Method: 
> google.ads.googleads.v1.services.CustomerService/GetCustomer, 
> Endpoint: googleads.googleapis.com:443 
> <http://googleads.googleapis.com:443/>, CustomerID: null, RequestID: 
> i-1eZcEJNX1YYY9V1ho3fw, ResponseCode: UNAUTHENTICATED, Fault: Request is 
> missing required authentication credential. Expected OAuth 2 access token, 
> login cookie or other valid authentication credential. 
> See https://developers.google.com/identity/sign-in/web/devconsole-project 
> <https://developers.google.com/identity/sign-in/web/devconsole-project>..*
> *2019-05-07 09:24:47,809 INFO  [Gax-3] logging.RequestLogger 
> (RequestLogger.java:157) - FAILURE REQUEST DETAIL.*
> *Request*
> *-------*
> *MethodName: google.ads.googleads.v1.services.CustomerService/GetCustomer*
> *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: resource_name: 
> "customers/8356782372"*
>
>
> *Response*
> *--------*
> *Headers: 
> Metadata(content-type=application/grpc,request-id=i-1eZcEJNX1YYY9V1ho3fw,date=Tue,
>  
> 07 May 2019 13:24:47 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")*
> *Body: null*
> *Failure message: errors {*
> *  error_code {*
> *    authentication_error: AUTHENTICATION_ERROR*
> *  }**  message: "Authentic*
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/88f60ad3-5215-4bd8-bf37-874f90e1f474%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Bug in ... Darshan Pradhan
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Darshan Pradhan
      • ... Darshan Pradhan
        • ... 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