I'm trying to use the latest Perl library for the v200906 API (http://
google-api-adwords-perl.googlecode.com/files/
awapi_perl_lib_1.2.1.tar.gz) but I'm getting this error I don't
understand:

"Unmarshalling Error: Unable to create an instance of
com.google.ads.api.services.campaignmgmt.campaign.v200906.jaxbgen.BiddingStrategy"

Enabling SOAP debug, this is the outgoing request:

<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
><SOAP-ENV:Header><RequestHeader xmlns="https://adwords.google.com/api/
adwords/cm/v200906"><applicationToken>MyAppToken</
applicationToken><authToken>REDACTED</authToken><clientEmail>MyEmail</
clientEmail><developerToken>MyDevToken</developerToken><userAgent>Perl
Google::AdWords::Client v1.2.1: Xyz</userAgent></RequestHeader></SOAP-
ENV:Header><SOAP-ENV:Body><mutate xmlns="https://adwords.google.com/
api/adwords/cm/v200906"><operations><operator>ADD</
operator><operand><name> 1248823406</name><status>ACTIVE</
status><budget><period>DAILY</period><amount><microAmount>10000</
microAmount></amount><deliveryMethod>STANDARD</deliveryMethod></
budget><biddingStrategy><BiddingStrategy.Type>ManualCPC</
BiddingStrategy.Type></biddingStrategy></operand></operations></
mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>

this is the incoming response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>Unmarshalling Error: Unable to create an
instance of
com.google.ads.api.services.campaignmgmt.campaign.v200906.jaxbgen.BiddingStrategy
</faultstring></soap:Fault></soap:Body></soap:Envelope>

I tried to create a Campaign without a bidding strategy (hoping it
would default to one) and it gives me the following, which I'm
assuming means it wants a biddingStragegy

[RequiredError.REQUIRED @ operations[0].operand.biddingStrategy]

I get this in and out of the sandbox.

Any help would be gratefully received.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to