Подключение рекламы
Google Ads API
Сначала только read-only импорт кампаний и расходов. Автоматические изменения рекламы на MVP отключены.
Импортированные данные
Последний Google Ads sync: 2026-05-17 05:24:18 · failed · Google Ads response error: HTTP 403 [{ "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v22.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/docs/concepts/call-structure#cid" } ], "requestId": "TgeV5wMPBlB0f_1RqAjGcg" } ] } } ]
Что нужно вставить в private/config/config.php
- developer_token из Google Ads Manager Account.
- client_id и client_secret OAuth-приложения Google Cloud.
- refresh_token с доступом к scope
https://www.googleapis.com/auth/adwords. - customer_id рекламного аккаунта без дефисов.
- login_customer_id MCC без дефисов, если авторизация идет через управляющий аккаунт.