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,