Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@honkandgo/msads

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@honkandgo/msads

Access Microsoft Ads SOAP API from Node.js.

  • 1.3.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-96.97%
Maintainers
0
Weekly downloads
 
Created
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

Package last updated on 24 Oct 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc