Pardot_API::get_campaigns
Returns an array of campaign objects from Pardot's API
The structure of the campaign objects are based on Pardot's API returned XML format captured using PHP's SimpleXML and converted to an array of stdClass objects.
Signature
public function get_campaigns([array
$args = ] )
Parameters
$args
— array- Combined authorization parameters and query arguments.
Returns
- array|bool
- Array of campaign objects, or false if API call failed.