maton linkedin campaign list
maton linkedin campaign list [flags]
List campaigns under an ad account by numeric ID. Resolves to the LinkedIn REST path /rest/adAccounts/{id}/adCampaigns.
Options
-
--account-id <string> - Numeric ad account ID (required)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-L,--limit <int> (default 10)- Number of results per page
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--start <int> (default 0) - Start index for pagination
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton linkedin campaign list --account-id 123456789
$ maton linkedin campaigns list --account-id 123456789 --limit 50 --paginate