Method: customers.localServices.appendLeadConversation

RPC to append Local Services Lead Conversation resources to Local Services Lead resources.

HTTP request

POST https://googleads.googleapis.com/v17/customers/{customerId}/localServices:appendLeadConversation

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Required. The Id of the customer which owns the leads onto which the conversations will be appended.

Request body

The request body contains data with the following structure:

JSON representation
{
  "conversations": [
    {
      object (Conversation)
    }
  ]
}
Fields
conversations[]

object (Conversation)

Required. Conversations that are being appended.

Response body

Response message for LocalServicesLeadService.AppendLeadConversation.

If successful, the response body contains data with the following structure:

JSON representation
{
  "responses": [
    {
      object (ConversationOrError)
    }
  ]
}
Fields
responses[]

object (ConversationOrError)

Required. List of append conversation operation results.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

Conversation

Details of the conversation that needs to be appended.

JSON representation
{
  "localServicesLead": string,
  "text": string
}
Fields
localServicesLead

string

Required. The resource name of the local services lead that the conversation should be applied to.

text

string

Required. Text message that user wanted to append to lead.

ConversationOrError

Result of the append conversation operation.

JSON representation
{

  // Union field append_lead_conversation_response can be only one of the
  // following:
  "localServicesLeadConversation": string,
  "partialFailureError": {
    object (Status)
  }
  // End of list of possible types for union field
  // append_lead_conversation_response.
}
Fields
Union field append_lead_conversation_response. Append operation response append_lead_conversation_response can be only one of the following:
localServicesLeadConversation

string

The resource name of the appended local services lead conversation.

partialFailureError

object (Status)

Failure status when the request could not be processed.