À partir du 8 septembre 2025, chaque nouvelle ligne devra indiquer si elle diffusera ou non des annonces à caractère politique dans l'Union européenne (UE). Les importations de fichiers SDF et les appels à l'API Display & Video 360 qui ne fournissent pas de déclarations échoueront. Pour savoir comment mettre à jour votre intégration afin d'effectuer cette déclaration, consultez notre page sur les abandons de compatibilité.
Ce champ sera défini sur false. Si ce champ est défini sur true lorsqu'il est obsolète, tous les ciblages par type d'audience propriétaire à inclure associés à cet élément de campagne seront remplacés par le ciblage par exclusion des mêmes audiences propriétaires afin que ces audiences continuent d'être exclues.
TargetingExpansionLevel
Paramètre de ciblage optimisé.
Enums
TARGETING_EXPANSION_LEVEL_UNSPECIFIED
Le paramètre de ciblage optimisé n'est pas spécifié ou est inconnu dans cette version.
NO_EXPANSION
Le ciblage optimisé est désactivé.
LEAST_EXPANSION
Le ciblage optimisé est activé.
SOME_EXPANSION
Si vous l'utilisez, il sera automatiquement défini sur LEAST_EXPANSION.
BALANCED_EXPANSION
Si vous l'utilisez, il sera automatiquement défini sur LEAST_EXPANSION.
MORE_EXPANSION
Si vous l'utilisez, il sera automatiquement défini sur LEAST_EXPANSION.
MOST_EXPANSION
Si vous l'utilisez, il sera automatiquement défini sur LEAST_EXPANSION.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eDisplay & Video 360 API v2 is sunset and replaced with new options.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTargetingExpansionConfig\u003c/code\u003e controls optimized targeting settings for line items.\u003c/p\u003e\n"],["\u003cp\u003eOptimized targeting can be turned on or off using \u003ccode\u003etargetingExpansionLevel\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eexcludeFirstPartyAudience\u003c/code\u003e is deprecated and will be set to \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSeveral \u003ccode\u003eTargetingExpansionLevel\u003c/code\u003e enums are deprecated and will default to \u003ccode\u003eLEAST_EXPANSION\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# TargetingExpansionConfig\n\n| Display \\& Video 360 API v2 has sunset.\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [TargetingExpansionLevel](#TargetingExpansionLevel)\n\nSettings that control the [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"targetingExpansionLevel\": enum (/display-video/api/reference/rest/v2/TargetingExpansionConfig#TargetingExpansionLevel), \"excludeFirstPartyAudience\": boolean } ``` |\n\n| Fields ||\n|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetingExpansionLevel` | `enum (`[TargetingExpansionLevel](/display-video/api/reference/rest/v2/TargetingExpansionConfig#TargetingExpansionLevel)`)` Required. Whether optimized targeting is turned on. This field supports the following values: - `NO_EXPANSION`: optimized targeting is turned off - `LEAST_EXPANSION`: optimized targeting is turned on If this field is set to any other value, it will automatically be set to `LEAST_EXPANSION`. `NO_EXPANSION` will be the default value for the field and will be automatically assigned if you do not set the field. |\n| `excludeFirstPartyAudience` **(deprecated)** | `boolean` | This item is deprecated! Whether to exclude first-party audiences from use in targeting expansion. This field was deprecated with the launch of [optimized targeting](//support.google.com/displayvideo/answer/12060859). This field will be set to `false`. If this field is set to `true` when deprecated, all positive first-party audience targeting assigned to this line item will be replaced with negative targeting of the same first-party audiences to ensure the continued exclusion of those audiences. |\n\nTargetingExpansionLevel\n-----------------------\n\nThe Optimized targeting setting.\n\n| Enums ||\n|-----------------------------------------|-------------------------------------------------------------------------------------|\n| `TARGETING_EXPANSION_LEVEL_UNSPECIFIED` | The optimized targeting setting is not specified or is unknown in this version. |\n| `NO_EXPANSION` | Optimized targeting is off. |\n| `LEAST_EXPANSION` | Optimized targeting is on. |\n| `SOME_EXPANSION` | If used, will automatically be set to `LEAST_EXPANSION`. | This item is deprecated! |\n| `BALANCED_EXPANSION` | If used, will automatically be set to `LEAST_EXPANSION`. | This item is deprecated! |\n| `MORE_EXPANSION` | If used, will automatically be set to `LEAST_EXPANSION`. | This item is deprecated! |\n| `MOST_EXPANSION` | If used, will automatically be set to `LEAST_EXPANSION`. | This item is deprecated! |"]]