« V23/Resources/CustomLeadFormSubmissionField.pm
↑ Summary
V23/Resources/CustomerAcquisitionGoalSettings.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::V23::Resources::Customer; | ||
| 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 | autoTaggingEnabled => $args->{autoTaggingEnabled}, | ||
| 27 | callReportingSetting => $args->{callReportingSetting}, | ||
| 28 | containsEuPoliticalAdvertising => $args->{containsEuPoliticalAdvertising}, | ||
| 29 | conversionTrackingSetting => $args->{conversionTrackingSetting}, | ||
| 30 | currencyCode => $args->{currencyCode}, | ||
| 31 | customerAgreementSetting => $args->{customerAgreementSetting}, | ||
| 32 | descriptiveName => $args->{descriptiveName}, | ||
| 33 | finalUrlSuffix => $args->{finalUrlSuffix}, | ||
| 34 | hasPartnersBadge => $args->{hasPartnersBadge}, | ||
| 35 | id => $args->{id}, | ||
| 36 | imageAssetAutoMigrationDone => $args->{imageAssetAutoMigrationDone}, | ||
| 37 | imageAssetAutoMigrationDoneDateTime => | ||
| 38 | $args->{imageAssetAutoMigrationDoneDateTime}, | ||
| 39 | localServicesSettings => $args->{localServicesSettings}, | ||
| 40 | locationAssetAutoMigrationDone => $args->{locationAssetAutoMigrationDone}, | ||
| 41 | locationAssetAutoMigrationDoneDateTime => | ||
| 42 | $args->{locationAssetAutoMigrationDoneDateTime}, | ||
| 43 | manager => $args->{manager}, | ||
| 44 | optimizationScore => $args->{optimizationScore}, | ||
| 45 | optimizationScoreWeight => $args->{optimizationScoreWeight}, | ||
| 46 | payPerConversionEligibilityFailureReasons => | ||
| 47 | $args->{payPerConversionEligibilityFailureReasons}, | ||
| 48 | remarketingSetting => $args->{remarketingSetting}, | ||
| 49 | resourceName => $args->{resourceName}, | ||
| 50 | status => $args->{status}, | ||
| 51 | testAccount => $args->{testAccount}, | ||
| 52 | timeZone => $args->{timeZone}, | ||
| 53 | trackingUrlTemplate => $args->{trackingUrlTemplate}, | ||
| 54 | videoBrandSafetySuitability => $args->{videoBrandSafetySuitability}, | ||
| 55 | 0 | videoCustomer => $args->{videoCustomer}}; | |
| 56 | |||
| 57 | # Delete the unassigned fields in this object for a more concise JSON payload | ||
| 58 | 0 | remove_unassigned_fields($self, $args); | |
| 59 | |||
| 60 | 0 | bless $self, $class; | |
| 61 | 0 | return $self; | |
| 62 | } | ||
| 63 | |||
| 64 | 1 | 1; | |