目录

Implementation Process

No.

Step

Description

1

Obtaining the Client ID and Key

On the HUAWEI Developers console, add and enable the Publisher Service Reporting API, and obtain the credentials, that is, a pair of client ID and key.

NOTE:
  • A client is a software system that obtains data through the Publisher Service Reporting API.
  • Each client ID corresponds to a key, and a pair of client ID and key can be used to obtain an access token later.

2

Calling the Publisher Service Reporting API

Use the client ID and key to apply for an access token for calling the API.

NOTE:

An access token is a credential for the server to perform request authentication during API call. The default validity period of each access token is 1 hour. Once an access token expires, you need to obtain a new one. Use the /oauth2/v3/token API to obtain an access token.

3

Obtaining Publisher Service Report Data

Obtain publisher service report data.

When you do not need to obtain Publisher Service report data any more, you can disable this API.