Method: customers.merchantCenterLinks.mutate

Merchant Center का लिंक अपडेट कर सकता है या हटा सकता है.

थ्रो की गई गड़बड़ियों की सूची: AuthenticationError AuthorizationError FieldMaskError HeaderError InternalError QuotaError RequestError

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

POST https://googleads.googleapis.com/v14/customers/{customerId}/merchantCenterLinks:mutate

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

पाथ के पैरामीटर

पैरामीटर
customerId

string

ज़रूरी है. उस ग्राहक का आईडी जिसमें बदलाव किया जा रहा है.

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

अनुरोध के मुख्य हिस्से में इस तरह का डेटा शामिल होता है:

जेएसओएन के काेड में दिखाना
{
  "operation": {
    object (MerchantCenterLinkOperation)
  },
  "validateOnly": boolean
}
फ़ील्ड
operation

object (MerchantCenterLinkOperation)

ज़रूरी है. लिंक पर की जाने वाली कार्रवाई

validateOnly

boolean

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

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

Merchant Center के लिंक में बदलाव के लिए दिया गया जवाब.

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

जेएसओएन के काेड में दिखाना
{
  "result": {
    object (MutateMerchantCenterLinkResult)
  }
}
फ़ील्ड
result

object (MutateMerchantCenterLinkResult)

बदलाव का नतीजा.

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

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

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

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

MerchantCenterLinkOperation

Merchant Center के लिंक से जुड़ा एक अपडेट.

जेएसओएन के काेड में दिखाना
{
  "updateMask": string,

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

string (FieldMask format)

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

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

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

object (MerchantCenterLink)

अपडेट कार्रवाई: Merchant Center के लिंक में, संसाधन का मान्य नाम होना चाहिए.

remove

string

हटाने की कार्रवाई: हटाए गए Merchant Center लिंक के लिए, संसाधन का नाम इस फ़ॉर्मैट में होना चाहिए:

customers/{customerId}/merchantCenterLinks/{merchantCenterId}

MutateMerchantCenterLinkResult

Merchant Center के लिंक में बदलाव करने का नतीजा.

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

string

सफल संचालन के लिए वापस लौटाया गया.