npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

cannot create shopping ads using npm node-adwords library

I tried to create a shopping ad .I am using node-adwords(201802.2.0) library to access adwords services.But getting an error-

Error: soap:Client: Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element

Provided the parameter as advertisingChannelType: ‘SHOPPING’

But getting the below errors:

Error: soap:Client: Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘{“https://adwords.google.com/api/adwords/cm/v201802”:status}’. One of ‘{“https://adwords.google.com/api/adwords/cm/v201802”:advertisingChannelSubType, “https://adwords.google.com/api/adwords/cm/v201802”:networkSetting, “https://adwords.google.com/api/adwords/cm/v201802”:labels,
:biddingStrategyConfiguration,
:campaignTrialType,
:baseCampaignId,
:forwardCompatibilityMap,
trackingUrlTemplate,
:finalUrlSuffix,
:urlCustomParameters,
:vanityPharma,
:selectiveOptimization}’ is expected.