Anyone?
On Tuesday, July 10, 2012 5:27:59 PM UTC+1, Simon Day wrote:
Hi,
I'm currently developing an interface object for a VB application so am
using rawAPI Calls. I'm having some issues changing the BiddingStrategy on
an existing campaign.
This XML below:
?xml version='1.0' encoding='utf-8'?
soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
soap:Header
RequestHeader xmlns='
https://adwords.google.com/api/adwords/cm/v201109'
authTokenxx/authToken
clientCustomerId8312754789/clientCustomerId
developerToken/developerToken
userAgentDevTest/userAgent
/RequestHeader
/soap:Header
soap:Body
mutate xmlns='https://adwords.google.com/api/adwords/cm/v201109'
operations
operatorSET/operator
operand
id692483/id
nameNew Campaign XX/name
statusPAUSED/status
budget
periodDAILY/period
amountmicroAmount5000/microAmount/amount
deliveryMethodSTANDARD/deliveryMethod
/budget
biddingTransition
targetBiddingStrategy xsi:type='ManualCPC' /
/biddingTransition
/operand
/operations
/mutate
/soap:Body
/soap:Envelope
Gives this error:
Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'biddingTransition'. One of '{
https://adwords.google.com/api/adwords/cm/v201109:biddingStrategy,
https://adwords.google.com/api/adwords/cm/v201109:conversionOptimizerEligibility,
https://adwords.google.com/api/adwords/cm/v201109:campaignStats,
https://adwords.google.com/api/adwords/cm/v201109:adServingOptimizationStatus,
https://adwords.google.com/api/adwords/cm/v201109:frequencyCap,
https://adwords.google.com/api/adwords/cm/v201109:settings,
https://adwords.google.com/api/adwords/cm/v201109:networkSetting}' is
expected.
Looking in the reference documents (
https://developers.google.com/adwords/api/docs/reference/v201109/CampaignService.CampaignOperation#biddingTransition),
and searching for examples in the forum everything looks to be right.
What am I missing, or doing wrong?
Thanks
Simon
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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