Search Ads 360 Reporting API का नया वर्शन अब उपलब्ध है. आने वाले समय में किए जाने वाले बदलावों और रिलीज़ के बारे में अप-टू-डेट रहने के लिए, searchads-api-announcements Google ग्रुप में शामिल हों.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Java क्लाइंट लाइब्रेरी कॉन्फ़िगरेशन
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
लाइब्रेरी, System.getProperty("user.home") + "/searchads360.properties" में कॉन्फ़िगरेशन फ़ाइल खोजती है.
कॉन्फ़िगरेशन फ़ाइल का फ़ॉर्मैट, की-वैल्यू पेयर वाली Java प्रॉपर्टी फ़ाइल जैसा होता है. पुष्टि करने के लिए इस्तेमाल की जा सकने वाली कुंजियां, पुष्टि करने के लिए चुने गए फ़्लो के आधार पर अलग-अलग होती हैं.
डेस्कटॉप और वेब ऐप्लिकेशन फ़्लो के लिए काम करने वाली कुंजियां
अगर डेस्कटॉप या वेब ऐप्लिकेशन फ़्लो का इस्तेमाल किया जा रहा है, तो इस्तेमाल की जा सकने वाली कुंजियां ये हैं:
# Credential for accessing Google's OAuth servers.# Provided by console.cloud.google.com.
api.searchads360.clientId=INSERT_CLIENT_ID_HERE
# Credential for accessing Google's OAuth servers.# Provided by console.cloud.google.com.
api.searchads360.clientSecret=INSERT_CLIENT_SECRET_HERE
# Renewable OAuth credential associated with 1 or more Search Ads accounts.
api.searchads360.refreshToken=INSERT_REFRESH_TOKEN_HERE
# Required for manager accounts only: Specify the login customer ID used to# authenticate API calls. This will be the customer ID of the authenticated# manager account. You can also specify this later in code if your application# uses multiple manager account + OAuth pairs.## api.searchads360.loginCustomerId=INSERT_LOGIN_CUSTOMER_ID_HERE
कॉन्फ़िगरेशन के तरीकों को जोड़ना
SearchAds360Client और उसका बिल्डर, कॉन्फ़िगरेशन की अलग-अलग रणनीतियों को जोड़ने की सुविधा देता है. उदाहरण के लिए, प्रॉपर्टी फ़ाइल का इस्तेमाल करके, इंस्टेंस के क्रेडेंशियल और अन्य एट्रिब्यूट को कॉन्फ़िगर किया जा सकता है. इसके लिए, नीचे दिए गए स्निपेट का इस्तेमाल करें.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2026-05-13 (UTC) को अपडेट किया गया."],[],["The library utilizes a configuration file located at `user.home/searchads360.properties`, formatted as key-value pairs. For desktop/web flows, required keys include `api.searchads360.clientId`, `api.searchads360.clientSecret`, and `api.searchads360.refreshToken`. Manager accounts also need `api.searchads360.loginCustomerId`. An OAuth refresh token can be generated via a provided script or the OAuth Playground. Configurations can be combined using the `SearchAds360Client` builder, which allows file-based configuration and runtime modifications.\n"]]