Rede de Display e A API Video 360 v2 foi descontinuada. Use o Display & Video 360 API v3. Para ver as instruções de migração da v2 para a v3, consulte nosso guia de migração.
Recebe uma única opção de segmentação atribuída a um anunciante.
Solicitação HTTP
GET https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}
Obrigatório. Um identificador exclusivo do tipo de segmentação nesse anunciante que identifica a opção de segmentação atribuída que está sendo solicitada.
Corpo da solicitação
O corpo da solicitação precisa estar vazio.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de AssignedTargetingOption.
[null,null,["Última atualização 2024-06-29 UTC."],[[["This document details how to get a single targeting option assigned to an advertiser using the Display & Video 360 API."],["The request requires specifying the advertiser ID, targeting type, and assigned targeting option ID as path parameters."],["A successful response will return an AssignedTargetingOption object containing the requested targeting option details."],["Users must have the `https://www.googleapis.com/auth/display-video` OAuth scope to make this request."],["Display & Video 360 API v2 has sunset."]]],["This document details how to retrieve a specific targeting option assigned to an advertiser using the Display & Video 360 API. The core action is sending a `GET` request to a specific URL (`https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}`). The URL requires three path parameters: `advertiserId`, `targetingType` (enum), and `assignedTargetingOptionId`. The request body must be empty, and a successful response returns an `AssignedTargetingOption` instance. It requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]