I have been trying to create FeedItem from API using nodejs node-adwords module.I am getting 'Maximum callstack size exceeded ' error as it seems the format of feed item is wrong. can someone pls point me a correct format for feed item. below is the code that i am trying to create.
let feedItem = {
feedId:55897084,
status: 'ENABLED',
attributeValues: [{feedAttributeId: 1,stringValue:"property_name"},{feedAttributeId:2,stringValues:["http://mywebsite.com"]] };
let feedOperation = {
operator: 'ADD',
operand: feedItem
};
try {
feedItemService.mutate({operations:[feedOperation]}, (error, Result) => {
console.log("done");
console.log(Result);
});
}catch(err){
console.log(err);
}