Closed michauds closed 6 years ago
After further investigation, it seems the documentation is correct and not the pricing example In order to generate the XML with the proper namespace, I needed to do the following call
campaigns = factory.create('ns3:ArrayOflong')
campaigns.long.append(12345)
Hope it helps.
I'm trying to delete some campaigns in the sandbox environment. I'm getting a conflict with the namespaces and suds while using the factory to generate a list of campaigns ids to send in the request.
envelope with namespaces:
snippet of soap body with fake values:
snippet of code used to generate the arguments:
soap fault:
According to the shopping campaign example, this should work. However, the fault says the argument must be of type CampaignId from namespace "https://bingads.microsoft.com/CampaignManagement/v12" and the reference documentations says it must be a long from namespace "http://schemas.microsoft.com/2003/10/Serialization/Arrays".
Can you please confirm the expected type and correct the documentation? Thanks.