Method: customers.customerLifecycleGoal.configureCustomerLifecycleGoals

ग्राहक के लाइफ़साइकल के दिए गए कॉन्फ़िगरेशन को प्रोसेस करें.

दिखने वाली गड़बड़ियों की सूची: AuthenticationError AuthorizationError CustomerLifecycleGoalConfigError HeaderError InternalError QuotaError RequestError

एचटीटीपी अनुरोध

POST https://googleads.googleapis.com/v17/customers/{customerId}/customerLifecycleGoal:configureCustomerLifecycleGoals

यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.

पाथ पैरामीटर

पैरामीटर
customerId

string

ज़रूरी है. अपलोड करने वाले ग्राहक का आईडी.

अनुरोध का मुख्य भाग

अनुरोध के मुख्य भाग में नीचे दिए गए स्ट्रक्चर वाला डेटा होता है:

JSON के काेड में दिखाना
{
  "operation": {
    object (CustomerLifecycleGoalOperation)
  },
  "validateOnly": boolean
}
फ़ील्ड
operation

object (CustomerLifecycleGoalOperation)

ज़रूरी है. ग्राहक के लाइफ़साइकल के लक्ष्य को अपडेट करने के लिए किया जाने वाला ऑपरेशन.

validateOnly

boolean

ज़रूरी नहीं. अगर यह सही है, तो अनुरोध की पुष्टि हो जाती है, लेकिन उसे लागू नहीं किया जाता. सिर्फ़ गड़बड़ियां दिखती हैं, नतीजे नहीं.

जवाब का मुख्य भाग

[CustomerLifecycleGoalService.configureCustomerLifecycleGoals][] के लिए रिस्पॉन्स मैसेज.

अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.

JSON के काेड में दिखाना
{
  "result": {
    object (ConfigureCustomerLifecycleGoalsResult)
  }
}
फ़ील्ड
result

object (ConfigureCustomerLifecycleGoalsResult)

नतीजा मिलता है.

अनुमति के दायरे

नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:

  • https://www.googleapis.com/auth/adwords

ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.

CustomerLifecycleGoalOperation

ग्राहक के लाइफ़साइकल के लक्ष्य पर एक बार किया गया ऑपरेशन.

JSON के काेड में दिखाना
{
  "updateMask": string,

  // Union field operation can be only one of the following:
  "create": {
    object (CustomerLifecycleGoal)
  },
  "update": {
    object (CustomerLifecycleGoal)
  }
  // End of list of possible types for union field operation.
}
फ़ील्ड
updateMask

string (FieldMask format)

ज़रूरी नहीं. FieldMask, जो यह तय करता है कि अपडेट में किन संसाधन फ़ील्ड में बदलाव किया गया है.

यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo".

यूनियन फ़ील्ड operation. बदलाव करने की कार्रवाई. operation इनमें से कोई एक हो सकता है:
create

object (CustomerLifecycleGoal)

ऑपरेशन बनाएं: ग्राहक के लाइफ़साइकल का नया लक्ष्य बनाएं.

update

object (CustomerLifecycleGoal)

अपडेट करने की कार्रवाई: ग्राहक के लाइफ़साइकल के किसी मौजूदा लक्ष्य को अपडेट करना.

ConfigureCustomerLifecycleGoalsResult

ग्राहक के लाइफ़साइकल के लक्ष्य के कॉन्फ़िगरेशन का नतीजा.

JSON के काेड में दिखाना
{
  "resourceName": string
}
फ़ील्ड
resourceName

string

कार्रवाई पूरी होने पर दिखता है.