# Google Ads

当我们项目需要拉取google ads数据时，需要进行如下操作：

1.登录google ads账号，绑定服务账号 <google-ads@appflow-ai-dash.iam.gserviceaccount.com>

文档：[向服务账号授予访问权限](https://developers.google.com/google-ads/api/docs/get-started/select-account?hl=zh-cn#grant_access_to_the_service_account)

2.完成上述的授权步骤之后，服务账号会自动接受邀请

3.把账号的login\_customer\_id复制到appflow

<figure><img src="/files/KE2IsDTbsIIMzCdNdE79" alt=""><figcaption></figcaption></figure>

4.在appflow, Setting → Applications ->选择对应app, Edit → integrations → Google Ads, 打开开关，将login\_customer\_id填写到appflow （ps: 因为不需要-字符，appflow会自动去掉）

<div><figure><img src="/files/xqxqXUIk4OQgGFBCRObb" alt=""><figcaption></figcaption></figure> <figure><img src="/files/MAwDFuSm0e8BBNb5jr7A" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.appflow.ai/docs/google-ads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
