-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Hi,
I'm trying to pause AdWords account keyword using AdGroupCriterionService.
Below is the configuration object for the mutate operation.
const operation = {
operator: 'SET',
operand: {
adGroupId: '70223898612',
criterion: {
id: '301140923707',
userStatus: 'PAUSED',
matchType: 'EXACT',
'xsi:type': 'Keyword',
},
},
};
I'm getting an error saying.
body: '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">soap:Bodysoap:Faultsoap:ClientUnmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"https://adwords.google.com/api/adwords/cm/v201809":userStatus}\'. One of '{"https://adwords.google.com/api/adwords/cm/v201809":type, "https://adwords.google.com/api/adwords/cm/v201809":Criterion.Type, "https://adwords.google.com/api/adwords/cm/v201809":text, "https://adwords.google.com/api/adwords/cm/v201809":matchType}\' is expected. </soap:Fault></soap:Body></soap:Envelope>' }
Just can't figure out what's the problem haha, please let me know if you have any thoughts about the issue.
Thanks.