Skip to content

Reorder selector properties according to WSDL#7

Open
c960657 wants to merge 1 commit intoErikEvenson:masterfrom
c960657:patch-2
Open

Reorder selector properties according to WSDL#7
c960657 wants to merge 1 commit intoErikEvenson:masterfrom
c960657:patch-2

Conversation

@c960657
Copy link

@c960657 c960657 commented Jul 29, 2016

The CampaignService requires the selector properties to appear in a specific order.

If i run the example code, the API returns this error:

<soap:Envelope 
  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Client</faultcode>
      <faultstring>Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'fields'. One of '{"https://adwords.google.com/api/adwords/cm/v201605":ordering, "https://adwords.google.com/api/adwords/cm/v201605":paging}' is expected. </faultstring>
    </soap:Fault>
  </soap:Body>
</soap:Envelope> 

This PR orders the selector properties according to the WSDL:
https://adwords.google.com/api/adwords/cm/v201605/CampaignService?wsdl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant