Подключение рекламы

Google Ads API

Сначала только read-only импорт кампаний и расходов. Автоматические изменения рекламы на MVP отключены.

Готово к sync

Проверка настроек

Google Ads включен
OK
Developer token
OK
OAuth client_id
OK
OAuth client_secret
OK
Refresh token
OK
Customer ID
OK
PHP cURL
OK

Импортированные данные

Кампании0
Дневные строки статистики0
API версияv22

Последний 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

  1. developer_token из Google Ads Manager Account.
  2. client_id и client_secret OAuth-приложения Google Cloud.
  3. refresh_token с доступом к scope https://www.googleapis.com/auth/adwords.
  4. customer_id рекламного аккаунта без дефисов.
  5. login_customer_id MCC без дефисов, если авторизация идет через управляющий аккаунт.