Google Adwords API FeedItem Creation Correct Format for FeedItem Object

18 views
Skip to first unread message

Nay Lin Aung

unread,
Jul 18, 2017, 3:02:43 PM7/18/17
to AdWords API Forum

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);
        }



Shwetha Vastrad (AdWords API Team)

unread,
Jul 18, 2017, 4:08:08 PM7/18/17
to AdWords API Forum
Hi, 

I'm afraid node-adwords module is not one of the officially supported AdWords API client libraries. Since this error is specific to the node-adwords module, I suggest that you create a new thread on the library's issue tracker so the library owners can help you out. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages