Skip to content

Cannot Pause Keyword using AdGroupCriterionService #94

@arthurkhlghatyan

Description

@arthurkhlghatyan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions