Querying User Action Set Reports (ad.getUserActionSetReports)

View Markdown

Last edited on 2026-07-04

This API should be called on the server side and must not be called directly on the front end (Mini Program, web pages, APPs, etc.). For details, refer to the API Calling Guide.

Query user action set reports for advertising.

WeChat Ads Documentation: https://ad.weixin.qq.com/guide/457

https://api.weixin.qq.com/marketing/user_action_set_reports/get

Cloud Call Usage Guide

The external documentation may only provide HTTP-style definitions. For cloud calls, the parameters required at invocation are consistent with the HTTP requirements; however, you do not need to pass the access_token. Additionally, all parameters, whether via GET or POST, should simply be passed as fields within the API parameter JS object.

For requests using FormData, if a parameter's type is Buffer, its field should be an object containing the following fields:

Attribute Type Default Value Required Description
contentType string Yes Data type, passing the MIME Type
value Buffer Yes File Buffer

Example

Assume the external documentation requires the POST method and asks for the following parameters:

Attribute Type Location Description
xxx string URL parameter ...
yyy number JSON body ...

The invocation example is as follows:

cloud.openapi.ad.getUserActionSetReports({
  xxx: 'string',
  yyy: 100,
})

Assume the external documentation requires POST FormData and asks for the following parameters:

Attribute Type Location Description
xxx string URL parameter ...
media buffer FormData Image buffer

The invocation example is as follows:

cloud.openapi.ad.getUserActionSetReports({
  xxx: 'string',
  media: {
    contentType: 'image/png',
    value: Buffer
  },
})