Troubleshoot the Google Ads connector
Beta
This feature is in Beta.
Learn how to troubleshoot common errors with the managed Google Ads connector in Lakeflow Connect.
I've authenticated, but I can't see my Google Ads data
Cause: You might be authenticating to the wrong Google account. Alternatively, the account might not have access to Google Ads.
Solution:
- Confirm that you are authenticating to the correct Google account. You can edit the connection and reauthenticate with the correct account, or recreate the connection to reassess the OAuth flow.
- Confirm that the account has Google Ads access. Log into the Google account and verify that it has permissions to access your Google Ads data.
Error: "Test tokens cannot access production accounts"
Error message:
Test tokens cannot access production accounts.
Cause: The developer token has only test access, which cannot read production Google Ads data.
Solution: Ensure that the developer token has at least standard access. To check or upgrade your token:
- Sign in to your Google Ads Manager Account at https://ads.google.com/aw/apicenter.
- Go to Admin > API Center.
- Check the access level of your developer token. If it shows Basic or Test, apply for standard access for production workloads.
Redirect URI error during OAuth setup
Error message:
Error: redirect_uri_mismatch
Cause: The redirect URI configured in your Google Cloud Console OAuth client doesn't match the Databricks workspace URL.
Solution:
- Visit the Google Cloud Console at https://console.cloud.google.com.
- Navigate to APIs & Services /> Credentials.
- Click your OAuth client credential.
- Under Authorized redirect URIs, confirm that it contains the following pattern:
https://<workspace-url>/login/oauth/google.html. Replace<workspace-url>with your Databricks workspace URL (for example,https://dbc-a1b2c3d4-e5f6.cloud.databricks.com). - Save the changes and try authenticating again.