Export (0) Print
Expand All

AddGoalsResponse Message

Defines the response message that the AddGoals operation returns to the client.

<wsdl:message name="AddGoalsResponse">
  <wsdl:part name="parameters" element="tns:AddGoalsResponse" />
</wsdl:message>

Body Elements

Element

Description

Data Type

GoalResults

An array of GoalResult objects. Each object contains the identifier of the goal that was added and the identifiers of the steps that make up the goal.

The objects are in the same order as the goals that were specified in the request.

GoalResult[]

Header Elements

Element

Description

Data Type

TrackingId

The identifier of the log entry that contains details about the API call.

string

SOAP

The following example shows the complete SOAP envelope for an AddGoalsResponse response.

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header xmlns="https://adcenter.microsoft.com/v8">
    <TrackingId p4:nil="false" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance"></TrackingId>
  </s:Header>
  <s:Body>
    <AddGoalsResponse xmlns="https://adcenter.microsoft.com/v8">
      <GoalResults xmlns:e2="http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts" p5:nil="false" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">
        <e2:GoalResult>
          <e2:GoalId></e2:GoalId>
          <e2:StepIds p5:nil="false" xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <a1:long></a1:long>
          </e2:StepIds>
        </e2:GoalResult>
      </GoalResults>
    </AddGoalsResponse>
  </s:Body>
</s:Envelope>

Requirements

CampaignManagementService.svc v8

Namespace: https://adcenter.microsoft.com/v8

See Also

Reference

AddGoalsRequest Message

Community Additions

Show:
© 2014 Microsoft