Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OfflineConversionFeedService for offline import of conversion #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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