Hi Team,

we have below migrated query for Google Ads API;
SELECT customer_extension_setting.extension_feed_items, 
customer_extension_setting.extension_type, customer.id FROM 
customer_extension_setting

and we get some permission issue when user this query to access Google Ads 
API, but we do not have any permission issue when use our authorization to 
access other Google Ads API resources.logs attached as below would you 
please help check?

2022-02-14 23:56:50,416] {bash.py:173} INFO - Request
[2022-02-14 23:56:50,416] {bash.py:173} INFO - -------
[2022-02-14 23:56:50,416] {bash.py:173} INFO - MethodName: 
google.ads.googleads.v9.services.GoogleAdsService/SearchStream
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Endpoint: 
googleads.googleapis.com:443
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Headers: 
{developer-token=REDACTED, login-customer-id=5749847778, 
x-goog-api-client=gl-java/1.8.0_275 gccl/0.0.0 gapic/ gax/2.6.1 grpc/}
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Body: customer_id: 
"1251068172"
[2022-02-14 23:56:50,416] {bash.py:173} INFO - query: "SELECT 
customer_extension_setting.extension_feed_items, 
customer_extension_setting.extension_type, customer.id FROM 
customer_extension_setting "
[2022-02-14 23:56:50,416] {bash.py:173} INFO - 
[2022-02-14 23:56:50,416] {bash.py:173} INFO - 
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Response
[2022-02-14 23:56:50,416] {bash.py:173} INFO - --------
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Headers: 
Metadata(content-type=application/grpc,request-id=4sXMjb6k7WJsmzrHrj5ZiQ,date=Tue,
 
15 Feb 2022 06:56:50 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Body: null
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Failure message: errors {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   error_code {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -     authorization_error: 
CUSTOMER_NOT_ENABLED
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   }
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   message: "The customer 
can\'t be used because it isn\'t enabled."
[2022-02-14 23:56:50,417] {bash.py:173} INFO - }
[2022-02-14 23:56:50,417] {bash.py:173} INFO - request_id: 
"4sXMjb6k7WJsmzrHrj5ZiQ"
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Status: 
Status{code=PERMISSION_DENIED, description=The caller does not have 
permission, cause=null}.
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 23:56:50.415 
[pool-9-thread-5] ERROR c.e.m.data.common.utility.SafeRetry$ - errors {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   error_code {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -     authorization_error: 
CUSTOMER_NOT_ENABLED
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   }
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   message: "The customer 
can\'t be used because it isn\'t enabled."
[2022-02-14 23:56:50,417] {bash.py:173} INFO - }
[2022-02-14 23:56:50,417] {bash.py:173} INFO - request_id: 
"4sXMjb6k7WJsmzrHrj5ZiQ"
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 
com.google.ads.googleads.v9.errors.GoogleAdsException: errors {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   error_code {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -     authorization_error: 
CUSTOMER_NOT_ENABLED
[2022-02-14 23:56:50,418] {bash.py:173} INFO -   }
[2022-02-14 23:56:50,418] {bash.py:173} INFO -   message: "The customer 
can\'t be used because it isn\'t enabled."
[2022-02-14 23:56:50,418] {bash.py:173} INFO - }
[2022-02-14 23:56:50,418] {bash.py:173} INFO - request_id: 
"4sXMjb6k7WJsmzrHrj5ZiQ"
[2022-02-14 23:56:50,418] {bash.py:173} INFO - 
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.v9.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:42)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.v9.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:34)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.BaseGoogleAdsException$Factory.createGoogleAdsException(BaseGoogleAdsException.java:105)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.callables.GoogleAdsExceptionTransformation.transform(GoogleAdsExceptionTransformation.java:36)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.callables.ExceptionTransformingServerStreamingCallable$ExceptionTransformingStreamObserver.onError(ExceptionTransformingServerStreamingCallable.java:71)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.api.gax.tracing.TracedResponseObserver.onError(TracedResponseObserver.java:103)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.RetryingServerStreamingCallable$1.onFailure(RetryingServerStreamingCallable.java:99)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1133)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1277)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:1038)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:808)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.api.gax.retrying.BasicRetryingFuture.handleAttempt(BasicRetryingFuture.java:200)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.api.gax.retrying.CallbackChainRetryingFuture$AttemptCompletionListener.handle(CallbackChainRetryingFuture.java:135)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.api.gax.retrying.CallbackChainRetryingFuture$AttemptCompletionListener.run(CallbackChainRetryingFuture.java:117)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1277)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:1038)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:808)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.core.AbstractApiFuture$InternalSettableFuture.setException(AbstractApiFuture.java:95)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.core.AbstractApiFuture.setException(AbstractApiFuture.java:77) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.core.SettableApiFuture.setException(SettableApiFuture.java:52) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.ServerStreamingAttemptCallable.onAttemptError(ServerStreamingAttemptCallable.java:378)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.ServerStreamingAttemptCallable.access$600(ServerStreamingAttemptCallable.java:97)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.ServerStreamingAttemptCallable$2.onErrorImpl(ServerStreamingAttemptCallable.java:249)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.StateCheckingResponseObserver.onError(StateCheckingResponseObserver.java:86)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.Watchdog$WatchdogStream.onErrorImpl(Watchdog.java:284) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.StateCheckingResponseObserver.onError(StateCheckingResponseObserver.java:86)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.grpc.ExceptionResponseObserver.onErrorImpl(ExceptionResponseObserver.java:84)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.StateCheckingResponseObserver.onError(StateCheckingResponseObserver.java:86)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.api.gax.grpc.GrpcDirectStreamController$ResponseObserverAdapter.onClose(GrpcDirectStreamController.java:149)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.logging.LoggingInterceptor$1$1.onClose(LoggingInterceptor.java:113)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:463)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:427)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:460)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:557) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:69) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:738)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:717)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,419] {bash.py:173} INFO -  at 
io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,420] {bash.py:173} INFO -  at 
io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,420] {bash.py:173} INFO -  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[na:1.8.0_275]
[2022-02-14 23:56:50,420] {bash.py:173} INFO -  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[na:1.8.0_275]
[2022-02-14 23:56:50,420] {bash.py:173} INFO -  at 
java.lang.Thread.run(Thread.java:748) [na:1.8.0_275]
[2022-02-14 23:56:50,420] {bash.py:173} INFO - Caused by: 
io.grpc.StatusRuntimeException: PERMISSION_DENIED: The caller does not have 
permission
[2022-02-14 23:56:50,420] {bash.py:173} INFO -  at 
io.grpc.Status.asRuntimeException(Status.java:535) 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,420] {bash.py:173} INFO -  ... 17 common frames omitted

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bcfead00-c946-4cc3-8f88-393f421807a1n%40googlegroups.com.

Reply via email to