A partir de 8 de setembro de 2025, todos os novos itens de linha precisarão declarar se vão veicular anúncios políticos da União Europeia (UE). As APIs do Display & Video 360 e os uploads de SDF que não fornecem declarações vão falhar. Consulte nossa página de suspensões de uso para mais detalhes sobre como atualizar sua integração e fazer essa declaração.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Possíveis opções de segmentação por ambiente.
Enums
ENVIRONMENT_UNSPECIFIED
Valor padrão quando o ambiente não é especificado nesta versão. Essa enumeração é um marcador de posição para o valor padrão e não representa uma opção de ambiente real.
ENVIRONMENT_WEB_OPTIMIZED
Segmente inventários exibidos em navegadores. Isso inclui o inventário que foi projetado para o dispositivo em que foi visualizado, como sites para dispositivos móveis que foram visualizados em um dispositivo móvel. ENVIRONMENT_WEB_NOT_OPTIMIZED, se segmentado, precisa ser excluído antes da exclusão dessa opção de segmentação.
ENVIRONMENT_WEB_NOT_OPTIMIZED
Segmente inventários exibidos em navegadores. Isso inclui o inventário que não foi projetado para o dispositivo, mas foi visualizado nele, como sites otimizados para computador, mas que foram visualizados em um dispositivo móvel. ENVIRONMENT_WEB_OPTIMIZED precisa ser segmentado antes da adição dessa opção de segmentação.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v2 is no longer in use.\u003c/p\u003e\n"],["\u003cp\u003eThe environment targeting options allow advertisers to specify whether their ads should be displayed in web browsers (optimized or not optimized for the device) or in apps.\u003c/p\u003e\n"],["\u003cp\u003eWhen using environment targeting, \u003ccode\u003eENVIRONMENT_UNSPECIFIED\u003c/code\u003e is the default and does not represent an actual environment, while \u003ccode\u003eENVIRONMENT_WEB_OPTIMIZED\u003c/code\u003e and \u003ccode\u003eENVIRONMENT_WEB_NOT_OPTIMIZED\u003c/code\u003e target web browsers, and \u003ccode\u003eENVIRONMENT_APP\u003c/code\u003e targets app inventory.\u003c/p\u003e\n"],["\u003cp\u003eFor web targeting, if you want to target both optimized and non-optimized inventory, you should target \u003ccode\u003eENVIRONMENT_WEB_OPTIMIZED\u003c/code\u003e first and then add \u003ccode\u003eENVIRONMENT_WEB_NOT_OPTIMIZED\u003c/code\u003e.\u003c/p\u003e\n"]]],["The Display & Video 360 API v2 has been discontinued. The document details environment targeting options: `ENVIRONMENT_WEB_OPTIMIZED` targets browser inventory designed for the viewing device. `ENVIRONMENT_WEB_NOT_OPTIMIZED` targets browser inventory not designed for the device. `ENVIRONMENT_APP` targets in-app inventory. `ENVIRONMENT_UNSPECIFIED` is a default placeholder, not a real option. Specific targeting orders are outlined between optimized and not-optimized web environments.\n"],null,["# Environment\n\n| Display \\& Video 360 API v2 has sunset.\nPossible environment targeting options.\n\n| Enums ||\n|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ENVIRONMENT_UNSPECIFIED` | Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option. |\n| `ENVIRONMENT_WEB_OPTIMIZED` | Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option. |\n| `ENVIRONMENT_WEB_NOT_OPTIMIZED` | Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option. |\n| `ENVIRONMENT_APP` | Target inventory displayed in apps. |"]]