my $report = { 'name' => 'test', 'aggregationType' => 'Summary', 'startDate' => $startDate, 'endDate' => $endDate, 'campaigns' => 5214135, 'customOptions' => ['AveragePosition', 'Clicks', 'Cpc', 'Keyword', 'AdGroupId'], }; my $req = SOAP::Data->name("customReportJob", $report); $req->attr( { 'xsi:type' => 'impl:CustomReportJob', 'xmlns:impl' => $namespace } ); my $jobId = $service->scheduleReportJob($req, @headers);