line 22: Element not allowed: headline@https://adwords.google.com/api/adwords/cm/v201605 in element ad@https://adwords.google.com/api/adwords/cm/v201605line 23: Element not allowed: description1@https://adwords.google.com/api/adwords/cm/v201605 in element ad@https://adwords.google.com/api/adwords/cm/v201605line 24: Element not allowed: description2@https://adwords.google.com/api/adwords/cm/v201605 in element ad@https://adwords.google.com/api/adwords/cm/v201605
<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 'v20:headline'. One of '{
"https://adwords.google.com/api/adwords/cm/v201605":finalMobileUrls,"https://adwords.google.com/api/adwords/cm/v201605":finalAppUrls,"https://adwords.google.com/api/adwords/cm/v201605":trackingUrlTemplate,"https://adwords.google.com/api/adwords/cm/v201605":urlCustomParameters,"https://adwords.google.com/api/adwords/cm/v201605":devicePreference,
'is expected.</faultstring>
</soap:Fault></soap:Body></soap:Envelope>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/v201605">
- <soapenv:Header>
- <v20:RequestHeader>
- <v20:clientCustomerId>[redacted]<</v20:clientCustomerId>
- <v20:developerToken>[redacted]</v20:developerToken>
- <v20:validateOnly>false</v20:validateOnly>
- <v20:partialFailure>false</v20:partialFailure>
- </v20:RequestHeader>
- </soapenv:Header>
- <soapenv:Body>
- <v20:mutate>
- <v20:operations>
- <v20:operator>ADD</v20:operator>
- <v20:operand>
- <v20:adGroupId>[redacted]<</v20:adGroupId>
- <v20:ad>
- <v20:displayUrl>example.com</v20:displayUrl>
- <v20:finalUrls>http://www.example.com</v20:finalUrls>
- <v20:type>TEXT_AD</v20:type>
- <v20:devicePreference>30001</v20:devicePreference>
- <v20:Ad.Type>TextAd</v20:Ad.Type>
- <v20:headline>Summer things</v20:headline>
- <v20:description1>Get things for summer</v20:description1>
- <v20:description2>while the prices are low.</v20:description2>
- </v20:ad>
- <v20:status>ENABLED</v20:status>
- </v20:operand>
- </v20:operations>
- </v20:mutate>
- </soapenv:Body>
- </soapenv:Envelope>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/v201605" xmlns:xsi="xsi">
- <soapenv:Header>
- <v20:RequestHeader>
- <v20:clientCustomerId>[redacted]</v20:clientCustomerId>
- <v20:developerToken>[redacted]</v20:developerToken>
- <v20:validateOnly>false</v20:validateOnly>
- <v20:partialFailure>false</v20:partialFailure>
- </v20:RequestHeader>
- </soapenv:Header>
- <soapenv:Body>
- <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201605">
- <operations>
- <operator>ADD</operator>
- <operand>
- <adGroupId>[redacted]</adGroupId>
- <ad xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201605" xsi:type="ns2:TextAd">
- <ns2:displayUrl>example.com</ns2:displayUrl>
- <ns2:finalUrls>http://www.example.com</ns2:finalUrls>
- <ns2:devicePreference>30001</ns2:devicePreference>
- <ns2:headline>Summer things</ns2:headline>
- <ns2:description1>Get things for summer</ns2:description1>
- <ns2:description2>while the prices are low.</ns2:description2>
- </ad>
- <status>ENABLED</status>
- </operand>
- </operations>
- </mutate>
- </soapenv:Body>
- </soapenv:Envelope>
line 16: Attribute not allowed (no wildcards allowed): type@xsi in element ad@https://adwords.google.com/api/adwords/cm/v201605
line 20: Expected element 'Ad.Type@https://adwords.google.com/api/adwords/cm/v201605' instead of 'headline@https://adwords.google.com/api/adwords/cm/v201605' here in element ad@https://adwords.google.com/api/adwords/cm/v201605
line 21: Expected element 'Ad.Type@https://adwords.google.com/api/adwords/cm/v201605' instead of 'description1@https://adwords.google.com/api/adwords/cm/v201605' here in element ad@https://adwords.google.com/api/adwords/cm/v201605
line 22: Expected element 'Ad.Type@https://adwords.google.com/api/adwords/cm/v201605' instead of 'description2@https://adwords.google.com/api/adwords/cm/v201605' here in element ad@https://adwords.google.com/api/adwords/cm/v201605
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-complex-type.3.2.2: Attribute 'xsi:type' is not allowed to appear in element 'ad'.</faultstring>
</soap:Fault></soap:Body></soap:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header>
<ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201605" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0"><ns1:clientCustomerId>[redacted]</ns1:clientCustomerId><ns1:developerToken>[redacted]</ns1:developerToken>
<ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></soapenv:Header><soapenv:Body><mutate xmlns="https://adwords.google.com/api/adwords/cm/v201605"><operations><operator>ADD</operator><operand>
<adGroupId>[redacted]</adGroupId>
<ad xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201605" xsi:type="ns2:TextAd">
<ns2:displayUrl>example.com</ns2:displayUrl>
<ns2:finalUrls>http://www.example.com</ns2:finalUrls>
<ns2:devicePreference>30001</ns2:devicePreference>
<ns2:headline>Summer things</ns2:headline><ns2:description1>Get things for summer</ns2:description1><ns2:description2>while the prices are low.</ns2:description2></ad>
<status>ENABLED</status>
</operand></operations></mutate></soapenv:Body></soapenv:Envelope>