【发布时间】:2020-06-15 20:24:21
【问题描述】:
我目前每个月都使用 UI 将转化(实体店销售直接转化)导入 Google Ads。 我正在创建数据以 CSV 格式导入 Google Ads,然后使用 UI 上传。 当前方法:Google Ads > 转化 > 上传
我需要使用 Google Ads API 及其 Python 模块自动执行此过程。 我怎样才能完成这项工作? 完成这项工作需要哪些步骤?
【问题讨论】:
我目前每个月都使用 UI 将转化(实体店销售直接转化)导入 Google Ads。 我正在创建数据以 CSV 格式导入 Google Ads,然后使用 UI 上传。 当前方法:Google Ads > 转化 > 上传
我需要使用 Google Ads API 及其 Python 模块自动执行此过程。 我怎样才能完成这项工作? 完成这项工作需要哪些步骤?
【问题讨论】:
您可以使用 Google Adwords API OfflineDataUploadService (v201809)。 https://developers.google.com/adwords/api/docs/reference/v201809/OfflineDataUploadService
在此之前,您需要配置 Adwords 客户端并设置身份验证。
您需要以下详细信息来进行设置。
https://developers.google.com/adwords/api/docs/guides/authentication
https://developers.google.com/google-ads/api/docs/first-call/dev-token
您需要创建 googleads.yaml 配置文件并存储凭据以设置身份验证。 https://github.com/googleads/googleads-python-lib/blob/master/googleads.yaml
参考以下代码创建 API 调用
注意:此服务仅在白名单的基础上可用。
【讨论】: