Method: partners.adsAccountLinks.create
创建 Google Ads 账号关联。此操作将在 Google Ads 账号与合作伙伴中心之间建立关联。在 Google Ads 门户批准该关联之前,该关联将处于 Pending
状态。
HTTP 请求
POST https://mapsbooking.googleapis.com/v1alpha/{parent=partners/*}/adsAccountLinks
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。将在其中创建此 Google Ads 账号关联的父级资源。此 ID 与合作伙伴中心账号 ID 相同。格式:合作伙伴/{partner}
|
查询参数
参数 |
adsAccountLinkId |
string
必需。用于 Google Ads 账号关联的 ID。此 ID 与 Google Ads 客户 ID 相同。有关详情,请参阅https://support.google.com/google-ads/answer/1704344格式:xxx-xxx-xxxx。
|
请求正文
请求正文包含一个 AdsAccountLink
实例。
响应正文
如果成功,响应正文将包含一个新创建的 AdsAccountLink
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/mapsbooking
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-08。
[null,null,["最后更新时间 (UTC):2024-11-08。"],[[["Creates an Ads account link between a Google Ads account and a Partner Center account, initiating a link that requires approval from the Ads portal."],["The link creation process involves an HTTP POST request to a specific URL with path and query parameters specifying the Partner Center and Google Ads account IDs respectively."],["The request body should contain an `AdsAccountLink` object, and a successful response will return the newly created `AdsAccountLink` object."],["This operation requires authorization with the `https://www.googleapis.com/auth/mapsbooking` OAuth scope."]]],[]]