Socket
Socket
Sign inDemoInstall

@honkandgo/msads

Package Overview
Dependencies
70
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @honkandgo/msads

Access Microsoft Ads SOAP API from Node.js.


Version published
Weekly downloads
4
decreased by-66.67%
Maintainers
4
Install size
8.49 MB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 17 Jan 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc