Skip to content

/AWS1/CL_PZZ=>LISTCAMPAIGNS()

About ListCampaigns

Returns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see CreateCampaign.

Method Signature

IMPORTING

Optional arguments:

IV_SOLUTIONARN TYPE /AWS1/PZZARN /AWS1/PZZARN

The Amazon Resource Name (ARN) of the solution to list the campaigns for. When a solution is not specified, all the campaigns associated with the account are listed.

IV_NEXTTOKEN TYPE /AWS1/PZZNEXTTOKEN /AWS1/PZZNEXTTOKEN

A token returned from the previous call to ListCampaigns for getting the next set of campaigns (if they exist).

IV_MAXRESULTS TYPE /AWS1/PZZMAXRESULTS /AWS1/PZZMAXRESULTS

The maximum number of campaigns to return.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PZZLISTCAMPAIGNSRSP /AWS1/CL_PZZLISTCAMPAIGNSRSP