Google-Ads-GoogleAds-Client
view release on metacpan or search on metacpan
lib/Google/Ads/GoogleAds/V24/Services/YouTubeVideoUploadService.pm view on Meta::CPAN
# Copyright 2026, 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
package Google::Ads::GoogleAds::V24::Services::YouTubeVideoUploadService;
use strict;
use warnings;
use base qw(Google::Ads::GoogleAds::BaseService);
sub create {
my $self = shift;
my $request_body = shift;
my $http_method = 'POST';
my $request_path = 'v24/customers/{+customerId}/youTubeVideoUploads:create';
my $response_type =
'Google::Ads::GoogleAds::V24::Services::YouTubeVideoUploadService::CreateYouTubeVideoUploadResponse';
return $self->SUPER::call($http_method, $request_path, $request_body,
$response_type);
}
sub remove {
my $self = shift;
my $request_body = shift;
my $http_method = 'POST';
my $request_path = 'v24/customers/{+customerId}/youTubeVideoUploads:remove';
my $response_type =
'Google::Ads::GoogleAds::V24::Services::YouTubeVideoUploadService::RemoveYouTubeVideoUploadResponse';
return $self->SUPER::call($http_method, $request_path, $request_body,
$response_type);
}
sub update {
my $self = shift;
my $request_body = shift;
my $http_method = 'POST';
my $request_path = 'v24/customers/{+customerId}/youTubeVideoUploads:update';
my $response_type =
'Google::Ads::GoogleAds::V24::Services::YouTubeVideoUploadService::UpdateYouTubeVideoUploadResponse';
return $self->SUPER::call($http_method, $request_path, $request_body,
$response_type);
}
1;
( run in 1.231 second using v1.01-cache-2.11-cpan-98e64b0badf )