---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.com/support/metrica/en/ad/google.md
  - https://yandex.com/support/metrica/es/ad/google.md
  - https://yandex.com/support/metrica/pt/ad/google.md
  - https://yandex.com/support/metrica/ru/ad/google.md
  - https://yandex.com/support/metrica/tr/ad/google.md
  - https://yandex.com/support/metrica/zh/ad/google.md
title: 连接 Google Ads 上传费用数据
description: 如果您在 Google Ads 中投放广告，您可以设置将广告费用数据定期传输到 Yandex Metrica。
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/metrica/zh/llms.txt


# 连接 Google Ads 上传费用数据

如果您在 Google Ads 中投放广告，您可以设置[将广告费用数据定期传输](https://yandex.com/support/metrica/zh/ad/expenses.md)到 Yandex Metrica。 您可以使用它来比较 Google Ads 中的广告与其他付费渠道的效果。

广告系列费用和点击量的相关信息会从您的 Google Ads 账户传输到 Yandex Metrica。 数据传输时，Yandex Metrica 会将广告中的 URL 与[计数器设置](https://yandex.com/support/metrica/zh/general/counter-general.md)中的网站地址进行比对。 这可确保仅上传为您的网站创建的广告系列的相关信息。


{% note alert %}

如果 Google Ads 广告组设置中的最终 URL 与 Yandex Metrica 计数器设置中的网站地址不同，则数据将无法加载。 确保地址相同。

{% endnote %}


每日传送过去 30 天的费用数据，因此统计数据会定期补充和更新。 费用来源将表示为 **Ad Clicks** — **Google Ads**。

要查看统计信息，请使用[“Sources, costs, and ROI” 报表](https://yandex.com/support/metrica/zh/sources/ad-expenses.md)。

数据将以 Google Ads 账户中指定的货币传输至 Yandex Metrica，且不含增值税。 若您以多种货币传输数据，可在[设置报表](https://yandex.com/support/metrica/zh/reports/report-general.md#currency)时选择特定货币。

{% note info %}

Yandex Metrica 不支持从[购物广告系列和产品广告](https://support.google.com/google-ads/answer/2454022?hl=en)上传费用数据。

{% endnote %}


## 如何连接服务 {#how-to}

如果您有多个 Yandex Metrica 账户，请使用您将用于处理费用数据的账户。 您只能为 Yandex Metrica 中的一个账户创建连接。 这是为了确保数据受到保护。 但是，您可以在 Yandex Metrica 中为单个账户创建多个连接。

1. 确保您广告的 URL 包含 [UTM 标签](https://yandex.com/support/metrica/zh/general/source-tags.md#utm-construct)。 要添加它们，您可以使用[跟踪模板](https://support.google.com/google-ads/answer/6305348?hl=en)。
    
    {% cut "支持的 ValueTrack 参数" %}
    
    - `{adgroupid}`
    - `{adposition}`
    - `{campaignid}`
    - `{creative}`
    - `{device}`
    - `{keyword}`
    - `{matchtype}`
    - `{targetid}`
    
    {% endcut %}
    
    使用模板创建的带有标签的 URL 示例：
    
    ```http
    {lpurl}?utm_medium=search&utm_source=google&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}
    ```
    
1. 在 Yandex Metrica 中，转到 **Settings** → **Upload data** 选项卡。
1. 在 **Advertising expenses** (**Automatic cost upload**) 中，选择 **Google Ads**。
1. 点击 **Connect Google Ads**。
1. 选择您用于管理广告系列的 Google 账户。 [如果账户已关联该怎么办](#no-account)。
1. 添加连接名称，并选择您要从中上传数据的 Google Ads 账户。 [如果没有可用账户怎么办。](#no-eccess)
1. 点击 **Save**。

您可以为多个计数器创建连接：
1. 确保您的 Yandex 账户有权访问创建连接所需的计数器。
1. 如上所述为其中一个计数器创建连接。
1. 对于其他计数器，选择在步骤 2 中创建的连接。

要更改连接名称，请转至连接设置并输入新名称。

## 如何从 Yandex Metrica 删除数据 {#remove}

我们建议[按日期和 UTM 标签/来源](https://yandex.com/support/metrica/zh/ad/remove.md#date-utm)删除数据。

## 取消 Yandex Metrica 计数器与 Google 账户的关联 {#decouple}

1. 使用建立连接时所用的用户名登录 Yandex Metrica 账户。
1. 转到 Google Ads 连接器并在设置中删除连接。
1. [打开 Google 账户的访问设置](https://myaccount.google.com/permissions)。
1. 在 **Third-party apps with account access** 下， 选择 Yandex Metrica。
1. 点击 **Close access**。

## 问题与解答 {#qanda}


{% cut "可以上传多长时间的数据？" %}


数据按最近 30 天加载。


{% endcut %}

{% cut "如何查明我连接的是哪个 Google 账户？" %}


连接建立后无法找到用户名。 这是为了确保您的数据安全。 我们建议您联系同事获取相关信息。


{% endcut %}

{% cut "没有可用的 Google Ads 账户" %} {#no-eccess}


您可能无权访问 Google Ads 账户。 [检查](https://ads.google.com/intl/en_RU/home/)您创建连接时所用的账户是否有权访问 Google Ads 广告账户。

如果您没有 Google Ads 广告系列或无权访问 Google Ads 广告系列，请创建并配置广告系列。

您可能通过其他 Google 账户拥有对 Google Ads 广告账户的访问权限。 在这种情况下，请删除当前连接，并通过可访问 Google Ads 的 Google 账户创建新连接。


{% endcut %}

{% cut "无法创建连接，因为所选账户已被另一个用户名使用" %} {#no-account}


这意味着已有一个连接将该 Google 账户与 Yandex 账户关联起来了。 连接建立后无法找到用户名。 这是为了确保您的数据安全。 要解决此情况，请尝试采取以下步骤：
- 如果您创建了连接，但在不同的 Yandex 账户下：
    - 为其他账户提供编辑计数器的访客权限，并在配置 Google Ads 连接时选择现有连接。
    - [删除您的 Google 账户中的 Yandex Metrica 访问权限](#rem-metr)。 请注意，此 Google Ads 账户先前配置的集成将停止运行。
    
- 如果您未创建此连接，请尝试询问有权访问您的 Google 账户且创建了该连接的人员，并请他们为所需的计数器添加一个连接。
    
    如果无法做到这一点，请[在您的 Google 账户中删除 Yandex Metrica 访问权限](#rem-metr)。 请注意，此 Google Ads 账户先前配置的集成将停止运行。


{% endcut %}

{% cut "如何删除 Yandex Metrica 对 Google 账户的访问权限" %} {#rem-metr}


1. [转到 Google 账户访问设置](https://myaccount.google.com/permissions)。
1. 在 **Third-party apps with account access** 下， 选择 Yandex Metrica。
1. 点击 **Close access**。


{% endcut %}

{% cut "Google Ads 数据何时会出现在报表中？" %}


Yandex Metrica 每天上传一次费用数据。 当天的费用直到第二天才会出现在计数器报表中。


{% endcut %}

<!-- source: zh/_includes/buttons/chat-button.md -->
[与我们聊天](https://yandex.com/chat/#/user/036e6a02-3620-9cdc-4c5e-a34667a7379e?utm_source=spravka){.button}

<!-- source: zh/_includes/styles/href-to-button.md -->

<!-- endsource: zh/_includes/styles/href-to-button.md -->
<!-- endsource: zh/_includes/buttons/chat-button.md -->

<!-- source: zh/_includes/support-2.md -->
<div class="cut-button">

{% cut "发送电子邮件" %}

<!-- source: zh/_includes/popup/id-popup/wrong-sup.md -->
请注意：我们的支持团队永远不会主动给您打电话。 请勿按照自称为 Yandex Metrica 支持团队来电者的指示操作。
<!-- endsource: zh/_includes/popup/id-popup/wrong-sup.md -->

<div style="padding: 15px;
     margin: 10px 0;
     background: #FFFFFF;
     border-radius: 10px;
     border: 1px solid var(--yc-color-line-generic);">
  <iframe style="background: #FFFFFF;"
        height="700"
        width="100%"
        frameborder="0"
        src="https://forms.yandex.com/surveys/10011833/?&iframe=1&lang=en">
  </iframe>
</div>

{% endcut %}

</div>

<!-- source: zh/_includes/styles/cut-button.md -->

<!-- endsource: zh/_includes/styles/cut-button.md -->
<!-- endsource: zh/_includes/support-2.md -->

<!-- source: zh/_includes/footer-links.md -->
- - -

<div class="borderless-table">

#|
||
实用链接

- [演示计数器](https://metrica.yandex.com/r/dashboard?)
- [添加计数器](https://metrica.yandex.com/add/)
- [免费计数器设置](https://yandex.com/promo/freeservice/metrica?utm_source=help_metrica_en&utm_medium=cpc&utm_campaign=1)
- [Yandex Metrica API](https://tech.yandex.com/metrika/)
- [提出您的想法](https://yandex.com/support/metrica/troubleshooting/idea.html)
|
线上培训



- [参加培训课程](https://yandex.com/adv/edu/online/metrika?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)

||
|#

</div>

<!-- source: zh/_includes/styles/table-style.md -->

<!-- endsource: zh/_includes/styles/table-style.md -->
<!-- endsource: zh/_includes/footer-links.md -->

<!-- source: zh/_includes/styles/table-style.md -->

<!-- endsource: zh/_includes/styles/table-style.md -->

