title: Getting Unmarshalling Error while using Google Adwords API
body: <p>I'm making use of OAuth2 as authentication mechanism to get the response about the "add budget campaign" using SOAP request. In the very beginning to send a soap request using cUrl I am facing an error given below:</p>
  
  <pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
   &lt;soap:Body&gt;
    &lt;soap:Fault&gt;
     &lt;faultcode&gt;soap:Client&lt;/faultcode&gt;
      &lt;faultstring&gt;
           Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'biddingStrategy'. One of '{"https://adwords.google.com/api/adwords/cm/v201309":conversionOptimizerEligibility, "https://adwords.google.com/api/adwords/cm/v201309":adServingOptimizationStatus, "https://adwords.google.com/api/adwords/cm/v201309":frequencyCap, "https://adwords.google.com/api/adwords/cm/v201309":settings, "https://adwords.google.com/api/adwords/cm/v201309":networkSetting, "https://adwords.google.com/api/adwords/cm/v201309":biddingStrategyConfiguration, "https://adwords.google.com/api/adwords/cm/v201309":forwardCompatibilityMap}' is expected. 
     &lt;/faultstring&gt;
    &lt;/soap:Fault&gt;
   &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>I am sending the following XML/SOAP request using cUrl which is the similar code given on AdWords tutorial (<a href="https://developers.google.com/adwords/api/docs/guides/soap" rel="nofollow">https://developers.google.com/adwords/api/docs/guides/soap</a>) .</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;soap:Envelope
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns="https://adwords.google.com/api/adwords/cm/v201309"&gt;
      &lt;soap:Header&gt;
        &lt;RequestHeader&gt;
          &lt;authToken&gt;MYAUTHTOKEN&lt;/authToken&gt;
          &lt;userAgent&gt;curl-tutorial&lt;/userAgent&gt;
          &lt;developerToken&gt;MYDEVTOKEN&lt;/developerToken&gt;
          &lt;clientCustomerId&gt;MYCUSTOMERID&lt;/clientCustomerId&gt;
        &lt;/RequestHeader&gt;
      &lt;/soap:Header&gt;
      &lt;soap:Body&gt;
        &lt;mutate&gt;
          &lt;operations&gt;
            &lt;operator&gt;ADD&lt;/operator&gt;
            &lt;operand&gt;
              &lt;name&gt;Test File&lt;/name&gt;
              &lt;budget&gt;
                &lt;period&gt;DAILY&lt;/period&gt;
                &lt;amount&gt;
                  &lt;microAmount&gt;1000000000&lt;/microAmount&gt;
                &lt;/amount&gt;
                &lt;deliveryMethod&gt;STANDARD&lt;/deliveryMethod&gt;
              &lt;/budget&gt;
              &lt;biddingStrategy
                xmlns:cm="https://adwords.google.com/api/adwords/cm/v201309"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:type="cm:ManualCPC"/&gt;
              &lt;settings
                xmlns:cm="https://adwords.google.com/api/adwords/cm/v201309"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:type="cm:KeywordMatchSetting"&gt;
                &lt;cm:optIn&gt;false&lt;/cm:optIn&gt;
              &lt;/settings&gt;
            &lt;/operand&gt;
          &lt;/operations&gt;
        &lt;/mutate&gt;
      &lt;/soap:Body&gt;
    &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>I utilized the above XML/SOAP request in my cUrl request as:</p>
  
  <pre><code>curl --header "Content-Type: application/soap+xml" 
   --data @test.xml  https://adwords.google.com/api/adwords/cm/v201309/CampaignService
  </code></pre>
  
  <p>I have searched over the internet regarding the same issue I'm facing but no where I could find the solution. Please let me know if I'm doing anything wrong or let me know if there is any other way out.</p>