data-manager-api-setup
>-
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Data Manager API Setup
Setup Authentication
Refer to Set up API access
for more details.
- Enable API (Prerequisite): Check that the user has enabled the Data
Manager API in their Google Cloud project.
- Generate ADC: Authenticate the local workspace using Application
Default Credentials (ADC) via gcloud auth application-default login.
- Required Scopes: Include scopes
https://www.googleapis.com/auth/datamanager and
https://www.googleapis.com/auth/cloud-platform.
- Multi-API Scopes: If using the same credentials for other APIs,
append their scopes (e.g.,
https://www.googleapis.com/auth/adwords).
- Service Accounts: Ensure the Service Account has the
Service Usage Consumer IAM role, and the user executing gcloud
has the Token Creator role
(roles/iam.serviceAccountTokenCreator) on that Service Account
for impersonation.
Install Client & Utility Libraries
Refer to Install a client library
for more details.
The companion utility libraries provide pre-built helper classes
and functions to correctly format, hash, and encrypt user identifiers (such as
emails, phone numbers, and physical addresses) prior to API ingestion. Use of
these libraries is highly recommended to ensure that user identifier formatting
matches the API's specifications.
Select the language-specific installation guide below:
- [Python Setup Reference](references/python.md) (packages:
google-ads-datamanagerandgoogle-ads-datamanager-util) - [Java Setup Reference](references/java.md) (packages:
com.google.api-ads:data-manageranddata-manager-util) - [Node Setup Reference](references/node.md) (packages:
@google-ads/datamanagerand@google-ads/data-manager-util) - [PHP Setup Reference](references/php.md) (packages:
googleads/data-managerandgoogleads/data-manager-util) - [.NET Setup Reference](references/dotnet.md) (packages:
Google.Ads.DataManager.V1andGoogle.Ads.DataManager.Util.csproj)
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。