0.0.20241030 • Published 9 months ago

@maxim_mazurok/gapi.client.adexperiencereport-v1 v0.0.20241030

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

TypeScript typings for Ad Experience Report API v1

Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads. For detailed description please check documentation.

Installing

Install typings for Ad Experience Report API:

npm install @types/gapi.client.adexperiencereport-v1 --save-dev

Usage

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://adexperiencereport.googleapis.com/$discovery/rest?version=v1',
  () => {
    // now we can use:
    // gapi.client.adexperiencereport
  }
);
// 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('adexperiencereport', 'v1', () => {
  // now we can use:
  // gapi.client.adexperiencereport
});

After that you can use Ad Experience Report API resources:

/*
Gets a site's Ad Experience Report summary.
*/
await gapi.client.adexperiencereport.sites.get({name: 'name'});

/*
Lists sites that are failing in the Ad Experience Report on at least one platform.
*/
await gapi.client.adexperiencereport.violatingSites.list({});
0.0.20241030

9 months ago

0.0.20241029

10 months ago

0.0.20241028

10 months ago

0.0.20241027

10 months ago

0.0.20241023

10 months ago

0.0.20241022

10 months ago

0.0.20241021

10 months ago

0.0.20241020

10 months ago

0.0.20241016

10 months ago

0.0.20241015

10 months ago

0.0.20241014

10 months ago

0.0.20241013

10 months ago

0.0.20241008

10 months ago

0.0.20241007

10 months ago

0.0.20241009

10 months ago

0.0.20240527

1 year ago

0.0.20240610

1 year ago

0.0.20240520

1 year ago

0.0.20240506

1 year ago

0.0.20240429

1 year ago

0.0.20240422

1 year ago

0.0.20240415

1 year ago

0.0.20240409

1 year ago

0.0.20240408

1 year ago

0.0.20240401

1 year ago

0.0.20240207

2 years ago

0.0.20240205

2 years ago

0.0.20231204

2 years ago

0.0.20230807

2 years ago

0.0.20230904

2 years ago

0.0.20231106

2 years ago

0.0.20231002

2 years ago

0.0.20230508

2 years ago

0.0.20230502

2 years ago

0.0.20230403

2 years ago

0.0.20230206

3 years ago

0.0.20230114

3 years ago

0.0.20221205

3 years ago

0.0.20220715

3 years ago