Hi, everybody!. I'm trying to add a new AdGroup to my existing Campaign, using the API. I'm using my test account for adWords and I'm able to create campaigns, but I'm getting a validation error with the campaignId. When I've tried the creation without a campaignId on the <operand> I'm receiving the " <faultstring>[RequiredError.REQUIRED @ operations[0].operand.campaignId]</faultstring>" error, that is the expected behaviour. But then, when sending the campaignId as part of the request:
1. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://adwords.google.com/api/adwords/cm/v201605" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"><soap:Header><ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201605" xmlns="https://adwords.google.com/api/adwords/cm/v201605"><ns1:developerToken>****************</ns1:developerToken><ns1:userAgent>boma-project</ns1:userAgent><ns1:clientCustomerId>XXX-XXX-XXX</ns1:clientCustomerId><ns1:validateOnly>false</ns1:validateOnly></ns1:RequestHeader></soap:Header><soap:Body><mutate xmlns="https://adwords.google.com/api/adwords/cm/v201605"><operations><operator>ADD</operator><operand><name>MY-ADGROUP-NAME</name><status>PAUSED</status><campaignId>XXXXXXXXXX</campaignId></operand></operations></mutate></soap:Body></soap:Envelope> The request resolves into an error: SOAP ERROR: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'campaignId'. One of '{"https://adwords.google.com/api/adwords/cm/v201605":settings, "https://adwords.google.com/api/adwords/cm/v201605":experimentData, "https://adwords.google.com/api/adwords/cm/v201605":labels, "https://adwords.google.com/api/adwords/cm/v201605":forwardCompatibilityMap, "https://adwords.google.com/api/adwords/cm/v201605":biddingStrategyConfiguration, "https://adwords.google.com/api/adwords/cm/v201605":contentBidCriterionTypeGroup, "https://adwords.google.com/api/adwords/cm/v201605":baseCampaignId, "https://adwords.google.com/api/adwords/cm/v201605":baseAdGroupId, "https://adwords.google.com/api/adwords/cm/v201605":trackingUrlTemplate, "https://adwords.google.com/api/adwords/cm/v201605":urlCustomParameters}' is expected. </faultstring> </soap:Fault> </soap:Body> </soap:Envelope> What am I doing wrong?. I will appreciate any clue that may help me with this issue. Thanks!. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e0157c22-0d0a-4797-a2cd-7359e6018980%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.