Method: advertisers.campaigns.targetingTypes.assignedTargetingOptions.get
HTTP 请求
GET https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/campaigns/{campaignId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}
网址采用 gRPC 转码语法。
路径参数
参数 |
advertiserId |
string (int64 format)
必需。广告系列所属的广告客户的 ID。
|
campaignId |
string (int64 format)
必需。分配的定位选项所属的广告系列的 ID。
|
targetingType |
enum (TargetingType )
必需。用于标识此分配的定位选项的类型。 支持的定位类型:
|
assignedTargetingOptionId |
string
必需。此广告系列中定位类型的唯一标识符,用于标识请求的已分配定位选项。
|
响应正文
如果成功,则响应正文包含一个 AssignedTargetingOption
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/display-video
如需了解详情,请参阅 OAuth 2.0 Overview。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-25。
[null,null,["最后更新时间 (UTC):2025-02-25。"],[[["Retrieves a specific targeting option assigned to a Display & Video 360 campaign."],["Requires specifying the advertiser ID, campaign ID, targeting type, and assigned targeting option ID in the request URL."],["Uses an HTTP GET request with no request body."],["Returns an `AssignedTargetingOption` object in the response if successful."],["Needs authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This describes how to retrieve a specific targeting option assigned to a campaign using a `GET` request. The request URL structure is defined, including placeholders for `advertiserId`, `campaignId`, `targetingType`, and `assignedTargetingOptionId`. These path parameters are required to identify the requested resource. The `targetingType` specifies what kind of targeting, with many options available. The request body is empty, and a successful response returns an `AssignedTargetingOption`. OAuth scope `https://www.googleapis.com/auth/display-video` is necessary for authorization.\n"]]