
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@maxim_mazurok/gapi.client.adexchangebuyer2-v2beta1
Advanced tools
TypeScript typings for Ad Exchange Buyer API II v2beta1
Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals. For detailed description please check documentation.
Install typings for Ad Exchange Buyer API II:
npm install @types/gapi.client.adexchangebuyer2-v2beta1 --save-dev
You need to initialize Google API client in your code:
gapi.load('client', () => {
// now we can use gapi.client
// ...
});
Then load api client wrapper:
gapi.client.load(
'https://adexchangebuyer.googleapis.com/$discovery/rest?version=v2beta1',
() => {
// now we can use:
// gapi.client.adexchangebuyer2
},
);
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
gapi.client.load('adexchangebuyer2', 'v2beta1', () => {
// now we can use:
// gapi.client.adexchangebuyer2
});
Don't forget to authenticate your client before sending any request to resources:
// declare client_id registered in Google Developers Console
var client_id = '',
scope = [
// Manage your Ad Exchange buyer account configuration
'https://www.googleapis.com/auth/adexchange.buyer',
],
immediate = true;
// ...
gapi.auth.authorize(
{client_id: client_id, scope: scope, immediate: immediate},
authResult => {
if (authResult && !authResult.error) {
/* handle successful authorization */
} else {
/* handle authorization error */
}
},
);
After that you can use Ad Exchange Buyer API II resources:
For provenance information see Provenance section on NPM
FAQs
TypeScript typings for Ad Exchange Buyer API II v2beta1
We found that @maxim_mazurok/gapi.client.adexchangebuyer2-v2beta1 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies