1.3.1 • Published 1 year ago

@honkandgo/msads v1.3.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

msads

Access Microsoft Ads SOAP API from Node.js.

Install

npm -i @honkandgo/msads

Use

import MicrosoftAdsClient from '@honkandgo/msads'

const msads = new MicrosoftAdsClient({
	clientId: <MS_CLIENT_ID>
	clientSecret: <MS_CLIENT_SECRET>
	developerToken: <MS_DEVELOPER_TOKEN>
	refreshToken: <REFRESH_TOKEN> (optional)
})

const res = await msads.getAccountsInfo()

Passing refreshToken in constructor is optional. You can also pass refreshToken as a parameter to any method

NOTE: If you are seeing strange "internal" errors. Try changing from singleWsdl to wsdl in soap endpoint calls.

Eg. https://clientcenter.api.bingads.microsoft.com/Api/CustomerManagement/v13/CustomerManagementService.svc?singleWsdl

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago