« V24/Services/RecommendationService/AdGroupInfo.pm
↑ Summary
V24/Services/RecommendationService/ApplyRecommendationRequest.pm »
| 1 | # Copyright 2026, Google LLC | ||
| 2 | # | ||
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 4 | # you may not use this file except in compliance with the License. | ||
| 5 | # You may obtain a copy of the License at | ||
| 6 | # | ||
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | # | ||
| 9 | # Unless required by applicable law or agreed to in writing, software | ||
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 12 | # See the License for the specific language governing permissions and | ||
| 13 | # limitations under the License. | ||
| 14 | |||
| 15 | package Google::Ads::GoogleAds::V24::Services::RecommendationService::ApplyRecommendationOperation; | ||
| 16 | |||
| 17 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use base qw(Google::Ads::GoogleAds::BaseEntity); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | ▶ | use Google::Ads::GoogleAds::Utils::GoogleAdsHelper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 24 | 0 | my ($class, $args) = @_; | |
| 25 | my $self = { | ||
| 26 | callAsset => $args->{callAsset}, | ||
| 27 | callExtension => $args->{callExtension}, | ||
| 28 | calloutAsset => $args->{calloutAsset}, | ||
| 29 | calloutExtension => $args->{calloutExtension}, | ||
| 30 | campaignBudget => $args->{campaignBudget}, | ||
| 31 | forecastingSetTargetCpa => $args->{forecastingSetTargetCpa}, | ||
| 32 | forecastingSetTargetRoas => $args->{forecastingSetTargetRoas}, | ||
| 33 | keyword => $args->{keyword}, | ||
| 34 | leadFormAsset => $args->{leadFormAsset}, | ||
| 35 | lowerTargetRoas => $args->{lowerTargetRoas}, | ||
| 36 | moveUnusedBudget => $args->{moveUnusedBudget}, | ||
| 37 | raiseTargetCpa => $args->{raiseTargetCpa}, | ||
| 38 | raiseTargetCpaBidTooLow => $args->{raiseTargetCpaBidTooLow}, | ||
| 39 | resourceName => $args->{resourceName}, | ||
| 40 | responsiveSearchAd => $args->{responsiveSearchAd}, | ||
| 41 | responsiveSearchAdAsset => $args->{responsiveSearchAdAsset}, | ||
| 42 | responsiveSearchAdImproveAdStrength => | ||
| 43 | $args->{responsiveSearchAdImproveAdStrength}, | ||
| 44 | setTargetCpa => $args->{setTargetCpa}, | ||
| 45 | setTargetRoas => $args->{setTargetRoas}, | ||
| 46 | sitelinkAsset => $args->{sitelinkAsset}, | ||
| 47 | sitelinkExtension => $args->{sitelinkExtension}, | ||
| 48 | targetCpaOptIn => $args->{targetCpaOptIn}, | ||
| 49 | targetRoasOptIn => $args->{targetRoasOptIn}, | ||
| 50 | textAd => $args->{textAd}, | ||
| 51 | 0 | useBroadMatchKeyword => $args->{useBroadMatchKeyword}}; | |
| 52 | |||
| 53 | # Delete the unassigned fields in this object for a more concise JSON payload | ||
| 54 | 0 | remove_unassigned_fields($self, $args); | |
| 55 | |||
| 56 | 0 | bless $self, $class; | |
| 57 | 0 | return $self; | |
| 58 | } | ||
| 59 | |||
| 60 | 1 | 1; | |