Google-Ads-GoogleAds-Client

 view release on metacpan or  search on metacpan

lib/Google/Ads/GoogleAds/V23/Services/ProductLinkInvitationService.pm  view on Meta::CPAN

# 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
#
#     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::V23::Services::ProductLinkInvitationService;

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 =
    'v23/customers/{+customerId}/productLinkInvitations:create';
  my $response_type =
'Google::Ads::GoogleAds::V23::Services::ProductLinkInvitationService::CreateProductLinkInvitationResponse';

  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 =
    'v23/customers/{+customerId}/productLinkInvitations:remove';
  my $response_type =
'Google::Ads::GoogleAds::V23::Services::ProductLinkInvitationService::RemoveProductLinkInvitationResponse';

  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 =
    'v23/customers/{+customerId}/productLinkInvitations:update';
  my $response_type =
'Google::Ads::GoogleAds::V23::Services::ProductLinkInvitationService::UpdateProductLinkInvitationResponse';

  return $self->SUPER::call($http_method, $request_path, $request_body,
    $response_type);
}

1;



( run in 0.738 second using v1.01-cache-2.11-cpan-98e64b0badf )