The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
use strict;
sub add_operations {
my $self = shift;
my $request_body = shift;
my $http_method = 'POST';
my $request_path = 'v19/{+resourceName}:addOperations';
my $response_type =
'Google::Ads::GoogleAds::V19::Services::BatchJobService::AddBatchJobOperationsResponse';
return $self->SUPER::call($http_method, $request_path, $request_body,
$response_type);
}
sub list_results {
my $self = shift;
my $request_body = shift;
my $http_method = 'GET';
my $request_path = 'v19/{+resourceName}:listResults';
my $response_type =
'Google::Ads::GoogleAds::V19::Services::BatchJobService::ListBatchJobResultsResponse';
return $self->SUPER::call($http_method, $request_path, $request_body,
$response_type);
}
sub mutate {
my $self = shift;
my $request_body = shift;
my $http_method = 'POST';
my $request_path = 'v19/customers/{+customerId}/batchJobs:mutate';
my $response_type =
'Google::Ads::GoogleAds::V19::Services::BatchJobService::MutateBatchJobResponse';
return $self->SUPER::call($http_method, $request_path, $request_body,
$response_type);
}
sub run {
my $self = shift;
my $request_body = shift;
my $http_method = 'POST';
my $request_path = 'v19/{+resourceName}:run';
my $response_type = 'Google::Ads::GoogleAds::LongRunning::Operation';
return $self->SUPER::call($http_method, $request_path, $request_body,
$response_type);
}
1;