Skip to content

Conversation

TimonKK
Copy link

@TimonKK TimonKK commented Sep 5, 2016

Hello!
I added offline conversion for Google Adwords API:
`
var service = new AdWords.OfflineConversionFeedService(apiConfig);

service.mutateAddList(
apiConfig.clientCustomerId,
rows.map(function (row) {
return new service.Model({
googleClickId : row[0],
conversionName : 'registration_test',
conversionTime : row[2] + ' Europe/Moscow',
conversionValue : row[3] ? parseInt(row[3], 10) : 0,
conversionCurrencyCode : row[4] ? row[4] : 'USD'
});
}),
function(err, results) {
console.log('err', err);
console.log('results', results);
}
);
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant