none
bing ads api with coldfusion RRS feed

  • Question

  • Hey-

    I'm trying to get a successful SOAP request to the api using coldfusion. Has anyone used coldfusion with the api? Here's what I have so far but getting error: "The message with Action '' cannot be processed at the receiver"

    <cfsavecontent variable="soap">

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v8="https://adcenter.microsoft.com/v8">

      <soapenv:Header>

          <v8:UserName>xxxx</v8:UserName>

          <v8:Password>xxx</v8:Password>

          <v8:DeveloperToken>xxx</v8:DeveloperToken>

      </soapenv:Header>

      <soapenv:Body>

          <v8:GetCampaignsByAccountIdRequest>

            <!--Optional:-->

            <v8:AccountId>xxxx</v8:AccountId>

          </v8:GetCampaignsByAccountIdRequest>

      </soapenv:Body>

    </soapenv:Envelope>

    </cfsavecontent>

    <cfhttp url="https://adcenterapi.microsoft.com/Api/Advertiser/v8/CampaignManagement/CampaignManagementService.svc" method="POST">

        <cfhttpparam type="XML" name="message" value="#trim(soap)#">

    </cfhttp>

    Monday, June 3, 2013 5:55 PM

All replies