Get campaigns
From TMM Wiki
Jump to navigationJump to searchget_campaigns
Retrieve all campaigns for a given account.
- array get_campaigns(integer loginid)
Builds an array of all campaigns account loginid has setup. The Default campaign is shown first; the other campaigns are added in alphabetical order.
Return Value
get_campaigns returns an array in the following form:
{ campaignid => campaign name ... }