Écrire votre première application cliente
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Pour créer une application cliente de base, petite, mais fonctionnelle à l'aide de l'API Search Ads 360, suivez les instructions figurant dans cette section.
-
Prérequis
- Créez un projet dans la console Google APIs, installez un script utilitaire et familiarisez-vous avec REST et JSON.
-
Installer une bibliothèque cliente
- Téléchargez une bibliothèque cliente pour votre langage de programmation.
-
Configurer les autorisations
- Obtenez les identifiants dont vous aurez besoin pour toutes les demandes envoyées à l'API Search Ads 360.
-
Configurer votre application
- Écrivez une classe qui initialise un objet
Doubleclicksearch
.
-
Envoyer un exemple de requête
- Envoyer un exemple de requête à l'API
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 2023/02/27 (UTC).
[null,null,["Dernière mise à jour le 2023/02/27 (UTC)."],[[["\u003cp\u003eThis guide helps you build a basic Search Ads 360 API client application with minimal setup.\u003c/p\u003e\n"],["\u003cp\u003eBefore starting, ensure you've completed prerequisites like project creation, utility script installation, and understanding REST/JSON.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need to install a client library in your preferred programming language, set up authorization, and configure your application.\u003c/p\u003e\n"],["\u003cp\u003eFinally, you'll send a sample request to the Search Ads 360 API to verify functionality.\u003c/p\u003e\n"]]],["Begin by creating a Google API Console project, installing a utility script, and understanding REST and JSON. Next, download a client library for your chosen language. Obtain necessary credentials for API requests, then develop a class to initialize a `Doubleclicksearch` object. Finally, send a sample request to the Search Ads 360 API to ensure proper setup. These are the key steps to building a functional client.\n"],null,["# Write Your First Client Application\n\nTo create a small but functional basic client application using the Search Ads 360 API,\nfollow the guidelines in this section.\n\n\n[Prerequisites](/search-ads/v2/prereqs)\n: Create a project in the Google API Console, install a utility script, and learn\n about REST and JSON.\n\n\n[Install a client library](/search-ads/v2/libraries)\n: Download a client library for your programming language.\n\n\n[Set up authorization](/search-ads/v2/authorizing)\n: Get the credentials you'll need for all requests to the Search Ads 360 API.\n\n\n[Set up your application](/search-ads/v2/configure)\n:\n Write a class that initializes a `Doubleclicksearch` object.\n\n\n[Send a sample request](/search-ads/v2/requests)\n: Send a sample request to the API."]]