feat: auto-discover Meta and Google Ads accounts for tenants
Agency panel lists accessible ad accounts and matches them to clients by name, same pattern as Drive folders. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
11
.env.example
11
.env.example
@@ -15,3 +15,14 @@ GOOGLE_OAUTH_CLIENT_ID=
|
||||
GOOGLE_OAUTH_CLIENT_SECRET=
|
||||
# Optional override; default: {APP_URL}/api/admin/drive/callback
|
||||
# GOOGLE_OAUTH_REDIRECT_URI=https://app.4ventures.es/api/admin/drive/callback
|
||||
|
||||
# Meta Ads discovery (long-lived / system user token)
|
||||
META_ACCESS_TOKEN=
|
||||
|
||||
# Google Ads discovery (MCC via marketing@)
|
||||
GOOGLE_ADS_DEVELOPER_TOKEN=
|
||||
GOOGLE_ADS_REFRESH_TOKEN=
|
||||
# Optional: reuse GOOGLE_OAUTH_CLIENT_* or set dedicated:
|
||||
# GOOGLE_ADS_CLIENT_ID=
|
||||
# GOOGLE_ADS_CLIENT_SECRET=
|
||||
# GOOGLE_ADS_LOGIN_CUSTOMER_ID=
|
||||
|
||||
Reference in New Issue
Block a user