Apple Search Ads SDK
Unofficial Apple Search Ads SDK for Node
Installation
With NPM:
npm install apple-search-ads
or with Yarn
yarn add apple-search-ads
Usage
This module is designed to be easily updatable and match Apple's API paths and built on top of axios.
You'll need the following to get started:
- Certificate – it can be created and downloaded here: https://app.searchads.apple.com/cm/app/settings/apicertificates
- Company/Account name – it can be found here: https://app.searchads.apple.com/cm/app/settings/overview (Legal Name).
Note that the SDK supports you passing a file path for the certificates, or passing a buffer of them.
Examples
const AppleSearchAds = ; let sdk = certificate: pem: './certs/pemCert.pem' // also accepts a Buffer with the cert key: './certs/keyCert.key' // also accept Buffer with the key account: 'Account Name' version: 'v1' // optional; let report = await sdkreportscampaigns; consoleconsole; let campaigns = await sdk consoleconsole
Support
The following endpoints namespaces are supported:
License
MIT