Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
L'API Google Ad Manager Video vous permet de mettre à jour les métadonnées de contenu vidéo stocké dans Google Ad Manager.
L'API Google Ad Manager Video propose deux services:
le service d'ingestion de contenus vidéo ;
Service de notifications de coupure publicitaire.
Service d'ingestion de contenus vidéo
Le service d'ingestion de contenu vidéo vous permet d'informer Google Ad Manager lorsque votre contenu vidéo est mis à jour. Au lieu d'attendre la synchronisation périodique lancée par Google Ad Manager, vous pouvez en informer Google Ad Manager via cette API afin que les métadonnées mises à jour soient disponibles dès que possible pour le ciblage des annonces.
Service de notification de coupure publicitaire
Le service de notification des coupures publicitaires permet aux éditeurs d'informer Google Ad Manager d'une coupure publicitaire à venir et de ses métadonnées avant le début de la coupure.
Configuration initiale
Étant donné que les éditeurs doivent être activés pour utiliser l'API vidéo Google Ad Manager, vous devez indiquer votre compte Google Cloud, votre compte de service et le réseau Ad Manager auquel vous souhaitez accéder.
Pour commencer à utiliser l'API vidéo de Google Ad Manager, procédez comme suit:
Créer un compte dans la console Google Cloud
Dans la console Google Cloud, créez un projet.
Créez un compte de service pour le nouveau projet.
Utiliser les bibliothèques clientes des API Google pour appeler l'API vidéo Google Ad Manager
Une fois le processus de configuration initiale terminé, vous pouvez utiliser une bibliothèque cliente dans le langage de votre choix pour envoyer des requêtes HTTP ou gRPC à l'API. Pour en savoir plus, consultez les ressources suivantes :
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/08/21 (UTC).
[null,null,["Dernière mise à jour le 2025/08/21 (UTC)."],[[["\u003cp\u003eThe Google Ad Manager Video API enables updating video content metadata and notifying Google Ad Manager of updates and upcoming ad breaks, enhancing ad targeting.\u003c/p\u003e\n"],["\u003cp\u003eThe API comprises two services: Video Content Ingestion Service for metadata updates and Ad Break Notification Service for signaling upcoming ad breaks.\u003c/p\u003e\n"],["\u003cp\u003eTo utilize the API, publishers must be enabled and complete an initial setup involving creating a Google Cloud account, project, and service account linked to their Ad Manager network.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides client libraries in various languages to facilitate API interaction via HTTP or gRPC requests, streamlining the integration process.\u003c/p\u003e\n"]]],[],null,["# Overview\n\n\u003cbr /\u003e\n\n| **Note:**You must be enabled to use this API.\n\n\u003cbr /\u003e\n\nThe Google Ad Manager Video API allows you to update metadata for video content stored in Google Ad Manager.\n\nThere are two services in the Google Ad Manager Video API:\n\n1. Video Content Ingestion Service, and\n2. Ad Break Notification Service.\n\n### Video Content Ingestion Service\n\nThe Video Content Igestion Service allows you to notify Google Ad Manager when your video content is updated. Instead of waiting for the periodic sync initiated by Google Ad Manager, you can notify Google Ad Manager through this API so that the updated metadata becomes available for ad targeting as soon as possible.\n\n### Ad Break Notification Service\n\nThe Ad Break Notification Service allows publishers to notify Google Ad Manager of an upcoming ad break and its metadata prior to the start of the ad break.\n\n### Initial setup\n\nBecause publishers must be enabled in order to use the Google Ad Manager Video API, you must provide your Google Cloud Account, service account, and the Ad Manager network that you want to access.\n\nTo start using the Google Ad Manager Video API, complete the following steps:\n\n1. Create a Google Cloud Console account\n2. In the Google Cloud Console, create a new project.\n3. Create a service account for the new project.\n4. Add the service account to Ad Manager by following the steps in [Add a service account user for API access](//support.google.com/admanager/answer/6078734).\n\n### Using Google API client libraries to make calls to the Google Ad Manager Video API\n\nAfter you complete the initial setup process, you can use a client library in the language of your choice to send either HTTP or gRPC requests to the API. For more information, see the following resources:\n\n- [Getting Started for using Cloud API](//cloud.google.com/apis/docs/getting-started)\n- [Client Libraries Explained](//cloud.google.com/apis/docs/client-libraries-explained)\n- Google Ad Manager Video API reference documentation:\n - [REST Reference](/ad-manager/video/rest)\n - [gRPC Reference](/ad-manager/video/rpc)"]]