ØSTEN AI

Troubleshooting

  • Cause: The Cloud project's API access level (it replaced the developer token on 2026-09-09), non-MCC account, or endpoint not enabled
  • Fix: Use test manager + client accounts, or apply for Explorer/Basic/Standard access on the Google Ads API Overview page in Google Cloud Console for the project that owns the OAuth client
  • Backend logic returns demo/guidance entries when 501 occurs

Missing Authorization/Org Headers

  • Symptom: 401 on backend routes; account creation fails
  • Fix: Use apiClient in frontend so Firebase Bearer and x-organization-id are added automatically

404/401 on Google Ads API

  • Ensure request includes:
    • Authorization: Bearer <OAUTH2_ACCESS_TOKEN>
    • Content-Type: application/json
  • developer-token is no longer needed; the API ignores it
  • A Cloud project with only Test access gets CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION (v25+) or ACTION_NOT_PERMITTED (v24 and earlier) on production accounts. Apply for Explorer access.

Redirect URI Mismatch

  • Ensure provider consoles have redirect URIs matching deployed hosts and backend routes
  • Google Ads backend callback is /api/google-ads/auth/callback; if proxying via app.ostenai.com, ensure path maps correctly

On this page