Hi, we have automated a process with which we link an account to an MCC and 
create a Google Ads Transfer with the BigQuery Data Transfer Service 
automatically.

So far, with BigQuery Data Transfer Service for Adwords the process was 
working smoothly, but with the new BigQuery Data Transfer Service for 
Google Ads we are experiencing permissions errors.

It seems that the account is linked correctly, but getting the MCC accounts 
it is not retrieving the new account. Several minutes after, the same query 
on the API retrieves the new account.

It seems that there is a cache or a delay in the update of these 
permissions and the transfer jobs launched automatically give us the 
following error:

"The caller does not have permission Raw error response from Google Ads 
API: { "error": { "code": 403, "message": "The caller does not have 
permission", "errors": [ { "message": "The caller does not have 
permission", "domain": "global", "reason": "forbidden", "debugInfo": 
"detail: \"[ORIGINAL ERROR] generic::permission_denied: User doesn\\'t have 
permission to access customer. Note: If you\\'re accessing a client 
customer, the manager\\'s customer id must be set in the 
\\'login-customer-id\\' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid 
[google.rpc.error_details_ext] { details { type_url: 
\\\"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure\\\" 
value: \\\"\\\\n\\\\377\\\\001\\\\n\\\\002H\\\\002\\\\022\\\\370\\\\001User 
doesn\\\\\\'t have permission to access customer. Note: If you\\\\\\'re 
accessing a client customer, the manager\\\\\\'s customer id must be set in 
the \\\\\\'login-customer-id\\\\\\' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid\\\\022\\\\026ss4lSkg3tqZhNCc8LKna_g\\\";
 
} }\"\n" } ], "status": "PERMISSION_DENIED", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure", 
"errors": [ { "errorCode": { "authorizationError": "USER_PERMISSION_DENIED" 
}, "message": "User doesn't have permission to access customer. Note: If 
you're accessing a client customer, the manager's customer id must be set 
in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api";

If we retry the transfer manually after several minutes, the transfer works.

Is there any cache on getting accounts? Is it possible to invalidate this 
cache to get the updated accounts?

Regards,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e475e7e-4bed-465e-a13d-6cf914e642efn%40googlegroups.com.

Reply via email to