<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFIN New ActiveDisclosure (SM) XBRL Linkbase Document - http://www.dfinsolutions.com/ -->
<!-- Creation Date :2022-08-04T10:53:49.6470+00:00 -->
<!-- Copyright (c) 2022 Donnelly Financial Solutions, Inc. All Rights Reserved. -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTotalLabel" xlink:type="simple"/>
  <link:labelLink xlink:role="http://www.xbrl.org/2003/role/link" xlink:title="labelLink" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressCityOrTown" xlink:label="dei_EntityAddressCityOrTown"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTextBlock" xlink:label="us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2022/country-2022.xsd#country_FR" xlink:label="country_FR"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="us-gaap_FairValueDisclosuresAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock" xlink:label="us-gaap_ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage" xlink:label="us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="us-gaap_EarningsPerShareAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_APIGroupDEIncorporationMember" xlink:label="apg_APIGroupDEIncorporationMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AnnualDividendSharesPreferredStock" xlink:label="apg_AnnualDividendSharesPreferredStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="us-gaap_FairValueInputsLevel1Member"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseOptionToTerminate" xlink:label="us-gaap_LesseeOperatingLeaseOptionToTerminate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DomesticCountryMember" xlink:label="us-gaap_DomesticCountryMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_WeightedAverageRemainingLeaseTermAbstract" xlink:label="apg_WeightedAverageRemainingLeaseTermAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CrossCurrencyInterestRateContractMember" xlink:label="us-gaap_CrossCurrencyInterestRateContractMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition" xlink:label="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:label="us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PerformanceStockUnitsPsusMember" xlink:label="apg_PerformanceStockUnitsPsusMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DividendAttributableToPreferredStock" xlink:label="apg_DividendAttributableToPreferredStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit" xlink:label="us-gaap_LineOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NumberOfSharesUsedToCalculateAnnualDividend" xlink:label="apg_NumberOfSharesUsedToCalculateAnnualDividend"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SpecialtyContractingMember" xlink:label="apg_SpecialtyContractingMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_AmendmentFlag" xlink:label="dei_AmendmentFlag"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityInterestRateDuringPeriod" xlink:label="us-gaap_LineOfCreditFacilityInterestRateDuringPeriod"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_CommonStockSharesPurchasedByUnderwriters" xlink:label="apg_CommonStockSharesPurchasedByUnderwriters"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="us-gaap_OperatingLossCarryforwardsTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfSalesMember" xlink:label="us-gaap_CostOfSalesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill" xlink:label="us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:label="us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock" xlink:label="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FixedIncomeSecuritiesMember" xlink:label="us-gaap_FixedIncomeSecuritiesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:label="us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentQuarterlyReport" xlink:label="dei_DocumentQuarterlyReport"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedTranslationAdjustmentMember" xlink:label="us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ContractualBacklogMember" xlink:label="apg_ContractualBacklogMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockNoParValue" xlink:label="us-gaap_PreferredStockNoParValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermDebtLineItems" xlink:label="us-gaap_ShortTermDebtLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:label="us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_JointVenturesMember" xlink:label="apg_JointVenturesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingLossCarryforwardsExpirationYear" xlink:label="apg_OperatingLossCarryforwardsExpirationYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure" xlink:label="apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="us-gaap_NumberOfOperatingSegments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="us-gaap_LondonInterbankOfferedRateLIBORMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNoncurrentLiabilitiesMember" xlink:label="us-gaap_OtherNoncurrentLiabilitiesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="us-gaap_PreferredStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="us-gaap_BusinessAcquisitionAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="us-gaap_MachineryAndEquipmentMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCharges" xlink:label="us-gaap_RestructuringCharges"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockNoParValue" xlink:label="us-gaap_CommonStockNoParValue"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_LesseeOperatingAndFinancingLeasesTextBlock" xlink:label="apg_LesseeOperatingAndFinancingLeasesTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="us-gaap_SeriesBPreferredStockMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustments" xlink:label="us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NatureOfOperations" xlink:label="us-gaap_NatureOfOperations"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock" xlink:label="apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationDisclosureTextBlock" xlink:label="us-gaap_BusinessCombinationDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="us-gaap_IncomeTaxAuthorityDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountingStandardsUpdate201912Member" xlink:label="us-gaap_AccountingStandardsUpdate201912Member"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="us-gaap_HedgingRelationshipDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis" xlink:label="srt_ProductOrServiceAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeStockMember" xlink:label="us-gaap_EmployeeStockMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NumberOfCountriesExpandingOperations" xlink:label="apg_NumberOfCountriesExpandingOperations"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xlink:label="us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired" xlink:label="us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SpecialtyServicesMember" xlink:label="apg_SpecialtyServicesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="us-gaap_DisposalGroupClassificationDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="us-gaap_EmployeeStockOptionMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableRelatedParties" xlink:label="us-gaap_AccountsReceivableRelatedParties"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent" xlink:label="us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityMethodInvestmentsPolicy" xlink:label="us-gaap_EquityMethodInvestmentsPolicy"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan" xlink:label="us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan" xlink:label="us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="dei_EntityIncorporationStateCountryCode"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementAbstract" xlink:label="us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwoThousandTwentyTermLoanMember" xlink:label="apg_TwoThousandTwentyTermLoanMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock" xlink:label="us-gaap_ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLiabilities" xlink:label="us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent" xlink:label="us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerAssetNetCurrent" xlink:label="us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="us-gaap_OperatingLossCarryforwards"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="us-gaap_EarningsPerShareBasicLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="us-gaap_CashAcquiredFromAcquisition"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NumberOfCountries" xlink:label="apg_NumberOfCountries"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense" xlink:label="us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradeNamesMember" xlink:label="us-gaap_TradeNamesMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PlusAbstract" xlink:label="apg_PlusAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock" xlink:label="us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessAcquisitionOtherAdjustments" xlink:label="apg_BusinessAcquisitionOtherAdjustments"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PercentageOfIncreaseInWeightedAverageMarketPrice" xlink:label="apg_PercentageOfIncreaseInWeightedAverageMarketPrice"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability" xlink:label="us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="us-gaap_USTreasuryAndGovernmentMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember" xlink:label="apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPreferredStock" xlink:label="us-gaap_DividendsPreferredStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="us-gaap_PreferredStockSharesAuthorized"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessAcquisitionTransactionCosts" xlink:label="apg_BusinessAcquisitionTransactionCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockLiquidationPreference" xlink:label="us-gaap_PreferredStockLiquidationPreference"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssets" xlink:label="us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="srt_EquityMethodInvesteeNameDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOrSaleOfEquity" xlink:label="us-gaap_ProceedsFromIssuanceOrSaleOfEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateAxis" xlink:label="us-gaap_VariableRateAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntitySmallBusiness" xlink:label="dei_EntitySmallBusiness"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfReportableSegments" xlink:label="us-gaap_NumberOfReportableSegments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TypeOfArrangementAxis" xlink:label="us-gaap_TypeOfArrangementAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringAndRelatedActivitiesAbstract" xlink:label="us-gaap_RestructuringAndRelatedActivitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountingStandardsUpdate202001Member" xlink:label="us-gaap_AccountingStandardsUpdate202001Member"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringReserve" xlink:label="us-gaap_RestructuringReserve"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract" xlink:label="us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_CorporateAndEliminationsMember" xlink:label="apg_CorporateAndEliminationsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:label="us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent" xlink:label="us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock" xlink:label="us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TrademarksAndTradeNamesMember" xlink:label="us-gaap_TrademarksAndTradeNamesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShortTermDebtTable" xlink:label="us-gaap_ScheduleOfShortTermDebtTable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xlink:label="us-gaap_OtherNoncurrentLiabilitiesTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiability" xlink:label="us-gaap_FinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_CityAreaCode" xlink:label="dei_CityAreaCode"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" xlink:label="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" xlink:label="us-gaap_ScheduleOfNetBenefitCostsTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNoteTextBlock" xlink:label="us-gaap_ComprehensiveIncomeNoteTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockLiquidationPreferenceValue" xlink:label="us-gaap_PreferredStockLiquidationPreferenceValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsAndHedgesLiabilitiesNoncurrent" xlink:label="us-gaap_DerivativeInstrumentsAndHedgesLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentPeriodEndDate" xlink:label="dei_DocumentPeriodEndDate"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants" xlink:label="apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock" xlink:label="apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerAsset" xlink:label="us-gaap_IncreaseDecreaseInContractWithCustomerAsset"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock" xlink:label="apg_ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationAccruedConsiderationPaidOutPeriod" xlink:label="apg_BusinessCombinationAccruedConsiderationPaidOutPeriod"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ReductionInInterestExpense" xlink:label="apg_ReductionInInterestExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPayableDateDeclaredDayMonthAndYear" xlink:label="us-gaap_DividendsPayableDateDeclaredDayMonthAndYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis" xlink:label="srt_RangeAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SeriesAPreferredSharesMember" xlink:label="apg_SeriesAPreferredSharesMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_InsuranceReservesNonCurrent" xlink:label="apg_InsuranceReservesNonCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_LiabilityForDeferredPaymentsRecognitionPeriod" xlink:label="apg_LiabilityForDeferredPaymentsRecognitionPeriod"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCosts" xlink:label="us-gaap_RestructuringCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VehiclesMember" xlink:label="us-gaap_VehiclesMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits" xlink:label="apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PensionAndPostRetirementLiabilitiesNonCurrent" xlink:label="apg_PensionAndPostRetirementLiabilitiesNonCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:label="us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="us-gaap_DerivativeContractTypeDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsDue" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="us-gaap_StateAndLocalJurisdictionMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="us-gaap_RetirementPlanTypeAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_LifeSafetyMember" xlink:label="apg_LifeSafetyMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDiscontinuedOperationsMember" xlink:label="us-gaap_SegmentDiscontinuedOperationsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressPostalZipCode" xlink:label="dei_EntityAddressPostalZipCode"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="dei_DocumentFiscalPeriodFocus"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedCash" xlink:label="us-gaap_RestrictedCash"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OfficeEquipmentMember" xlink:label="us-gaap_OfficeEquipmentMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_WeightedAveragePriceOfCommonStock" xlink:label="apg_WeightedAveragePriceOfCommonStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="us-gaap_RevolvingCreditFacilityMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockValue" xlink:label="us-gaap_PreferredStockValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyPendingClaimsNumber" xlink:label="us-gaap_LossContingencyPendingClaimsNumber"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_LineOfCreditNetOfLettersOfCreditOutstanding" xlink:label="apg_LineOfCreditNetOfLettersOfCreditOutstanding"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="us-gaap_InvestmentIncomeInterest"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_FabricationMember" xlink:label="apg_FabricationMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiability" xlink:label="us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NotesPayable" xlink:label="us-gaap_NotesPayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="us-gaap_StatementOfFinancialPositionAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_WeightedAverageDiscountRateAbstract" xlink:label="apg_WeightedAverageDiscountRateAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupClassificationAxis" xlink:label="us-gaap_DisposalGroupClassificationAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityFileNumber" xlink:label="dei_EntityFileNumber"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain" xlink:label="srt_ScenarioUnspecifiedDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:label="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="us-gaap_StatementOfCashFlowsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NonServicePensionBenefit" xlink:label="apg_NonServicePensionBenefit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SegmentGeographicalDomain" xlink:label="srt_SegmentGeographicalDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherOperatingIncomeExpenseNet" xlink:label="us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember" xlink:label="srt_RangeMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementOfStockholdersEquityAbstract" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain" xlink:label="us-gaap_ClassOfStockDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConversionOfStockSharesIssued1" xlink:label="us-gaap_ConversionOfStockSharesIssued1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="us-gaap_SubsequentEventsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueDisclosuresTextBlock" xlink:label="us-gaap_FairValueDisclosuresTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="us-gaap_LongtermDebtTypeAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccruedTaxesPayable" xlink:label="us-gaap_IncreaseDecreaseInAccruedTaxesPayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2022/currency-2022.xsd#currency_EUR" xlink:label="currency_EUR"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeasesLiabilityCurrent" xlink:label="apg_OperatingAndFinanceLeasesLiabilityCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetRetirementObligationsNoncurrent" xlink:label="us-gaap_AssetRetirementObligationsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TimeBasedRestrictedStockUnitsMember" xlink:label="apg_TimeBasedRestrictedStockUnitsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TemporaryEquityAbstract" xlink:label="us-gaap_TemporaryEquityAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementPlansPensionsPolicy" xlink:label="us-gaap_PensionAndOtherPostretirementPlansPensionsPolicy"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent" xlink:label="us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="us-gaap_LossContingencyNatureDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:label="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MultiemployerPlansLineItems" xlink:label="us-gaap_MultiemployerPlansLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonmonetaryTransactionTypeDomain" xlink:label="us-gaap_NonmonetaryTransactionTypeDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain" xlink:label="us-gaap_CreditFacilityDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventsTextBlock" xlink:label="us-gaap_SubsequentEventsTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfMultiemployerPlansTable" xlink:label="us-gaap_ScheduleOfMultiemployerPlansTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NondesignatedMember" xlink:label="us-gaap_NondesignatedMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis" xlink:label="us-gaap_CreditFacilityAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="us-gaap_CorporateDebtSecuritiesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NumberOfLocationsInWhichEntityOperates" xlink:label="apg_NumberOfLocationsInWhichEntityOperates"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired" xlink:label="apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember" xlink:label="apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_CurrentFiscalYearEndDate" xlink:label="dei_CurrentFiscalYearEndDate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember" xlink:label="us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Depreciation" xlink:label="us-gaap_Depreciation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeMaturityDates" xlink:label="us-gaap_DerivativeMaturityDates"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SeriesBPreferredSharesMember" xlink:label="apg_SeriesBPreferredSharesMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NumberOfCountriesOfSignificantBusinessOperations1" xlink:label="apg_NumberOfCountriesOfSignificantBusinessOperations1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2022/currency-2022.xsd#currency_CAD" xlink:label="currency_CAD"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressAddressLine1" xlink:label="dei_EntityAddressAddressLine1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="us-gaap_RepaymentsOfLongTermDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable" xlink:label="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="us-gaap_SupplementalCashFlowInformationAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted" xlink:label="apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AccountsReceivableIncludesRetentionsReceivable" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPreferredStockStock" xlink:label="us-gaap_DividendsPreferredStockStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityAbstract" xlink:label="us-gaap_LineOfCreditFacilityAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation" xlink:label="us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NoncashLeaseExpense" xlink:label="apg_NoncashLeaseExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeniorNotesMember" xlink:label="us-gaap_SeniorNotesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract" xlink:label="us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="us-gaap_PreferredStockSharesIssued"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="us-gaap_BalanceSheetLocationDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems" xlink:label="us-gaap_SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="us-gaap_ForeignExchangeContractMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherSundryLiabilitiesNoncurrent" xlink:label="us-gaap_OtherSundryLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligation" xlink:label="us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="us-gaap_LineOfCreditFacilityTable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses" xlink:label="apg_InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_FourPointOneTwoFivePercentageSeniorNotesMember" xlink:label="apg_FourPointOneTwoFivePercentageSeniorNotesMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_HeatingVentilationAndAirConditioningMember" xlink:label="apg_HeatingVentilationAndAirConditioningMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AcquisitionOfConstructionEquipmentAndVehiclesMember" xlink:label="apg_AcquisitionOfConstructionEquipmentAndVehiclesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount" xlink:label="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_CurrencyAxis" xlink:label="srt_CurrencyAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityAbstract" xlink:label="us-gaap_EquityAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AppreciationOfSharePrice" xlink:label="apg_AppreciationOfSharePrice"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss" xlink:label="us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SharePriceBasedRestrictedStockUnitsMember" xlink:label="apg_SharePriceBasedRestrictedStockUnitsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BuildingMember" xlink:label="us-gaap_BuildingMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseOptionToExtend" xlink:label="us-gaap_LesseeOperatingLeaseOptionToExtend"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyDomain" xlink:label="us-gaap_RelatedPartyDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent" xlink:label="us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DividendAttributableToPreferredStockDiluted" xlink:label="apg_DividendAttributableToPreferredStockDiluted"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis" xlink:label="srt_StatementScenarioAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ProfitSharingPlanMember" xlink:label="apg_ProfitSharingPlanMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwoThousandAndTwentyAcquisitionsMember" xlink:label="apg_TwoThousandAndTwentyAcquisitionsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityFilerCategory" xlink:label="dei_EntityFilerCategory"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonmonetaryTransactionTypeAxis" xlink:label="us-gaap_NonmonetaryTransactionTypeAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringPlanDomain" xlink:label="us-gaap_RestructuringPlanDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="us-gaap_PreferredStockDividendsIncomeStatementImpact"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityCurrentReportingStatus" xlink:label="dei_EntityCurrentReportingStatus"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss" xlink:label="us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet" xlink:label="us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConversionOfStockNameDomain" xlink:label="us-gaap_ConversionOfStockNameDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_AmericasMember" xlink:label="srt_AmericasMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwoThousandTwentyOneTermLoanMember" xlink:label="apg_TwoThousandTwentyOneTermLoanMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization" xlink:label="apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsMember" xlink:label="us-gaap_OtherAssetsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="us-gaap_BusinessCombinationsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareDilutedAbstract" xlink:label="us-gaap_EarningsPerShareDilutedAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BaseRateMember" xlink:label="us-gaap_BaseRateMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityTaxIdentificationNumber" xlink:label="dei_EntityTaxIdentificationNumber"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OtherTwoThousandAndTwentyOneAcquisitionsMember" xlink:label="apg_OtherTwoThousandAndTwentyOneAcquisitionsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="us-gaap_IncomeStatementLocationAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FixedIncomeInterestRateMember" xlink:label="us-gaap_FixedIncomeInterestRateMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SecuredDebt" xlink:label="us-gaap_SecuredDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationAbstract" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquipmentMember" xlink:label="us-gaap_EquipmentMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="us-gaap_StatementEquityComponentsAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="srt_ConsolidatedEntitiesDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringReserveTranslationAndOtherAdjustment" xlink:label="us-gaap_RestructuringReserveTranslationAndOtherAdjustment"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesDisclosureTextBlock" xlink:label="us-gaap_OtherLiabilitiesDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="us-gaap_TypeOfAdoptionMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_MarketBasedRestrictedStockUnitsMember" xlink:label="apg_MarketBasedRestrictedStockUnitsMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PaymentOfInvoices" xlink:label="apg_PaymentOfInvoices"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredFinanceCostsGross" xlink:label="us-gaap_DeferredFinanceCostsGross"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_MaximumValueOfCommonStockPurchasedDuringPeriod" xlink:label="apg_MaximumValueOfCommonStockPurchasedDuringPeriod"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeasesAbstract" xlink:label="us-gaap_LeasesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="us-gaap_CustomerRelationshipsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="us-gaap_DisaggregationOfRevenueTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AdjustmentOfCumulativeAmortizationExpenseReversed" xlink:label="apg_AdjustmentOfCumulativeAmortizationExpenseReversed"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable" xlink:label="apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityEmergingGrowthCompany" xlink:label="dei_EntityEmergingGrowthCompany"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OtherCountriesMember" xlink:label="apg_OtherCountriesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ContingentConsiderationObligationsMember" xlink:label="apg_ContingentConsiderationObligationsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementBenefitContributions" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitContributions"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock" xlink:label="apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillLineItems" xlink:label="us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="us-gaap_RetirementPlanTypeDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtPercentageBearingVariableInterestRate" xlink:label="us-gaap_LongTermDebtPercentageBearingVariableInterestRate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="us-gaap_PlanAssetCategoriesDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="us-gaap_ScheduleOfStockByClassTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfRevenue" xlink:label="us-gaap_CostOfRevenue"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent" xlink:label="apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss" xlink:label="us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal" xlink:label="us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_RoyalOakEnterprisesMember" xlink:label="apg_RoyalOakEnterprisesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:label="us-gaap_CompensationAndRetirementDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentTransitionReport" xlink:label="dei_DocumentTransitionReport"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction" xlink:label="us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TaxAdjustmentsSettlementsAndUnusualProvisions" xlink:label="us-gaap_TaxAdjustmentsSettlementsAndUnusualProvisions"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:label="us-gaap_LineOfCreditFacilityInterestRateDescription"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_EnvironmentalLiabilitiesOutstanding" xlink:label="apg_EnvironmentalLiabilitiesOutstanding"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xlink:label="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumNumberOfSharesPerEmployee" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumNumberOfSharesPerEmployee"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract" xlink:label="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes" xlink:label="us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="dei_EntityCommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_CorporateAndEliminationMember" xlink:label="apg_CorporateAndEliminationMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock" xlink:label="us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract" xlink:label="us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent" xlink:label="us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_EnvironmentalReservesNonCurrent" xlink:label="apg_EnvironmentalReservesNonCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwoThousandTwentyTwoAcquisitionMember" xlink:label="apg_TwoThousandTwentyTwoAcquisitionMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="us-gaap_AdditionalPaidInCapitalMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockDividendRatePercentage" xlink:label="us-gaap_PreferredStockDividendRatePercentage"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock" xlink:label="us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock" xlink:label="us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringPlanAxis" xlink:label="us-gaap_RestructuringPlanAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityRegistrantName" xlink:label="dei_EntityRegistrantName"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockValueAcquiredParValueMethod" xlink:label="us-gaap_TreasuryStockValueAcquiredParValueMethod"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyNumberOfDefendants" xlink:label="us-gaap_LossContingencyNumberOfDefendants"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="us-gaap_EarningsPerShareTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="us-gaap_StatementClassOfStockAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="us-gaap_LesseeLeaseDescriptionTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation" xlink:label="us-gaap_ShareBasedCompensation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherContractMember" xlink:label="us-gaap_OtherContractMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:label="us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_MechanicalMember" xlink:label="apg_MechanicalMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_Security12bTitle" xlink:label="dei_Security12bTitle"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_OwnershipDomain" xlink:label="srt_OwnershipDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockMember" xlink:label="us-gaap_CommonStockMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeNotionalAmount" xlink:label="us-gaap_DerivativeNotionalAmount"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" xlink:label="us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain" xlink:label="us-gaap_EquityComponentDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure" xlink:label="us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xlink:label="us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_LossContingencyNumberOfCasesNamedAsDefendants" xlink:label="apg_LossContingencyNumberOfCasesNamedAsDefendants"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressStateOrProvince" xlink:label="dei_EntityAddressStateOrProvince"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ShareOfCommonStockIssuedToProfitSharingPlan" xlink:label="apg_ShareOfCommonStockIssuedToProfitSharingPlan"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementGeographicalAxis" xlink:label="srt_StatementGeographicalAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OtherObligationsMember" xlink:label="apg_OtherObligationsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentType" xlink:label="dei_DocumentType"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestPaidNet" xlink:label="us-gaap_InterestPaidNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="us-gaap_BusinessAcquisitionProFormaInformationTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityShellCompany" xlink:label="dei_EntityShellCompany"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CurrencySwapMember" xlink:label="us-gaap_CurrencySwapMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="us-gaap_IncreaseDecreaseInInventories"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ExtendedMaturityDate" xlink:label="apg_ExtendedMaturityDate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsNoncurrent" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesLineItems" xlink:label="us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_SecurityExchangeName" xlink:label="dei_SecurityExchangeName"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_IncreaseDecreaseInPensionContribution" xlink:label="apg_IncreaseDecreaseInPensionContribution"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeFixedInterestRate" xlink:label="us-gaap_DerivativeFixedInterestRate"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SafetyServicesMember" xlink:label="apg_SafetyServicesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockLineItems" xlink:label="us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_VikingPurchasersMember" xlink:label="apg_VikingPurchasersMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment" xlink:label="apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPensionPlanAssets" xlink:label="apg_DefinedBenefitPensionPlanAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsRemainderOfFiscalYear" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsRemainderOfFiscalYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable" xlink:label="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract" xlink:label="us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConsolidationPolicyTextBlock" xlink:label="us-gaap_ConsolidationPolicyTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DepreciationExpenseNetOfReversal" xlink:label="apg_DepreciationExpenseNetOfReversal"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationContingentCompensation" xlink:label="apg_BusinessCombinationContingentCompensation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwoThousandAndTwentyOneAcquisitionsMember" xlink:label="apg_TwoThousandAndTwentyOneAcquisitionsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtDisclosureTextBlock" xlink:label="us-gaap_DebtDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="us-gaap_FairValueInputsLevel2Member"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_WarrantsToPurchaseOrdinarySharesMember" xlink:label="apg_WarrantsToPurchaseOrdinarySharesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Investments" xlink:label="us-gaap_Investments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesIssued" xlink:label="us-gaap_CommonStockSharesIssued"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradingActivityByTypeAxis" xlink:label="us-gaap_TradingActivityByTypeAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:label="us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MultiemployerPlanPensionSignificantPlanContribution" xlink:label="us-gaap_MultiemployerPlanPensionSignificantPlanContribution"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateDomain" xlink:label="us-gaap_VariableRateDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember" xlink:label="srt_MinimumMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationAxis" xlink:label="us-gaap_HedgingDesignationAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationMaximumPayoutOfContingentCompensation" xlink:label="apg_BusinessCombinationMaximumPayoutOfContingentCompensation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock" xlink:label="us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwoThousandNineteenTermLoanMember" xlink:label="apg_TwoThousandNineteenTermLoanMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement" xlink:label="apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_CanadaAndEuropeMember" xlink:label="apg_CanadaAndEuropeMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain" xlink:label="us-gaap_SegmentDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xlink:label="us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare" xlink:label="apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwoThousandTwentyTwoIncrementalAmendmentMember" xlink:label="apg_TwoThousandTwentyTwoIncrementalAmendmentMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CapitalizedContractCostImpairmentLoss" xlink:label="us-gaap_CapitalizedContractCostImpairmentLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis" xlink:label="us-gaap_DebtInstrumentAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="us-gaap_StockholdersEquityAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="us-gaap_StatementBusinessSegmentsAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans" xlink:label="apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenuesAbstract" xlink:label="us-gaap_RevenuesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="us-gaap_AmortizationOfIntangibleAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="us-gaap_OtherNoncashIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EurodollarMember" xlink:label="us-gaap_EurodollarMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="us-gaap_DebtInstrumentFairValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesTable" xlink:label="us-gaap_LossContingenciesTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:label="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_EffectiveIncomeTaxRateReconciliationFederalAndState" xlink:label="apg_EffectiveIncomeTaxRateReconciliationFederalAndState"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PerformanceBasedRestrictedStockUnitsMember" xlink:label="apg_PerformanceBasedRestrictedStockUnitsMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="us-gaap_RestructuringCostAndReserveAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities" xlink:label="us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseTermOfContract" xlink:label="us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SeptemberTwentyThirtyMember" xlink:label="apg_SeptemberTwentyThirtyMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityCentralIndexKey" xlink:label="dei_EntityCentralIndexKey"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockDividendsShares" xlink:label="us-gaap_CommonStockDividendsShares"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRestructuring" xlink:label="us-gaap_PaymentsForRestructuring"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseExistenceOfOptionToTerminate" xlink:label="us-gaap_LesseeOperatingLeaseExistenceOfOptionToTerminate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent" xlink:label="us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ContingentCompensationArrangementsRecognitionPeriod" xlink:label="apg_ContingentCompensationArrangementsRecognitionPeriod"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="us-gaap_AccountingPoliciesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TermLoanFacilityMember" xlink:label="apg_TermLoanFacilityMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AutosAndTrucksMember" xlink:label="apg_AutosAndTrucksMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_InspectionMember" xlink:label="apg_InspectionMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:label="us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember" xlink:label="us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent" xlink:label="us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationDomain" xlink:label="us-gaap_HedgingDesignationDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" xlink:label="us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ForwardStartingInterestRateSwapsMember" xlink:label="apg_ForwardStartingInterestRateSwapsMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ReductionInDerivativeEffectiveInterestRate" xlink:label="apg_ReductionInDerivativeEffectiveInterestRate"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PremierFireMember" xlink:label="apg_PremierFireMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ApiAcquisitionMember" xlink:label="apg_ApiAcquisitionMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_UnswappedPortionOfLineOfCredit" xlink:label="apg_UnswappedPortionOfLineOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DividendPricePerShare" xlink:label="apg_DividendPricePerShare"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PostemploymentRetirementBenefitsMember" xlink:label="us-gaap_PostemploymentRetirementBenefitsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioForecastMember" xlink:label="srt_ScenarioForecastMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract" xlink:label="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsMember" xlink:label="us-gaap_RetainedEarningsMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockConversionBasis" xlink:label="us-gaap_PreferredStockConversionBasis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingAbstract" xlink:label="us-gaap_SegmentReportingAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="us-gaap_ScheduleOfGoodwillTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList" xlink:label="us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OtherAssetsAndLiabilitiesMember" xlink:label="apg_OtherAssetsAndLiabilitiesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="us-gaap_AdditionalPaidInCapital"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityInteractiveDataCurrent" xlink:label="dei_EntityInteractiveDataCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractualRightsMember" xlink:label="us-gaap_ContractualRightsMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanRealEstateMember" xlink:label="us-gaap_DefinedBenefitPlanRealEstateMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2022/currency-2022.xsd#currency_GBP" xlink:label="currency_GBP"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_InvestmentIncomeAndOtherNetMember" xlink:label="apg_InvestmentIncomeAndOtherNetMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPlansWithBenefitObligationsInExcessOfPlanAssetsAbstract" xlink:label="us-gaap_DefinedBenefitPlanPlansWithBenefitObligationsInExcessOfPlanAssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLossCarryforwardsLimitationsOnUse" xlink:label="us-gaap_OperatingLossCarryforwardsLimitationsOnUse"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="us-gaap_RelatedPartyTransactionsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfAssumptionsUsedTableTextBlock" xlink:label="us-gaap_ScheduleOfAssumptionsUsedTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges" xlink:label="us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits" xlink:label="apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="us-gaap_LeaseholdImprovementsMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_LocalPhoneNumber" xlink:label="dei_LocalPhoneNumber"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="us-gaap_UnrecognizedTaxBenefits"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:label="us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock" xlink:label="apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ProvisionalGoodwill" xlink:label="apg_ProvisionalGoodwill"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="us-gaap_DebtDisclosureAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateSwapMember" xlink:label="us-gaap_InterestRateSwapMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="srt_ConsolidatedEntitiesAxis"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ProfitSharingExpense" xlink:label="apg_ProfitSharingExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend" xlink:label="us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisaggregationOfRevenueTableTextBlock" xlink:label="us-gaap_DisaggregationOfRevenueTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityNoteStockSplitConversionRatio1" xlink:label="us-gaap_StockholdersEquityNoteStockSplitConversionRatio1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAdjustmentsTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAdjustmentsTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="us-gaap_IncomeStatementLocationDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AccruedConsiderationIssuedInBusinessCombinations" xlink:label="apg_AccruedConsiderationIssuedInBusinessCombinations"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebt" xlink:label="us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations" xlink:label="apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NorthernAirCorporationMember" xlink:label="apg_NorthernAirCorporationMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharesOutstanding" xlink:label="us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2022/currency-2022.xsd#currency_AllCurrenciesDomain" xlink:label="currency_AllCurrenciesDomain"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_MariposaAcquisitionIVLLCMember" xlink:label="apg_MariposaAcquisitionIVLLCMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentForAmortization" xlink:label="us-gaap_AdjustmentForAmortization"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationAccruedConsideration" xlink:label="apg_BusinessCombinationAccruedConsideration"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="us-gaap_DebtInstrumentNameDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentFiscalYearFocus" xlink:label="dei_DocumentFiscalYearFocus"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract" xlink:label="us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfDebt" xlink:label="us-gaap_RepaymentsOfDebt"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ProjectedBenefitObligationPboFundedStatusAbstract" xlink:label="apg_ProjectedBenefitObligationPboFundedStatusAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_InfrastructureUtilityMember" xlink:label="apg_InfrastructureUtilityMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities" xlink:label="apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_IndustrialServicesMember" xlink:label="apg_IndustrialServicesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwillNoncurrent" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwillNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsAbstract" xlink:label="us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationPayoutOfAccruedContingentCompensation" xlink:label="apg_BusinessCombinationPayoutOfAccruedContingentCompensation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GrossProfit" xlink:label="us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingLossCarrybackTerm" xlink:label="apg_OperatingLossCarrybackTerm"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NumberOfCrossCurrencySwaps" xlink:label="apg_NumberOfCrossCurrencySwaps"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="us-gaap_SeriesAPreferredStockMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetInvestmentHedgingMember" xlink:label="us-gaap_NetInvestmentHedgingMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockDividendsShares" xlink:label="us-gaap_PreferredStockDividendsShares"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtCurrent" xlink:label="us-gaap_DebtCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants" xlink:label="us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock" xlink:label="us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock" xlink:label="us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_GoodwillImpairmentLossRelatedToBusinessDivestiture" xlink:label="apg_GoodwillImpairmentLossRelatedToBusinessDivestiture"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LandMember" xlink:label="us-gaap_LandMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="us-gaap_IncomeTaxesPaidNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="us-gaap_IncomeTaxAuthorityAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="us-gaap_TypeOfRestructuringDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockMember" xlink:label="us-gaap_PreferredStockMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="us-gaap_AssetsCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingDisclosureTextBlock" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchaseProgramExpirationDate" xlink:label="us-gaap_StockRepurchaseProgramExpirationDate"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromRelatedParties" xlink:label="us-gaap_RevenueFromRelatedParties"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock" xlink:label="us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TransmissionMember" xlink:label="apg_TransmissionMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax" xlink:label="us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPensionPlansForeignCashContributions" xlink:label="apg_DefinedBenefitPensionPlansForeignCashContributions"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfGoodwillTextBlock" xlink:label="us-gaap_ScheduleOfGoodwillTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual" xlink:label="apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ConversionRatio" xlink:label="apg_ConversionRatio"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SaleOfStockConsiderationReceivedPerTransaction" xlink:label="us-gaap_SaleOfStockConsiderationReceivedPerTransaction"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseCostAbstract" xlink:label="us-gaap_LeaseCostAbstract"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiability" xlink:label="apg_OperatingAndFinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock" xlink:label="us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedSalariesCurrent" xlink:label="us-gaap_AccruedSalariesCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_CoverAbstract" xlink:label="dei_CoverAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:label="us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage" xlink:label="apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:label="us-gaap_OtherLiabilitiesNoncurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain" xlink:label="srt_ProductsAndServicesDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsAccumulatedBenefitObligation" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsAccumulatedBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation" xlink:label="us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeasesLiabilityNonCurrent" xlink:label="apg_OperatingAndFinanceLeasesLiabilityNonCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="us-gaap_GoodwillImpairmentLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember" xlink:label="srt_MaximumMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfCountriesInWhichEntityOperates" xlink:label="us-gaap_NumberOfCountriesInWhichEntityOperates"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_CivilMember" xlink:label="apg_CivilMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense" xlink:label="us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_PublicEquitiesAndFixedIncomeSecuritiesMember" xlink:label="apg_PublicEquitiesAndFixedIncomeSecuritiesMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="us-gaap_FairValueInputsLevel3Member"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember" xlink:label="us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_FourPointSevenFiveZeroPercentageSeniorNotesMember" xlink:label="apg_FourPointSevenFiveZeroPercentageSeniorNotesMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_CustomersWithPaymentTerms" xlink:label="apg_CustomersWithPaymentTerms"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NetOperatingLossCarryforwardsCarryforwardPeriod" xlink:label="apg_NetOperatingLossCarryforwardsCarryforwardPeriod"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses" xlink:label="apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockDividendsAndOtherAdjustments" xlink:label="us-gaap_PreferredStockDividendsAndOtherAdjustments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList" xlink:label="us-gaap_FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:label="us-gaap_SegmentReportingPolicyPolicyTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_NumberOfCountriesInWhichRetirementPlansSponsored" xlink:label="apg_NumberOfCountriesInWhichRetirementPlansSponsored"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AqueousFilmFormingFoamMember" xlink:label="apg_AqueousFilmFormingFoamMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_CapitalExpenditures" xlink:label="apg_CapitalExpenditures"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_RestrictedSharesTenderedForTaxes" xlink:label="apg_RestrictedSharesTenderedForTaxes"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_DefinedBenefitPlanNumberOfPlans" xlink:label="apg_DefinedBenefitPlanNumberOfPlans"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedContributionPlanCostRecognized" xlink:label="us-gaap_DefinedContributionPlanCostRecognized"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueHedgeAssetsAtFairValue" xlink:label="us-gaap_FairValueHedgeAssetsAtFairValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCountryMember" xlink:label="us-gaap_ForeignCountryMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="us-gaap_CommonStockSharesAuthorized"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_TradingSymbol" xlink:label="dei_TradingSymbol"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_OwnershipAxis" xlink:label="srt_OwnershipAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems" xlink:label="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_BusinessCombinationLiabilityForDeferredPayments" xlink:label="apg_BusinessCombinationLiabilityForDeferredPayments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend" xlink:label="apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueHedgingMember" xlink:label="us-gaap_FairValueHedgingMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="us-gaap_BalanceSheetLocationAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableCurrent" xlink:label="us-gaap_AccountsPayableCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashFlowHedgingMember" xlink:label="us-gaap_CashFlowHedgingMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="us-gaap_TreasuryStockSharesAcquired"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_TwentyTwentyTwoRestructuringProgramMember" xlink:label="apg_TwentyTwentyTwoRestructuringProgramMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTerm" xlink:label="us-gaap_DebtInstrumentTerm"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradingActivityByTypeDomain" xlink:label="us-gaap_TradingActivityByTypeDomain"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_SeptemberTwentyTwentySevenMember" xlink:label="apg_SeptemberTwentyTwentySevenMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList" xlink:label="us-gaap_FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock" xlink:label="us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConversionOfStockByUniqueDescriptionAxis" xlink:label="us-gaap_ConversionOfStockByUniqueDescriptionAxis"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="us-gaap_LongtermDebtTypeDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:loc xlink:type="locator" xlink:href="apg-20220630.xsd#apg_ChubbLimitedFireAndSecurityBusinessMember" xlink:label="apg_ChubbLimitedFireAndSecurityBusinessMember"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock" xlink:label="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock"/>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Instruments, Gain (Loss) [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative Instruments Gain Loss By Hedging Relationship By Income Statement Location By Derivative Instrument Risk [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressCityOrTown_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Address, City or Town</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressCityOrTown_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Address, City or Town</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchasedDuringPeriodValue_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Share repurchases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchasedDuringPeriodValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share repurchases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchasedDuringPeriodValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Repurchased During Period, Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Summary of Preliminary Fair Value of the Identifiable Intangible Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="country_FR_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">France [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="country_FR_lbl" xlink:role="http://www.xbrl.org/2003/role/label">FRANCE</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net income (loss) attributable to common shareholders - basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Income (Loss) Available to Common Stockholders, Basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueDisclosuresAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Disclosures [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Information for Pension Plans with Projected Benefit Obligations in Excess of Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan with Projected Benefit Obligation in Excess of Plan Assets [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update and Change in Accounting Principle [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">New Accounting Pronouncements Or Change In Accounting Principle [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Target asset allocation percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan Assets, Target Allocation, Percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net income (loss) per common share:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_APIGroupDEIncorporationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">API Group DE, Inc.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_APIGroupDEIncorporationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">A P I Group D E Incorporation [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_APIGroupDEIncorporationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">APi Group DE, Inc [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendSharesPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Annual dividend shares preferred stock.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendSharesPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Annual Dividend Shares Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendSharesPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Annual dividend shares preferred stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Quoted Prices in Active Markets for Identical Assets Level 1 [Member[</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Inputs, Level 1 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value, Inputs, Level 1 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseOptionToTerminate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Lessee, operating lease, option to terminate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseOptionToTerminate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Option to Terminate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2025</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid, Year Three</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DomesticCountryMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Domestic Tax Authority [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DomesticCountryMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Domestic Tax Authority [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAverageRemainingLeaseTermAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Weighted average remaining lease term.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAverageRemainingLeaseTermAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Remaining Lease Term [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAverageRemainingLeaseTermAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted-average remaining lease term:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodValueNewIssues_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Issued During Period, Value, New Issues</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodValueNewIssues_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Issuance of common shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided by (Used in) Financing Activities [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash flows from financing activities:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CrossCurrencyInterestRateContractMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cross Currency Interest Rate Contract [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CrossCurrencyInterestRateContractMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cross Currency Swaps [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Dividend yield</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Changes in depreciation expense, if fair value known at business acquisition amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Estimated depreciation expense based on fair value of acquisition.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Estimated Depreciation Expense Based On Fair Value Of Acquisition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Depreciation expense would have been higher , if fair value known at business acquisition amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IntangibleAssetsGrossExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Intangible Assets, Gross (Excluding Goodwill), Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IntangibleAssetsGrossExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Intangible Assets, Gross (Excluding Goodwill)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IntangibleAssetsGrossExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Gross Carrying Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PerformanceStockUnitsPsusMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Performance Stock Units PSUs [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PerformanceStockUnitsPsusMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Performance Stock Units PSUs member,</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Increase (Decrease) in Other Operating Assets and Liabilities, Net, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Other Operating Assets and Liabilities, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Other assets and liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStock_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel">Less stock dividend attributable to Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStock_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Less stock dividend attributable to Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Less stock dividend attributable to Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Less stock dividend attributable to Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Dividend attributable to preferred stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Dividend attributable to preferred stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCredit_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total debt obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCredit_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Long-term Line of Credit, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCredit_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Line of Credit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCredit_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Line of credit outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfSharesUsedToCalculateAnnualDividend_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of shares used to calculate annual dividend.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfSharesUsedToCalculateAnnualDividend_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number Of Shares Used To Calculate Annual Dividend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfSharesUsedToCalculateAnnualDividend_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of shares multiplied for annual dividend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SpecialtyContractingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Specialty contracting [Member].</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SpecialtyContractingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Specialty Contracting [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SpecialtyContractingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Specialty Contracting [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_AmendmentFlag_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Amendment Flag</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_AmendmentFlag_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Amendment Flag</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2026</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Maturity, Year Four</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Line of Credit Facility, Interest Rate During Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Line of credit facility, interest rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CommonStockSharesPurchasedByUnderwriters_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Common stock shares purchased by underwriters.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CommonStockSharesPurchasedByUnderwriters_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common stock shares purchased by underwriters</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLossCarryforwardsTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Loss Carryforwards [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLossCarryforwardsTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating Loss Carryforwards [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finite-Lived Intangible Assets, Accumulated Amortization</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Accumulated Amortization</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CostOfSalesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cost of Sales [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CostOfSalesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cost of Revenues [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Goodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Goodwill, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Goodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Goodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Goodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Goodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredIncomeTaxAssetsNet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Deferred Income Tax Assets, Net, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredIncomeTaxAssetsNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Deferred Income Tax Assets, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredIncomeTaxAssetsNet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Deferred tax assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Right-of-Use Asset</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating lease right of use assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Finite-Lived Intangible Assets [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Identifiable Intangible Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FixedIncomeSecuritiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fixed Income Securities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FixedIncomeSecuritiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fixed Income Securities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligationPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Percentage of recognized revenue of remaining performance obligations over the next 12 months</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligationPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue, Remaining Performance Obligation, Percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentQuarterlyReport_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Quarterly Report</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentQuarterlyReport_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Quarterly Report</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Repurchases of common stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payments for Repurchase of Common Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedTranslationAdjustmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign Currency Translation [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedTranslationAdjustmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accumulated Foreign Currency Adjustment Attributable to Parent [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContractualBacklogMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Contractual backlog.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContractualBacklogMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contractual Backlog [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContractualBacklogMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contractual Backlog [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockNoParValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock no par value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockNoParValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, No Par Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShortTermDebtLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Short-Term Debt [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShortTermDebtLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Short-term Debt [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Less imputed interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Less imputed interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, Undiscounted Excess Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statement [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Statement [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating leases - non-current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Liability, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2023</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid, Year One</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Unrecognized Tax Benefits that Would Impact Effective Tax Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Unrecognized tax benefits that would impact effective tax rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_JointVenturesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Joint ventures.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_JointVenturesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Joint Ventures [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_JointVenturesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Joint Ventures [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Change in Accounting Principle, Accounting Standards Update, Immaterial Effect [true false]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Change in accounting principle, accounting standards update, immaterial effect</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingLossCarryforwardsExpirationYear_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating loss carryforwards expiration year.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingLossCarryforwardsExpirationYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Loss Carryforwards Expiration Year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingLossCarryforwardsExpirationYear_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating loss carryforwards expiration year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of common stock issued related to ESPP</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Issued During Period, Shares, Employee Stock Purchase Plans</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Fair value of contingent consideration obligations in a business combination that is classified in liabilities.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contingent Consideration Obligations Classified As Liabilities Fair Value Disclosure</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Contingent consideration obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NumberOfOperatingSegments_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of Operating Segments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NumberOfOperatingSegments_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of operating segments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LondonInterbankOfferedRateLIBORMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">London Interbank Offered Rate (LIBOR) [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LondonInterbankOfferedRateLIBORMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">London Interbank Offered Rate (LIBOR) [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNoncurrentLiabilitiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other noncurrent Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNoncurrentLiabilitiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Noncurrent Liabilities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Preferred shares outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Preferred Stock, Shares Outstanding, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Preferred Stock, Shares Outstanding, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Shares Outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Business Acquisition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accumulated Other Comprehensive Income (Loss) [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_MachineryAndEquipmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Machinery and Equipment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_MachineryAndEquipmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Machinery and Equipment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCharges_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Charged to expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCharges_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Restructuring charges, net of cash paid</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCharges_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Charges</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCharges_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Restructuring Charges, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockNoParValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock, No Par Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockNoParValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock no par value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LesseeOperatingAndFinancingLeasesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Lessee operating and financing leases.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LesseeOperatingAndFinancingLeasesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee Operating And Financing Leases [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LesseeOperatingAndFinancingLeasesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SeriesBPreferredStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Series B Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SeriesBPreferredStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Series B Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted-average fair value, outstanding shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Weighted-Average Grant Date Fair Value Per Share, Outstanding, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Weighted-Average Grant Date Fair Value Per Share, Outstanding, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Weighted-average fair value, vested</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted-Average Grant Date Fair Value Per Share, Vested</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustments_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill, Translation and Purchase Accounting Adjustments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustments_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Measurement period adjustments and other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Inventories</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Line of Credit Facility [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Line of Credit Facility [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NatureOfOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Nature of Operations [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NatureOfOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Nature of Business</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Schedule of supplemental balance sheet information.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Supplemental Balance Sheet Information Table [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Supplemental Balance Sheet Information</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Business Combinations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxAuthorityDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Authority [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxAuthorityDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Tax Authority</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected benefit payment in 2026</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Future Benefit Payment, Year Four</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Tax benefits realized from tax deductions related to vesting of RSUs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Payment Arrangement, Expense, Tax Benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountingStandardsUpdate201912Member_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update 2019-12 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountingStandardsUpdate201912Member_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">ASU 2019-12 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_HedgingRelationshipDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Hedging Relationship [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_HedgingRelationshipDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Hedging Relationship</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ProductOrServiceAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Product and Service [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ProductOrServiceAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Product and Service</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">ESPP [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationContingentConsiderationLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Contingent Consideration, Liability, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationContingentConsiderationLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Contingent Consideration, Liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationContingentConsiderationLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contingent consideration and compensation liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesExpandingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of countries expanding operations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesExpandingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of Countries Expanding Operations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesExpandingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of countries expanding operations.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Tax benefit reclassified</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Reclassification from AOCI, Current Period, Net of Tax, Attributable to Parent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetUsefulLife_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finite-Lived Intangible Asset, Useful Life</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetUsefulLife_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Weighted Average Remaining Useful Lives (in Years)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IndefinitelivedIntangibleAssetsAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total intangibles</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IndefinitelivedIntangibleAssetsAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Indefinite-Lived Intangible Assets Acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SpecialtyServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Specialty services.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SpecialtyServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Specialty Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SpecialtyServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Specialty Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupClassificationDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group Classification [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeStockOptionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Employee Stock Option [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeStockOptionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Payment Arrangement, Option [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Shares Issued, Shares, Share-based Payment Arrangement, after Forfeiture, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Shares Issued, Shares, Share-Based Payment Arrangement, after Forfeiture</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share-based compensation and other, net (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Weighted Average Remaining Lease Term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total liabilities, redeemable convertible preferred stock, and shareholders' equity</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities and Equity</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsReceivableRelatedParties_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts receivable from related party</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsReceivableRelatedParties_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Receivable, Related Parties</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Noncurrent liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Pension and post-retirement assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Assets for Plan Benefits, Defined Benefit Plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Adjustments to additional paid in capital shares cancelled value.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Adjustments To Additional Paid In Capital Shares Cancelled Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share cancellations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EquityMethodInvestmentsPolicy_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Equity Method Investments [Policy Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EquityMethodInvestmentsPolicy_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Investments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Deferred tax liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Deferred tax liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted average shares outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number of Shares Outstanding, Diluted [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Issued During Period, Value, Employee Benefit Plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Profit sharing plan contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Issued During Period, Shares, Employee Benefit Plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Profit sharing plan contributions (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Change in Accounting Principle, Accounting Standards Update, Adopted [true false]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Change in accounting principle, accounting standards update, adopted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityIncorporationStateCountryCode_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Incorporation, State or Country Code</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityIncorporationStateCountryCode_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Incorporation, State or Country Code</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeStatementAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Statement [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Two thousand twenty term loan member.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Two Thousand Twenty Term Loan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2020 Term Loan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Information for Pension Plans with Accumulated Benefit Obligations in Excess of Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan with Accumulated Benefit Obligation in Excess of Plan Assets [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finance leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Weighted Average Remaining Lease Term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Other noncurrent liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other noncurrent liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeLiabilities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Derivative liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Derivative Liability, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Derivative liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finance leases - current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SaleOfStockNameOfTransactionDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Sale of Stock [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SaleOfStockNameOfTransactionDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Sale of Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total current liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractWithCustomerAssetNetCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Contract with Customer, Asset, after Allowance for Credit Loss, Current, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractWithCustomerAssetNetCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contract with Customer, Asset, after Allowance for Credit Loss, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractWithCustomerAssetNetCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contract assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLossCarryforwards_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Operating Loss Carryforwards, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLossCarryforwards_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Loss Carryforwards</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLossCarryforwards_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating loss carryforwards</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2025</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid, Year Three</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingenciesByNatureOfContingencyAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Loss Contingency Nature [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareBasicLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareBasicLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2027</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Maturity, Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAcquiredFromAcquisition_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cash Acquired from Acquisition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAcquiredFromAcquisition_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountries_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of Countries of Significant Business Operations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountries_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of countries of significant business operations.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition, Acquiree [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Business Acquisition, Acquiree</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InterestExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Interest Expense, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InterestExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Interest Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InterestExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Interest expense, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TradeNamesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Trade Names [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TradeNamesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Trade Names [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PlusAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Plus.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PlusAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Plus [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PlusAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Plus:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Fair Value of Pension Plan Assets by Asset Category</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Changes in Fair Value of Plan Assets [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessAcquisitionOtherAdjustments_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other estimated adjustments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessAcquisitionOtherAdjustments_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business acquisition other adjustments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessAcquisitionOtherAdjustments_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business acquisition other adjustments.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PercentageOfIncreaseInWeightedAverageMarketPrice_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Percentage of increase in weighted average market price.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PercentageOfIncreaseInWeightedAverageMarketPrice_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Percentage Of Increase In Weighted Average Market Price</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PercentageOfIncreaseInWeightedAverageMarketPrice_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Percentage of increase in weighted average market price per share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInContractWithCustomerLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Contract with Customer, Liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInContractWithCustomerLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contract liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_USTreasuryAndGovernmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Governments [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_USTreasuryAndGovernmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">US Treasury and Government [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Multiemployer pension and other multiemployer benefit plans and trusts.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Multiemployer Pension And Other Multiemployer Benefit Plans And Trusts [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Multiemployer Pension And Other Multiemployer Benefit Plans And Trusts [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DividendsPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock dividend, value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DividendsPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Dividends, Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DividendsPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Dividends, Preferred Stock, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesAuthorized_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred Shares authorized</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesAuthorized_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Shares Authorized</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessAcquisitionTransactionCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Transaction costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessAcquisitionTransactionCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition Transaction Costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessAcquisitionTransactionCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business acquisition transaction costs.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Other accrued liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other accrued liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liability, Defined Benefit Plan, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockLiquidationPreference_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Liquidation Preference Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockLiquidationPreference_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Liquidation preference per share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Derivative Asset, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Asset</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative asset</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Weighted Average Discount Rate, Percent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_EquityMethodInvesteeNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Investment, Name [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_EquityMethodInvesteeNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Investment, Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOrSaleOfEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Proceeds from equity issuances</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOrSaleOfEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Proceeds from Issuance or Sale of Equity</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOrSaleOfEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Proceeds from Issuance or Sale of Equity, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_VariableRateAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Variable Rate [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_VariableRateAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Variable Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">2023</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability payments due in next twelve months.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Payments Due In Next Twelve Months</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2021</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntitySmallBusiness_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Small Business</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntitySmallBusiness_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Small Business</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NumberOfReportableSegments_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of Reportable Segments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NumberOfReportableSegments_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of reportable segments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Cash, cash equivalents, and restricted cash, end of period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Cash, cash equivalents, and restricted cash, beginning of period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TypeOfArrangementAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Collaborative Arrangement and Arrangement Other than Collaborative [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Accounts payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Hedging Relationship [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Hedging Relationship</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringAndRelatedActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring and Related Activities [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Amortization Expense Recognized on Intangible Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finite-Lived Intangible Assets Amortization Expense [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountingStandardsUpdate202001Member_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update 2020-01 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountingStandardsUpdate202001Member_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">ASU 2020-01 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringReserve_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Restructuring liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringReserve_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Reserve</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringReserve_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Restructuring Reserve, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringReserve_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Restructuring Reserve, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringReserve_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Restructuring Reserve, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Weighted Average Assumptions Used in Calculating Benefit Obligation [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CorporateAndEliminationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Corporate and eliminations.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CorporateAndEliminationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Corporate And Eliminations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CorporateAndEliminationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Corporate and Eliminations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentRedemptionPeriodDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument, Redemption, Period [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Assets, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total current assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Property, Plant and Equipment [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contract with Customer, Contract Asset, Contract Liability, and Receivable [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Accounts Receivable, Net of Allowances, Contract Assets and Contract Liabilities from Contracts with Customer</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Indefinite-Lived Intangible Assets [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Indefinite-lived Intangible Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TrademarksAndTradeNamesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Trade Names and Trademarks [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TrademarksAndTradeNamesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Trade Names And Trademarks [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TrademarksAndTradeNamesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Trademarks and Trade Names [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Remainder of 2022</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid, Remainder of Fiscal Year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfShortTermDebtTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Short-Term Debt [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfShortTermDebtTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Short Term Debt [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">For contingent consideration arrangements recognized in connection with a business combination, this element represents number of such arrangements.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Contingent Consideration Arrangements Number Of Open Arrangements</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of open contingent consideration arrangements at the end of period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted average shares outstanding - basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Weighted average shares outstanding - basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Weighted Average Number of Shares Outstanding, Basic, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Other Noncurrent Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Noncurrent Liabilities [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total present value of lease liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_CityAreaCode_lbl" xlink:role="http://www.xbrl.org/2003/role/label">City Area Code</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_CityAreaCode_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">City Area Code</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">DIVESTITURES AND ASSETS HELD FOR SALE</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Divestitures And Held For Sale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Groups, Including Discontinued Operations, Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfNetBenefitCostsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Components of Net Periodic Pension Benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfNetBenefitCostsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Net Benefit Costs [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Accounts receivable includes retentions receivable within one year.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Receivable Includes Retentions Receivable Within One Year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Retentions receivable within one year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ComprehensiveIncomeNoteTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accumulated Other Comprehensive Income (Loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ComprehensiveIncomeNoteTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Comprehensive Income (Loss) Note [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFundedStatusOfPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Funded status of plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFundedStatusOfPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Funded status of plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFundedStatusOfPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Funded (Unfunded) Status of Plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockLiquidationPreferenceValue_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Aggregate liquidation preference</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockLiquidationPreferenceValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Liquidation Preference, Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Payment Arrangement [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsAndHedgesLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsAndHedgesLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Instruments and Hedges, Liabilities, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsAndHedgesLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Derivative Instruments and Hedges, Liabilities, Noncurrent, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Liabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Liabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentPeriodEndDate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Period End Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentPeriodEndDate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Period End Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Stock and warrants issued during period shares warrants.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock And Warrants Issued During Period Shares Warrants</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Warrants exercised (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Finite-Lived Intangible Assets [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Finite Lived Intangible Assets [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Valuation Assumptions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Share-based Payment Award, Valuation Assumptions [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Schedule of share-based payment award, valuation assumptions.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">New Accounting Pronouncements or Change in Accounting Principle [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">New Accounting Pronouncements Or Change In Accounting Principle [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Net periodic cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net periodic pension benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Net Periodic Benefit Cost (Credit)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInContractWithCustomerAsset_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Contract with Customer, Asset</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInContractWithCustomerAsset_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Contract assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Summary of Changes in Number of Outstanding RSUs and PSUs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Schedule Of Nonvested Restricted Stock Units And Performance Based Restricted Stock Units Activity [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationAccruedConsiderationPaidOutPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination accrued consideration paid out period.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationAccruedConsiderationPaidOutPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Accrued Consideration Paid Out Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationAccruedConsiderationPaidOutPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Business combination accrued consideration paid out period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReductionInInterestExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Reduction in interest expense.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReductionInInterestExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Reduction In Interest Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReductionInInterestExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Annual reduction in interest expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Dividends payable, date declared</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_RangeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statistical Measurement [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_RangeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Statistical Measurement</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeriesAPreferredSharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Series A Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeriesAPreferredSharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Series A Preferred Shares [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeriesAPreferredSharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Series A Preferred Shares member.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InsuranceReservesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Insurance reserves</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InsuranceReservesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Insurance Reserves Non Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InsuranceReservesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Insurance reserves non current.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accumulated benefit obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan with Accumulated Benefit Obligation in Excess of Plan Assets, Accumulated Benefit Obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected benefit payment in 2023</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Future Benefit Payment, Year One</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LiabilityForDeferredPaymentsRecognitionPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Liability for deferred payments recognition period.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LiabilityForDeferredPaymentsRecognitionPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liability For Deferred Payments Recognition Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LiabilityForDeferredPaymentsRecognitionPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Liability for deferred payments recognition period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Restructuring costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Restructuring Costs, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_VehiclesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Vehicle [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_VehiclesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Vehicles [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Pension and post-retirement benefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan Assets Pension and Post-Retirement Benefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined benefit plan assets pension and post-retirement benefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Related Party [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PensionAndPostRetirementLiabilitiesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Pension and post-retirement liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PensionAndPostRetirementLiabilitiesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Pension and Post Retirement Liabilities Non Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PensionAndPostRetirementLiabilitiesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Pension and Post Retirement Liabilities non current.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Assets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Assets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Assets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net revenues from acquisition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Pro Forma Information, Revenue of Acquiree since Acquisition Date, Actual</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeContractTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Contract [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeContractTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative Contract</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Issued During Period, Shares, Conversion of Convertible Securities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of share issuable upon exercise of warrants</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability payments due.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Payments Due</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total lease payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StateAndLocalJurisdictionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">State and Local Jurisdiction [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StateAndLocalJurisdictionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">State and Local Jurisdiction [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Earnings Per Share, Basic, by Common Class, Including Two Class Method [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Earnings Per Share Basic By Common Class [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Benefit obligation, salary scale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Rate of Compensation Increase</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Income (loss) per common share - diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Earnings Per Share, Diluted, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share, Diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetirementPlanTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Retirement Plan Type [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetirementPlanTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Retirement Plan Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LifeSafetyMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Life safety [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LifeSafetyMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Life Safety [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LifeSafetyMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Life Safety [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Net income (loss) attributable to common shareholders:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Income (Loss) Available to Common Stockholders, Basic [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Balance at end of period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Balances at beginning of period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net periodic benefit cost, salary scale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan with Accumulated Benefit Obligation in Excess of Plan Assets [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentDiscontinuedOperationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Discontinued Operations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressPostalZipCode_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Address, Postal Zip Code</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressPostalZipCode_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Address, Postal Zip Code</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Fiscal Period Focus</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Fiscal Period Focus</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestrictedCash_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Restricted cash</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestrictedCash_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restricted Cash</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestrictedCash_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Restricted Cash, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OfficeEquipmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Office Equipment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OfficeEquipmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Office Equipment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Organization, Consolidation, Basis of Presentation, Business Description and Accounting Policies [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Basis of Presentation and Significant Accounting Policies</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Accounts Receivable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Accounts receivable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAveragePriceOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Weighted average price of common stock.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAveragePriceOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Price Of Common Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAveragePriceOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted average price of common stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevolvingCreditFacilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revolving Credit Facility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevolvingCreditFacilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Revolving Credit Facility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Deferred Tax Assets, Valuation Allowance, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Deferred Tax Assets, Valuation Allowance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Deferred tax assets, valuation allowance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Series A Preferred Stock, $0.0001 par value, 7,000,000 authorized shares, 4,000,000 shares issued and outstanding at June 30, 2022 and December 31, 2021</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Preferred Stock, Value, Issued, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Preferred Stock, Value, Issued, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Preferred Stock, Value, Issued, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Value, Issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingencyPendingClaimsNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of pending cases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingencyPendingClaimsNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Loss Contingency, Pending Claims, Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingencyPendingClaimsNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Loss Contingency, Pending Claims, Number, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingencyPendingClaimsNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Loss Contingency, Pending Claims, Number, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Pension and post-retirement plans adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">APIC, Share-based Payment Arrangement, Increase for Cost Recognition, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">APIC, Share-Based Payment Arrangement, Increase for Cost Recognition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share-based compensation and other, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2027</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid, Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">RSUs, PSUs, and stock options</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LineOfCreditNetOfLettersOfCreditOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Line of credit net of letters of credit outstanding.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LineOfCreditNetOfLettersOfCreditOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Line Of Credit Net Of Letters Of Credit Outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LineOfCreditNetOfLettersOfCreditOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Line of credit net letters of credit outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InvestmentIncomeInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Interest income</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InvestmentIncomeInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Investment Income, Interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FabricationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Fabrication [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FabricationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fabrication [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FabricationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fabrication [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">2024</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability payments due year two.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Payments Due Year Two</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2022</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total present value of lease liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net cash provided by (used in) financing activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided by (Used in) Financing Activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NotesPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Notes Payable, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NotesPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Notes Payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NotesPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Notes payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementOfFinancialPositionAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statement of Financial Position [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAverageDiscountRateAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Weighted average discount rate.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAverageDiscountRateAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Discount Rate [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WeightedAverageDiscountRateAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted-average discount rate:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign currency contracts</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Foreign Currency Contract, Asset, Fair Value Disclosure</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupClassificationAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group Classification [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityFileNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity File Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityFileNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity File Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ScenarioUnspecifiedDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Scenario [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Information Related to Major Classes of Assets Classified as Assets and Liabilities Held for Sale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Groups, Including Discontinued Operations [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total lease payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementOfCashFlowsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statement of Cash Flows [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Accrued expenses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accrued expenses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Accrued Expenses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, recognized identifiable assets acquired and liabilities assumed, accrued expenses.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Thereafter</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid, after Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NonServicePensionBenefit_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Non-service pension benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NonServicePensionBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Non- service pension benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NonServicePensionBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Non Service Pension Benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NonServicePensionBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Non service pension benefit.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Estimated net working capital adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Estimated net working capital adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Estimated net working capital adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Consideration Transferred, Liabilities Incurred</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Pension</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Retirement Benefits [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_SegmentGeographicalDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Geographical [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_SegmentGeographicalDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Geographical</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherOperatingIncomeExpenseNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Operating Income (Expense), Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherOperatingIncomeExpenseNet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other (income) expense, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_RangeMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statistical Measurement [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_RangeMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Statistical Measurement</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statement of Stockholders' Equity [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SubsidiarySaleOfStockAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Sale of Stock [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SubsidiarySaleOfStockAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Sale of Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Purchase Price of Common Stock, Percent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share-based compensation arrangement by share-based payment award, purchase price of common stock, percent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Defined Benefit Plan, Plan with Accumulated Benefit Obligation in Excess of Plan Assets, Plan Assets, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair value of plan assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan with Accumulated Benefit Obligation in Excess of Plan Assets, Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ClassOfStockDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Class of Stock [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConversionOfStockSharesIssued1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Conversion of Stock, Shares Issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConversionOfStockSharesIssued1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Conversion of Stock, New Issuance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SubsequentEventsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Events [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueDisclosuresTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Disclosures [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueDisclosuresTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value of Financial Instruments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group, Including Discontinued Operation, Liabilities, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Disposal Group, Including Discontinued Operation, Liabilities, Current, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Current liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Proceeds from issuance of common stock, net of related expenses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Proceeds from Issuance of Common Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOfCommonStock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Proceeds from issuance of common stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongtermDebtTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Long-term Debt, Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongtermDebtTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Type [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccruedTaxesPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Increase (Decrease) in Accrued Taxes Payable, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccruedTaxesPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Accrued Taxes Payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccruedTaxesPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accrued liabilities and income taxes payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="currency_EUR_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EUR [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected benefit payment from 2027 through 2030</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Expected benefit payment in 2028 and thereafter</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Future Benefit Payment, after Year Five for Next Five Years</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Operating and finance leases - current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance leases liability current.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Leases Liability Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating and finance leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Deferred Income Tax Liabilities, Net, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Deferred Income Tax Liabilities, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Deferred tax liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Components of Property and Equipment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetRetirementObligationsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Asset retirement obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetRetirementObligationsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Asset Retirement Obligations, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetRetirementObligationsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Asset Retirement Obligations, Noncurrent, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TimeBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Time-based restricted stock units.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TimeBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Time Based Restricted Stock Units [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TimeBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Time-based Restricted Stock Units [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TemporaryEquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Mezzanine equity:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TemporaryEquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Temporary Equity [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net Revenues</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue from Contract with Customer [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Amortization of actuarial loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, before Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Dilutive securities:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number of Shares Outstanding, Diluted, Adjustment [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Antidilutive Securities [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementPlansPensionsPolicy_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Pension and post-retirement obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementPlansPensionsPolicy_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Pension and Other Postretirement Plans, Pensions, Policy [Policy Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock, par value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Par or Stated Value Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractWithCustomerLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contract with Customer, Liability, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractWithCustomerLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contract liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingencyNatureDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Loss Contingency, Nature [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeLeaseDescriptionLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Lease, Description [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Total transaction costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_MultiemployerPlansLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Multiemployer Plan [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_MultiemployerPlansLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Multiemployer Plans [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NonmonetaryTransactionTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Nonmonetary Transaction Type [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NonmonetaryTransactionTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Nonmonetary Transaction Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CreditFacilityDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Credit Facility [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CreditFacilityDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit Facility</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SubsequentEventsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Events [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SubsequentEventsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Subsequent Events</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfMultiemployerPlansTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Multiemployer Plan [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfMultiemployerPlansTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Multiemployer Plans [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NondesignatedMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivatives Not Designated as Hedge Instruments [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NondesignatedMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Not Designated as Hedging Instrument [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number of Shares Outstanding, Diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Weighted average shares outstanding - diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CreditFacilityAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Credit Facility [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CreditFacilityAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit Facility</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Unearned compensation related to unvested RSUs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair value of plan assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Plan Assets, Amount, Ending balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Plan Assets, Amount, Beginning balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan Assets, Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Defined Benefit Plan, Plan Assets, Amount, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CorporateDebtSecuritiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Corporate Bonds [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CorporateDebtSecuritiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Corporate Debt Securities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition, Pro Forma Net Income (Loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfLocationsInWhichEntityOperates_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of locations in which entity operates.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfLocationsInWhichEntityOperates_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number Of Locations In Which Entity Operates</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfLocationsInWhichEntityOperates_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of locations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination consideration transferred including cash acquired.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Consideration Transferred Including Cash Acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total consideration</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Global Equity Funds at Net Asset Value [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Global Equity Funds at NAV [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined Benefit Plan, Global Equity Funds at NAV [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Current Fiscal Year End Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current Fiscal Year End Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash &amp; Cash Equivalents [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Cash and Cash Equivalents [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Instruments and Hedging Activities Disclosure [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Depreciation_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Depreciation, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Depreciation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Depreciation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Depreciation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Depreciation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeMaturityDates_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative maturity date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeMaturityDates_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative, Maturity Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeriesBPreferredSharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Series B Preferred Shares [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeriesBPreferredSharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Series B Preferred Shares [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeriesBPreferredSharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Series B preferred shares.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesOfSignificantBusinessOperations1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of countries of significant business operations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesOfSignificantBusinessOperations1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of Countries of Significant Business Operations1</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesOfSignificantBusinessOperations1_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of countries of significant business operations1.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchasedDuringPeriodShares_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Share repurchases (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchasedDuringPeriodShares_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share repurchases (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchasedDuringPeriodShares_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Repurchased During Period, Shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Other Assets, Noncurrent, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Assets, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="currency_CAD_lbl" xlink:role="http://www.xbrl.org/2003/role/label">CAD [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Ending balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Beginning balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressAddressLine1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Address, Address Line One</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressAddressLine1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Address, Address Line One</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RepaymentsOfLongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Repayments of long term debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RepaymentsOfLongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Repayments of Long-term Debt, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RepaymentsOfLongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Repayments of Long-Term Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RepaymentsOfLongTermDebt_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Payments on long-term borrowings</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan Assets, Category [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating lease right of use assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination recognized identifiable assets acquired and liabilities assumed operating lease right of use assets.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Groups, Including Discontinued Operations [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SupplementalCashFlowInformationAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Supplemental Cash Flow Information [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SupplementalCashFlowInformationAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Supplemental cash flow disclosures:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net income (loss) attributable to common shareholders</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Income Loss Available To Common Stockholders Basic And Diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Net income (loss) available to common stockholders basic and diluted.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivable_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Accounts receivable includes retentions receivable.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Receivable Includes Retentions Receivable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccountsReceivableIncludesRetentionsReceivable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Retentions receivable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finance and operating lease right of use assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Finance and Operating Lease Right of Use Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, recognized identifiable assets acquired and liabilities assumed, finance and operating lease right of use assets.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DividendsPreferredStockStock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Dividends issued as shares, value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DividendsPreferredStockStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Dividends, Preferred Stock, Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Line of Credit Facility [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update and Change in Accounting Principle [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Recent Accounting Pronouncements</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Income Tax Expense (Benefit), Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Expense (Benefit)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income tax provision (benefit)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Defined benefit plan, accumulated benefit obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Accumulated Benefit Obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">2026</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating And Finance Lease Liability Payments Due Year Four</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Payments Due Year Four</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2024</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NoncashLeaseExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Noncash lease expense.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NoncashLeaseExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Noncash Lease Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NoncashLeaseExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Non-cash lease expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Senior Notes [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Senior Notes [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finance Leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Preferred stock issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Preferred Stock, Shares Issued, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Shares Issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred Shares issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BalanceSheetLocationDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Balance Sheet Location [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BalanceSheetLocationDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Balance Sheet Location</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Segment Reporting, Reconciling Item for Operating Profit (Loss) from Segment to Consolidated [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Segment Reporting, Reconciling Item for Operating Profit (Loss) from Segment to Consolidated [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignExchangeContractMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Foreign Exchange Contract [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignExchangeContractMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign Currency Contracts [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net settlement and curtailment gain</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), Defined Benefit Plan, Settlement and Curtailment Gain (Loss), before Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Accrued Liabilities, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other accrued liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherSundryLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherSundryLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Sundry Liabilities, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance lease liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Finance Lease Liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Payments to Acquire Property, Plant, and Equipment, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payments to Acquire Property, Plant, and Equipment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Purchases of property and equipment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue, Remaining Performance Obligation, Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Aggregate amount of transaction price allocated to unsatisfied performance obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net periodic benefit cost, discount rate, PBO</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxDisclosureAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Disclosure [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Line of Credit Facility [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Line Of Credit Facility [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Investment hedge, Amount amortized from AOCI into interest expenses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Investment hedge, Amount amortized from AOCI into interest expenses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Change in Accounting Principle, Accounting Standards Update, Adoption Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Change in accounting principle, accounting standards update, adoption date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesNewIssues_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Issuance of common shares (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockIssuedDuringPeriodSharesNewIssues_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Issued During Period, Shares, New Issues</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition, Goodwill, Expected Tax Deductible Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill, expected tax deduction</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Projected benefit obligation ("PBO")</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Pension Plan with Accumulated Benefit Obligation in Excess of Plan Assets, Projected Benefit Obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FourPointOneTwoFivePercentageSeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">4.125% Senior Notes [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FourPointOneTwoFivePercentageSeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Four point one two five percentage senior notes [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FourPointOneTwoFivePercentageSeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">4.125% Senior Notes.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_HeatingVentilationAndAirConditioningMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Heating, Ventilation and Air Conditioning.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_HeatingVentilationAndAirConditioningMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Heating Ventilation And Air Conditioning [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_HeatingVentilationAndAirConditioningMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Heating, Ventilation and Air Conditioning ("HVAC") [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AcquisitionOfConstructionEquipmentAndVehiclesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Acquisition Of Construction Equipment And Vehicles [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AcquisitionOfConstructionEquipmentAndVehiclesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Acquisition Of Construction Equipment And Vehicles [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AcquisitionOfConstructionEquipmentAndVehiclesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Acquisition of Construction Equipment and Vehicles [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Hierarchy and NAV [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value, Inputs, Level 1 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill and Intangible Assets Disclosure [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Less imputed interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability undiscounted excess amount.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Undiscounted Excess Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Less imputed interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_CurrencyAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Currency [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Equity [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2026</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid, Year Four</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AppreciationOfSharePrice_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Appreciation of share price</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AppreciationOfSharePrice_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Appreciation of Share Price</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AppreciationOfSharePrice_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Appreciation of share price.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Income (Loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Operating income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SharePriceBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share Price Based RSU [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SharePriceBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Share price based restricted stock units.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BuildingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Facility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BuildingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Building [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BuildingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Building [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseOptionToExtend_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Lessee, operating lease, option to extend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseOptionToExtend_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Option to Extend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RelatedPartyDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Related Party [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Thereafter</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid, after Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TemporaryEquityCarryingAmountAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">5.5% Series B Redeemable Convertible Preferred Stock, $0.0001 par value, 800,000 authorized shares, 800,000 shares and 0 shares issued and outstanding at June 30, 2022 and December 31, 2021, respectively; aggregate liquidation preference of $840</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TemporaryEquityCarryingAmountAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Temporary Equity, Carrying Amount, Attributable to Parent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStockDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Less stock dividend attributable to Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStockDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Dividend Attributable To Preferred Stock Diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendAttributableToPreferredStockDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Dividend attributable to preferred stock diluted.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Payment at closing net of cash acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Payments to Acquire Businesses, Net of Cash Acquired, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payments to Acquire Businesses, Net of Cash Acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash payment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Acquisitions, net of cash acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_StatementScenarioAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Scenario [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProfitSharingPlanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Profit sharing plan.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProfitSharingPlanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Profit Sharing Plan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProfitSharingPlanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Profit Sharing Plan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandAndTwentyAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Two Thousand And Twenty Acquisitions.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandAndTwentyAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Two Thousand And Twenty Acquisitions [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandAndTwentyAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2020 Acquisitions [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total recognized in other comprehensive loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive (Income) Loss, Defined Benefit Plan, before Reclassification Adjustment and Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Award Requisite Service Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other accrued liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accrued Liabilities and Other Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Accrued Liabilities and Other Liabilities, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityFilerCategory_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Filer Category</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityFilerCategory_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Filer Category</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NonmonetaryTransactionTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Nonmonetary Transaction Type [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NonmonetaryTransactionTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Nonmonetary Transaction Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Annual dividend calculated based on share price appreciation over the highest price per share.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Annual Dividend Calculated Based On Share Price Appreciation Over Highest Price Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Annual dividend calculated based on price appreciate over the highest price previously used</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringPlanDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Plan [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsIncomeStatementImpact_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Stock dividend on Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsIncomeStatementImpact_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Stock dividend on Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsIncomeStatementImpact_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Dividends, Income Statement Impact</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Pension and post-retirement assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination recognized identifiable assets acquired and liabilities assumed pension and post retirement benefits.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Property and equipment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityCurrentReportingStatus_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Current Reporting Status</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityCurrentReportingStatus_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Current Reporting Status</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillForeignCurrencyTranslationGainLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillForeignCurrencyTranslationGainLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill, Foreign Currency Translation Gain (Loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other current assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InventoryNet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Inventory, Net, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InventoryNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Inventory, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InventoryNet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Inventories</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetInvestmentIncome_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net Investment Income, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetInvestmentIncome_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Investment Income</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetInvestmentIncome_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Investment income and other, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetInvestmentIncome_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Investment income and other, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConversionOfStockNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Conversion of Stock, Name [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConversionOfStockNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Conversion of Stock, Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_AmericasMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Americas [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_AmericasMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">United States [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, recognized identifiable assets acquired and liabilities assumed assets held for sale.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Assets Held For Sale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Assets held for sale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyOneTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Two Thousand Twenty One Term Loan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyOneTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Two thousand twenty one term loan.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyOneTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2021 Term Loan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating income (loss), earnings before interest, taxes, depreciation and amortization.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Income Loss Earnings Before Interest Taxes Depreciation And Amortization</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">EBITDA</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherAssetsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Assets [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherAssetsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other Assets [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combinations [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareDilutedAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Diluted earnings (loss) per common share:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareDilutedAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share, Diluted [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Stockholders' Equity Attributable to Parent, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Stockholders' Equity Attributable to Parent, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stockholders' Equity Attributable to Parent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total shareholders&#8217; equity</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">AOCI Attributable to Parent [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accumulated Other Comprehensive Income (Loss) [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BaseRateMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Base Rate [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BaseRateMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Base Rate [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Effect of foreign currency exchange rate change on cash, cash equivalents, and restricted cash</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Effect of foreign currency exchange rate change on cash, cash equivalents, and restricted cash</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2024</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Maturity, Year Two</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityTaxIdentificationNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Tax Identification Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityTaxIdentificationNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Tax Identification Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherTwoThousandAndTwentyOneAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other 2021 Acquisitions [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherTwoThousandAndTwentyOneAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Two Thousand And Twenty One Acquisitions [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherTwoThousandAndTwentyOneAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Other 2021 Acquisitions.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeStatementLocationAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Statement Location [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeStatementLocationAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Statement Location</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FixedIncomeInterestRateMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Fixed Income Interest Rate [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FixedIncomeInterestRateMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fixed Income Interest Rate [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FixedIncomeInterestRateMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Non-Variable Interest Rate Debt [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common Stock, $0.0001 par value, 500,000,000 authorized shares, 233,218,322 shares and 224,625,193 shares issued at June 30, 2022 and December 31, 2021, respectively (excluding 7,539,697 shares declared for stock dividend at December 31, 2021)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Common Stock, Value, Issued, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Common Stock, Value, Issued, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Common Stock, Value, Issued, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock, Value, Issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SecuredDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Secured Debt, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SecuredDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Secured Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SecuredDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Secured term loan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Assets and Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Retained Earnings (Accumulated Deficit), Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Retained Earnings (Accumulated Deficit), Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Retained Earnings (Accumulated Deficit), Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Retained Earnings (Accumulated Deficit)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accumulated deficit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EquipmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Equipment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EquipmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Equipment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementEquityComponentsAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Equity Components [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementEquityComponentsAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Equity Components</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Period Increase (Decrease), Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Period Increase (Decrease)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Adjustments to fair value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ConsolidatedEntitiesDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Consolidated Entities [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ConsolidatedEntitiesDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Consolidated Entities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringReserveTranslationAndOtherAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Currency translation adjustment and other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringReserveTranslationAndOtherAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Reserve, Translation and Other Adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherLiabilitiesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other Noncurrent Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherLiabilitiesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Liabilities Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TypeOfAdoptionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TypeOfAdoptionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounting Standards Update</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MarketBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Market-Based Restricted Stock Units [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MarketBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Market-based restricted stock units.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PaymentOfInvoices_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Payment of invoices.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PaymentOfInvoices_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payment Of Invoices</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PaymentOfInvoices_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Payment of invoices</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredFinanceCostsGross_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Issuance Costs, Gross</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DeferredFinanceCostsGross_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Less: unamortized deferred financing costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MaximumValueOfCommonStockPurchasedDuringPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Maximum value of common stock purchased during period.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MaximumValueOfCommonStockPurchasedDuringPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Maximum Value Of Common Stock Purchased During Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MaximumValueOfCommonStockPurchasedDuringPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum value of common stock purchased during period under ESPP</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LeasesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Leases [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CustomerRelationshipsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Customer Relationships [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CustomerRelationshipsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Customer Relationships [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisaggregationOfRevenueTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disaggregation of Revenue [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisaggregationOfRevenueTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Disaggregation Of Revenue [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected benefit payment in 2025</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Future Benefit Payment, Year Three</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentOfCumulativeAmortizationExpenseReversed_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Adjustment of cumulative amortization expense reversed.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentOfCumulativeAmortizationExpenseReversed_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Adjustment Of Cumulative Amortization Expense Reversed</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentOfCumulativeAmortizationExpenseReversed_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Adjustment of cumulative amortization expense reversed</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Finite lived intangible assets amortization expense [Table].</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finite Lived Intangible Assets Amortization Expense [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finite Lived Intangible Assets Amortization Expense [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityEmergingGrowthCompany_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Emerging Growth Company</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityEmergingGrowthCompany_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Emerging Growth Company</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherCountriesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherCountriesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Countries [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherCountriesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Other countries.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Business Acquisitions, by Acquisition [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Business Acquisitions By Acquisition [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentConsiderationObligationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Contingent consideration obligations [member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentConsiderationObligationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contingent Consideration Obligations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentConsiderationObligationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contingent Consideration Obligations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitContributions_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Pension contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitContributions_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Pension contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitContributions_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Defined benefit pension plans contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitContributions_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payment for Pension and Other Postretirement Benefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementBenefitContributions_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Payment for Pension and Other Postretirement Benefits, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Schedule of future undiscounted cash flows and reconciliation to the lease liabilities.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Future Undiscounted Cash Flows And Reconciliation To The Lease Liabilities Table [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Future Undiscounted Cash Flows and Reconciliation to the Lease Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanInterestCost_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Interest costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanInterestCost_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Interest cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanInterestCost_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Interest Cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current year actuarial loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss) Arising During Period, before Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill [LineItems]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetirementPlanTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Retirement Plan Type [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetirementPlanTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Retirement Plan Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtPercentageBearingVariableInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Percentage Bearing Variable Interest, Percentage Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtPercentageBearingVariableInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt, variable interest rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Pension and post-retirement plans adjustment, net of tax (expense) benefit of $X and $0, respectively</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive (Income) Loss, Defined Benefit Plan, Prior Service Cost (Credit), Reclassification Adjustment from AOCI, after Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PlanAssetCategoriesDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Plan Assets, Category [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfStockByClassTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Stock by Class [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CostOfRevenue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Cost of Revenue, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CostOfRevenue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cost of Revenue</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CostOfRevenue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cost of revenues</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Amounts reclassified, pre-tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Reclassification from A O C I, Amounts reclassified, pre-tax, Attributable to Parent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Reclassification from AOCI, amounts reclassified, pre-tax, attributable to parent.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanServiceCost_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Service costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanServiceCost_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Service cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanServiceCost_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Service Cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Investment, Name [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Investment, Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Unrealized gains on AOCI before taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Unrealized Gain (Loss) on Interest Rate Cash Flow Hedges, Pretax, Accumulated Other Comprehensive Income (Loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total assets and liabilities held for sale, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group, Not Discontinued Operation, Gain (Loss) on Disposal</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_RoyalOakEnterprisesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Royal Oak Enterprises [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_RoyalOakEnterprisesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Royal Oak Enterprises Member</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_RoyalOakEnterprisesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Royal Oak Enterprises.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CompensationAndRetirementDisclosureAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Retirement Benefits [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentTransitionReport_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Transition Report</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentTransitionReport_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Transition Report</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Number of shares issued and sold</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of shares sold</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Sale of Stock, Number of Shares Issued in Transaction</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Assets, Fair Value Disclosure, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Financial Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Assets, Fair Value Disclosure</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2025</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Maturity, Year Three</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Weighted-average fair value, granted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted-Average Grant Date Fair Value Per Share, Granted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TaxAdjustmentsSettlementsAndUnusualProvisions_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Tax adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TaxAdjustmentsSettlementsAndUnusualProvisions_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Tax Adjustments, Settlements, and Unusual Provisions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityInterestRateDescription_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Line of Credit Facility, Interest Rate Description</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityInterestRateDescription_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Line of credit facility, interest rate description</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EnvironmentalLiabilitiesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Environmental liabilities outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EnvironmentalLiabilitiesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Environmental Liabilities Outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EnvironmentalLiabilitiesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Environmental liabilities outstanding.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Changes in Component of AOCI, Net of Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Commitments and Contingencies</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Commitments and Contingencies Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumNumberOfSharesPerEmployee_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Maximum Number of Shares Per Employee</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumNumberOfSharesPerEmployee_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum number of shares purchased in offering period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accumulated other comprehensive income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Accumulated other comprehensive income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Accumulated Other Comprehensive Income (Loss), Net of Tax, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accumulated Other Comprehensive Income (Loss), Net of Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liabilities payments due.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liabilities Payments Due [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Deferred taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Deferred Income Taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Deferred taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts receivable, net of allowances of $3 and $3 at June 30, 2022 and December 31, 2021, respectively</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Accounts Receivable, after Allowance for Credit Loss, Current, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Receivable, after Allowance for Credit Loss, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Accounts receivable, net of allowances</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Common Stock, Shares Outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Common Stock, Shares Outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CorporateAndEliminationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Corporate and Eliminations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CorporateAndEliminationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Corporate and Elimination [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CorporateAndEliminationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Corporate and elimination.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Changes in Benefit Obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Changes in Projected Benefit Obligations [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Information about Plan Assets [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Outstanding liability for obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accrued Environmental Loss Contingencies, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Earnings</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">PBO</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Pension Plan with Projected Benefit Obligation in Excess of Plan Assets, Projected Benefit Obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating leases - current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Liability, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EnvironmentalReservesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Environmental reserves</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EnvironmentalReservesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Environmental Reserves Non Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EnvironmentalReservesNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Environmental reserves non current.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other current liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTwoAcquisitionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">2022 Acquisitions [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTwoAcquisitionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">2022 Acquisitions.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdditionalPaidInCapitalMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Additional Paid-in Capital [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdditionalPaidInCapitalMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Additional Paid-in Capital [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ArrangementsAndNonarrangementTransactionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Collaborative Arrangement and Arrangement Other than Collaborative [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendRatePercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Preferred stock, dividend percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendRatePercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Percentage of annual dividend rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendRatePercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Dividend Rate, Percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maturity date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Line of Credit Facility, Expiration Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Line of Credit Facilities [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Debt Obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Issuances</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Issuances</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Annual Maturities, Excluding Amortization of Debt Issuance Costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Maturities of Long-Term Debt [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringPlanAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Plan [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityRegistrantName_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Registrant Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityRegistrantName_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Registrant Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TreasuryStockValueAcquiredParValueMethod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Repurchases of common stock, value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TreasuryStockValueAcquiredParValueMethod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Treasury Stock, Value, Acquired, Par Value Method</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign currency translation adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Liabilities, Fair Value Disclosure, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Financial Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Financial Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities, Fair Value Disclosure</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Receivable, Allowance for Credit Loss, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts receivable net of allowances</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Cash and Cash Equivalents, at Carrying Value, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Cash and Cash Equivalents, at Carrying Value, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Cash and Cash Equivalents, at Carrying Value, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cash and Cash Equivalents, at Carrying Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash and cash equivalents</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of shares authorized to repurchase</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Repurchase Program, Number of Shares Authorized to be Repurchased</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingencyNumberOfDefendants_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of defendant</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingencyNumberOfDefendants_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Loss Contingency, Number of Defendants</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Property and equipment, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group, Including Discontinued Operation, Property, Plant and Equipment, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Earnings (Loss) Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementClassOfStockAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Class of Stock [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, recognized identifiable assets acquired and liabilities assumed goodwill.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeLeaseDescriptionTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Lease, Description [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Share-based Payment Arrangement, Noncash Expense, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Payment Arrangement, Noncash Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share-based compensation expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherContractMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherContractMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Contract [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statement of Comprehensive Income [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MechanicalMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Mechanical [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MechanicalMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Mechanical [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MechanicalMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Mechanical [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Property, Plant and Equipment, Net, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Property, Plant and Equipment, Net, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Property and equipment, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Property and equipment, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Award Type [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Statement [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Statement [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update and Change in Accounting Principle [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_Security12bTitle_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Title of 12(b) Security</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_Security12bTitle_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Title of 12(b) Security</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Amounts for Asset (Liability) Recognized in Statement of Financial Position [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Increase (Decrease) in Accounts Payable, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Accounts Payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_OwnershipDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Ownership [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_OwnershipDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Ownership</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCostAndReserveLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Cost and Reserve [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Common Shares [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeNotionalAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative, Notional Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeNotionalAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative notional amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash, cash equivalents, and restricted cash</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash flows from operating activities:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EquityComponentDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Equity Component [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EquityComponentDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Equity Component</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Remainder of 2022</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid, Remainder of Fiscal Year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Revenue from Contract with Customer, Excluding Assessed Tax, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue from Contract with Customer, Excluding Assessed Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net revenues</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Income (loss) before income taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Foreign currency contracts</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign currency contracts</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Foreign Currency Contracts, Liability, Fair Value Disclosure</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Less imputed interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Less imputed interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, Undiscounted Excess Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LossContingencyNumberOfCasesNamedAsDefendants_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of cases named as defendants</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LossContingencyNumberOfCasesNamedAsDefendants_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Loss Contingency Number Of Cases Named as Defendants</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_LossContingencyNumberOfCasesNamedAsDefendants_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Loss contingency number of cases named as defendants.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressStateOrProvince_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Address, State or Province</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityAddressStateOrProvince_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Address, State or Province</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2026</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid, Year Four</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareOfCommonStockIssuedToProfitSharingPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share of common stock issued to profit sharing plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareOfCommonStockIssuedToProfitSharingPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share of Common Stock Issued To Profit Sharing Plan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareOfCommonStockIssuedToProfitSharingPlan_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Share of common stock issued to profit sharing plan.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_StatementGeographicalAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Geographical [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_StatementGeographicalAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Geographical</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net increase (decrease) in cash, cash equivalents, and restricted cash</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherObligationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Other Obligations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherObligationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Obligations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherObligationsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other Obligations [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentType_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentType_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InterestPaidNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Interest Paid, Excluding Capitalized Interest, Operating Activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InterestPaidNet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash paid for interest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionProFormaInformationTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Pro Forma Consolidated Financial Information Reflects the Results of Operations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionProFormaInformationTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition, Pro Forma Information [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityShellCompany_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Shell Company</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityShellCompany_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Shell Company</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CurrencySwapMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign Currency Swap [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CurrencySwapMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Currency Swap [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Increase (Decrease) in Inventories, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Inventories</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Inventories</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ExtendedMaturityDate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Extended maturity date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ExtendedMaturityDate_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Extended maturity date.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Recurring and Nonrecurring [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Intangible assets, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group, Including Discontinued Operation, Intangible Assets, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingenciesLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Loss Contingencies [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_SecurityExchangeName_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Security Exchange Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_SecurityExchangeName_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Security Exchange Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IncreaseDecreaseInPensionContribution_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Pension contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IncreaseDecreaseInPensionContribution_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase Decrease in Pension Contribution</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IncreaseDecreaseInPensionContribution_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Increase decrease in pension contribution.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeFixedInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative, Fixed Interest Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeFixedInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative, fixed interest rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SafetyServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Safety services.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SafetyServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Safety Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SafetyServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Safety Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SafetyServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Safety Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ClassOfStockLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Class of Stock [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finance leases - non-current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_VikingPurchasersMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Viking Purchasers [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_VikingPurchasersMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Viking purchasers.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Estimated working capital adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Consideration Transferred Estimated Working Capital Adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination consideration transferred estimated working capital adjustment.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net cash provided by (used in) operating activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided by (Used in) Operating Activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Unrecognized equity-based compensation cost, restricted stock units</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueByBalanceSheetGroupingTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, by Balance Sheet Grouping [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPensionPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Plan assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPensionPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Pension Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPensionPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined benefit pension plan assets.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected benefit payment in 2022</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Future Benefit Payment, Remainder of Fiscal Year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Aggregate cash consideration</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Purchase price</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payments to Acquire Businesses, Gross</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Commitments and Contingencies Disclosure [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2022</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating and finance lease liability payments remainder of fiscal year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability payments remainder of fiscal year.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Reconciliation Of Operating Profit Loss From Segments To Consolidated [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestrictedStockUnitsRSUMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Restricted Stock Units [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestrictedStockUnitsRSUMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Restricted Stock Units RSUs [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestrictedStockUnitsRSUMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restricted Stock Units (RSUs) [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">PBO discount rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Benefit obligation, discount rate, PBO</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Segment Reconciliation [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">EBITDA Reconciliation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConsolidationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Principles of consolidation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConsolidationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Consolidation, Policy [Policy Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2024</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, to be Paid, Year Two</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionsProFormaRevenue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net revenues</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionsProFormaRevenue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition, Pro Forma Revenue</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Changes in Number of Common Shares Underlying Options</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Payment Arrangement, Option, Activity [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DepreciationExpenseNetOfReversal_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Depreciation expense net of reversal.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DepreciationExpenseNetOfReversal_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Depreciation Expense Net Of Reversal</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DepreciationExpenseNetOfReversal_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Depreciation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination contingent compensation.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Contingent Compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contingent compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Defined Benefit Plans Disclosures [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Acquisition [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessAcquisitionLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Business Acquisition [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GainsLossesOnExtinguishmentOfDebt_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Loss on extinguishment of debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GainsLossesOnExtinguishmentOfDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Loss on extinguishment of debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GainsLossesOnExtinguishmentOfDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Gain (Loss) on Extinguishment of Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GainsLossesOnExtinguishmentOfDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Gain (Loss) on Extinguishment of Debt, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandAndTwentyOneAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Two thousand and twenty one acquisitions.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandAndTwentyOneAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Two Thousand And Twenty One Acquisitions [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandAndTwentyOneAcquisitionsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2021 Acquisitions [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounts receivable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Significant Observable Inputs Level 2 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Inputs, Level 2 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value, Inputs, Level 2 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOfLongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Proceeds from Issuance of Long-term Debt, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOfLongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Proceeds from Issuance of Long-Term Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ProceedsFromIssuanceOfLongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Proceeds from long-term borrowings</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WarrantsToPurchaseOrdinarySharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Warrants To Purchase Ordinary Shares [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WarrantsToPurchaseOrdinarySharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Warrants To Purchase Ordinary Shares [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_WarrantsToPurchaseOrdinarySharesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Warrants To Purchase Ordinary Shares [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided by (Used in) Investing Activities [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash flows from investing activities:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Investments_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Investments, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Investments_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Investments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_Investments_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Investment balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommitmentsAndContingencies_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Commitments and contingencies (Note 17)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommitmentsAndContingencies_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Commitments and Contingencies</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net assets acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Common Stock, Shares, Issued, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock, Shares, Issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common shares issued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Instruments and Hedging Activities Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivatives</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TradingActivityByTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Trading Activity [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TradingActivityByTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Trading Activity</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Other noncurrent liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other noncurrent liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liability, Defined Benefit Pension Plan, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_MultiemployerPlanPensionSignificantPlanContribution_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Multiemployer Plan, Pension, Significant, Plan Contribution</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_MultiemployerPlanPensionSignificantPlanContribution_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Multiemployer Plan Contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_VariableRateDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Variable Rate [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_VariableRateDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Variable Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_MinimumMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Minimum [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_MinimumMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Minimum [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_MinimumMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Minimum [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_HedgingDesignationAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Hedging Designation [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_HedgingDesignationAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Hedging Designation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationMaximumPayoutOfContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination maximum payout of contingent compensation.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationMaximumPayoutOfContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Maximum Payout Of Contingent Compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationMaximumPayoutOfContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum payout of contingent compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Restructuring Program</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring and Related Costs [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandNineteenTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Two thousand nineteen term loan.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandNineteenTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Two Thousand Nineteen Term Loan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandNineteenTermLoanMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2019 Term Loan [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Percentage of outstanding stock owned by related party under agreement</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Percentage of Outstanding Stock Owned by Related Party Under Agreement</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Percentage of outstanding stock owned by related party under agreement.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CanadaAndEuropeMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Canada and europe member.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CanadaAndEuropeMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Canada And Europe [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CanadaAndEuropeMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Canada and Europe [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Segments [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Segments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other comprehensive income (loss), before reclassifications, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">OCI, before Reclassifications, Net of Tax, Attributable to Parent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Annual dividend calculated based on appreciation of share price per share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Annual Dividend Calculated Based On Appreciation Of Share Price Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Annual Dividend Calculated Based On Appreciation Of Share Price Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounting Standards Update</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTwoIncrementalAmendmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2022 Incremental Amendment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTwoIncrementalAmendmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Two Thousand Twenty Two Incremental Amendment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwoThousandTwentyTwoIncrementalAmendmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">2022 Incremental Amendment [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CapitalizedContractCostImpairmentLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Capitalized Contract Cost, Impairment Loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CapitalizedContractCostImpairmentLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Impairment of contract assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt Instrument</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stockholders' Equity Attributable to Parent [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Shareholders&#8217; equity:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementBusinessSegmentsAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Segments [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StatementBusinessSegmentsAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Segments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income Loss Reclassification Adjustment from Impact of Foreign Exchange Translation Pension and Other Postretirement Benefit Plans</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Other comprehensive income loss reclassification adjustment from impact of foreign exchange translation pension and other postretirement benefit plans.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenuesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenues [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AmortizationOfIntangibleAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Amortization of Intangible Assets, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AmortizationOfIntangibleAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Amortization of Intangible Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AmortizationOfIntangibleAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total intangible asset amortization expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AmortizationOfIntangibleAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Amortization expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AwardTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Award Type [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Other Noncash Income (Expense), Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Noncash Income (Expense)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Other, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EurodollarMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Eurodollar [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EurodollarMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Eurodollar [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Debt Instrument, Fair Value Disclosure, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument, Fair Value Disclosure</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Non-Variable Interest Rate Debt, Fair Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferred1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net consideration</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferred1_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Consideration Transferred, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferred1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Consideration Transferred</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationConsiderationTransferred1_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Purchase price value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LossContingenciesTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Loss Contingencies [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNonoperatingIncomeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Other Nonoperating Income (Expense), Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNonoperatingIncomeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Nonoperating Income (Expense)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherNonoperatingIncomeExpense_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel">Other expense, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Discontinued Operations and Disposal Groups [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected benefit payment in 2024</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Future Benefit Payment, Year Two</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EffectiveIncomeTaxRateReconciliationFederalAndState_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Combined statutory tax rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EffectiveIncomeTaxRateReconciliationFederalAndState_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Effective income tax rate reconciliation federal and state</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PerformanceBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Performance-Based Restricted Stock Units [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PerformanceBasedRestrictedStockUnitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Performance-Based Restricted Stock Units [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Expected to vest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Expected to vest, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Share based compensation arrangement by share based payment award, equity instruments other than options, expected to vest.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Expected To Vest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total lease payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Total lease payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringCostAndReserveAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring Type [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payment for Contingent Consideration Liability, Financing Activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Payments of acquisition-related consideration</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseTermOfContract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating lease term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseTermOfContract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Term of Contract</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeptemberTwentyThirtyMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">September 2030 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeptemberTwentyThirtyMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">September Twenty Thirty [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeptemberTwentyThirtyMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">September 2030.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityCentralIndexKey_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Central Index Key</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityCentralIndexKey_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Central Index Key</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockDividendsShares_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Dividends, Shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockDividendsShares_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Dividends declared in common shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsForRestructuring_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsForRestructuring_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsForRestructuring_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payments for Restructuring</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseExistenceOfOptionToTerminate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Existence of Option to Terminate [true false]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Contingent Consideration, Liability, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contingent consideration and compensation liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetsLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finite-Lived Intangible Assets [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FiniteLivedIntangibleAssetsLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finite-Lived Intangible Assets [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentCompensationArrangementsRecognitionPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Contingent compensation arrangements recognition period.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentCompensationArrangementsRecognitionPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contingent Compensation Arrangements Recognition Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ContingentCompensationArrangementsRecognitionPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contingent compensation arrangements recognized period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountingPoliciesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Policies [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TermLoanFacilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Term Loan Facility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TermLoanFacilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Term Loan Facility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TermLoanFacilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Term Loan Facility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AutosAndTrucksMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Autos And Trucks [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AutosAndTrucksMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Autos And Trucks [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AutosAndTrucksMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Autos and Trucks [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InspectionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Inspection [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InspectionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Inspection [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InspectionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Inspection [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentRedemptionPeriodAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument, Redemption, Period [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisaggregationOfRevenueLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disaggregation of Revenue [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisaggregationOfRevenueLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Disaggregation of Revenue [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Not Subject to Leveling [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Measured at Net Asset Value Per Share [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Accumulated depreciation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Property Plant And Equipment [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected volatility</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Non-service pension benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Non-service pension benefit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Periodic Defined Benefits Expense (Reversal of Expense), Excluding Service Cost Component</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_HedgingDesignationDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Hedging Designation [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_HedgingDesignationDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Hedging Designation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net recognized in net periodic pension benefit and other comprehensive loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, before Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, before Tax, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finance leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Weighted Average Discount Rate, Percent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ForwardStartingInterestRateSwapsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Forward Starting Interest rate swaps [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ForwardStartingInterestRateSwapsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Forward Starting Interest Rate Swaps [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ForwardStartingInterestRateSwapsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Forward starting interest rate swaps.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReductionInDerivativeEffectiveInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Reduction in derivative effective interest rate.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReductionInDerivativeEffectiveInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Reduction In Derivative Effective Interest Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ReductionInDerivativeEffectiveInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Reduction in overall effective interest rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PremierFireMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Premier Fire [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PremierFireMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Premier Fire.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ApiAcquisitionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">APi Acquisition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ApiAcquisitionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Api Acquisition [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ApiAcquisitionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">APi Acquisition [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_UnswappedPortionOfLineOfCredit_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Unswapped portion of line of credit.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_UnswappedPortionOfLineOfCredit_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Unswapped Portion Of Line Of Credit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_UnswappedPortionOfLineOfCredit_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Remaining line of credit outstanding (unswapped portion)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendPricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Dividend price per share.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendPricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Dividend Price Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DividendPricePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Dividend price per share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Organization, Consolidation and Presentation of Financial Statements [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PostemploymentRetirementBenefitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Post-retirement Benefit Plans [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PostemploymentRetirementBenefitsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Postemployment Retirement Benefits [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net amount recognized</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net amount recognized</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Amounts for Asset (Liability) Recognized in Statement of Financial Position</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ScenarioForecastMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Scenario Forecast [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ScenarioForecastMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Forecast [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Net Periodic Benefit Cost (Credit) [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Adjustments to reconcile net income (loss) to net cash provided by operating activities:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetainedEarningsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Retained Earnings [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RetainedEarningsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accumulated Deficit [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Finance and operating lease liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Finance and operating lease liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Finance and Operating Lease Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination recognized identifiable assets acquired and liabilities assumed finance and operating lease liabilities.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockConversionBasis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred shares conversion description</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockConversionBasis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock, Conversion Basis</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DesignatedAsHedgingInstrumentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivatives Designated as Hedge Instruments [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DesignatedAsHedgingInstrumentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Designated as Hedging Instrument [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DesignatedAsHedgingInstrumentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Designated as Hedging Instrument [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair value change - derivatives, net of tax benefit (expense) of ($8), ($3), ($11), and ($3), respectively</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Other Comprehensive Income (Loss), Financial Liability, Fair Value Option, after Tax and Reclassification Adjustment, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), Financial Liability, Fair Value Option, after Tax and Reclassification Adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Fair value change - derivatives</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentReportingAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Segment Reporting [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Effective Income Tax Rate Reconciliation, Percent, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Effective Income Tax Rate Reconciliation, Percent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Effective tax rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfGoodwillTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Goodwill [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfGoodwillTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Goodwill [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherAssetsAndLiabilitiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other Assets &amp; Liabilities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherAssetsAndLiabilitiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Assets and Liabilities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OtherAssetsAndLiabilitiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Other assets and liabilities.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Property, Plant and Equipment, Gross, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Property, Plant and Equipment, Gross, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Property, Plant and Equipment, Gross, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment, Gross</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillAcquiredDuringPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill, Acquired During Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillAcquiredDuringPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Acquisitions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Thereafter</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Maturity, after Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Vesting percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdditionalPaidInCapital_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Additional Paid in Capital, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdditionalPaidInCapital_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Additional Paid in Capital, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdditionalPaidInCapital_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Additional Paid in Capital, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdditionalPaidInCapital_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Additional Paid in Capital</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdditionalPaidInCapital_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Additional paid-in capital</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityInteractiveDataCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Interactive Data Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityInteractiveDataCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Interactive Data Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractualRightsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contractual Rights [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ContractualRightsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contractual Backlog [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanRealEstateMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Real Estate [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanRealEstateMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Real Estate [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="currency_GBP_lbl" xlink:role="http://www.xbrl.org/2003/role/label">GBP [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Related Party Transactions Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Related-Party Transactions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LettersOfCreditOutstandingAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Letters of Credit Outstanding, Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LettersOfCreditOutstandingAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Letters of credit outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InvestmentIncomeAndOtherNetMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Investment income and other, net.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InvestmentIncomeAndOtherNetMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Investment Income And Other Net [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InvestmentIncomeAndOtherNetMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Investment Income and Other, Net [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Intangible assets other then goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPlansWithBenefitObligationsInExcessOfPlanAssetsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Pension Plan with Project Benefit Obligation in Excess of Plan Assets [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLossCarryforwardsLimitationsOnUse_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Loss Carryforwards, Limitations on Use</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OperatingLossCarryforwardsLimitationsOnUse_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating loss carryforwards limitations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RelatedPartyTransactionsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Related Party Transactions [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net periodic benefit cost, expected return on plan assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-Term Rate of Return on Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2023</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid, Year One</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Pension and post-retirement plans adjustment, net of tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, after Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAssumptionsUsedTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Major Assumptions Used to Determine Benefit Obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAssumptionsUsedTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Assumptions [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Loss on asset held for sale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Loss on asset held for sale</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Gain (Loss) on Sale of Assets and Asset Impairment Charges</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Effective income tax rate reconciliation, unrecognized tax benefits.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Effective Income Tax Rate Reconciliationunrecognizedtaxbenefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Effective income tax rate reconciliation, unrecognized tax benefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LeaseholdImprovementsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Leasehold Improvements [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LeaseholdImprovementsMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Leasehold Improvements [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Contract liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contract liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Contract Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, recognized identifiable assets acquired and liabilities assumed, contract liabilities.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_LocalPhoneNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Local Phone Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_LocalPhoneNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Local Phone Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">U.S. Federal income tax rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating lease liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, recognized identifiable assets acquired and liabilities assumed, operating lease liability.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Prepaid pension costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Prepaid Pension Costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination recognized identifiable assets acquired and liabilities assumed prepaid pension costs.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Unrecognized Tax Benefits, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Unrecognized Tax Benefits, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Unrecognized Tax Benefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Unrecognized tax benefits</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Impairment of Intangible Assets (Excluding Goodwill), Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Impairment of Intangible Assets (Excluding Goodwill)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Intangible assets impairment charges</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Computation Earnings (Loss) Per Common Share Using Two Class Method</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Summary of Carrying And Fair Value Of Non-Variable Interest Rate Debt.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Summary Of Carrying And Fair Value Of Non Variable Interest Rate Debt Table [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Carrying And Fair Value Of Non-Variable Interest Rate Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProvisionalGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Provisional goodwill.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProvisionalGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Provisional Goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProvisionalGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Provisional goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Vesting period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Benefit obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Benefit obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Benefit Obligation, Ending balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Benefit Obligation, Beginning balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Benefit Obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtDisclosureAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Disclosure [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InterestRateSwapMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Interest Rate Swap [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InterestRateSwapMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Interest Rate Swaps [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ConsolidatedEntitiesAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Consolidated Entities [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ConsolidatedEntitiesAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Consolidated Entities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProfitSharingExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Profit-sharing expense.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProfitSharingExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Profit Sharing Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProfitSharingExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Profit-sharing expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Lessee, operating lease, existence of option to extend [true false]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Existence of Option to Extend [true false]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisaggregationOfRevenueTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Disaggregated Net Revenues</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisaggregationOfRevenueTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disaggregation of Revenue [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total other noncurrent liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Liabilities, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other noncurrent liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected benefit payment in 2027</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Future Benefit Payment, Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Reconciliation of Fair Value of Contingent Consideration Obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityNoteStockSplitConversionRatio1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred shares convertible into common share, number of shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockholdersEquityNoteStockSplitConversionRatio1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stockholders' Equity Note, Stock Split, Conversion Ratio</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAdjustmentsTax_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Tax benefit (expense)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAdjustmentsTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), Derivative, Excluded Component, Increase (Decrease), Adjustments, Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeStatementLocationDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Statement Location [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeStatementLocationDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Statement Location</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2023</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Maturity, Year One</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Assumed liabilities, and other adjustments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Selling, General and Administrative Expenses [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Selling, General and Administrative Expenses [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccruedConsiderationIssuedInBusinessCombinations_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accrued consideration issued in business combinations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccruedConsiderationIssuedInBusinessCombinations_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Accrued consideration issued in business combinations.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AccruedConsiderationIssuedInBusinessCombinations_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accrued Consideration Issued in Business Combinations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Outstanding shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Outstanding, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Outstanding, Beginning Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Long-term Debt, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Long-term debt, less current portion</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Long-term debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Goodwill impairment loss at business with ongoing operations.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill Impairment Loss At Business With Ongoing Operations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Goodwill, impairment loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NorthernAirCorporationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Northern Air Corporation [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NorthernAirCorporationMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Northern Air Corporation.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Shares, Outstanding</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Ending balance (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SharesOutstanding_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Beginning balance (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Contract assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, recognized identifiable assets acquired and liabilities assumed, contract assets.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Increase (Decrease) in Prepaid Expense and Other Assets, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Prepaid Expense and Other Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Prepaid expenses and other current assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Pension and post-retirement obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liability, Defined Benefit Plan, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Liability, Defined Benefit Plan, Noncurrent, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="currency_AllCurrenciesDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">All Currencies [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MariposaAcquisitionIVLLCMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Mariposa Acquisition IV, LLC.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MariposaAcquisitionIVLLCMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Mariposa Acquisition I V L L C [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_MariposaAcquisitionIVLLCMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Mariposa Acquisition I V L L C [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentForAmortization_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Amortization, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentForAmortization_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Amortization</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AdjustmentForAmortization_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Amortization</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationAccruedConsideration_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination accrued consideration.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationAccruedConsideration_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Accrued Consideration</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationAccruedConsideration_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Business combination accrued consideration</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument, Name [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt Instrument, Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentFiscalYearFocus_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Fiscal Year Focus</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentFiscalYearFocus_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Fiscal Year Focus</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IntangibleAssetsNetExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Intangible Assets, Net (Excluding Goodwill)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IntangibleAssetsNetExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Intangible assets, net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IntangibleAssetsNetExcludingGoodwill_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net Carrying Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income tax penalties and interest accrued</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive Income (Loss), before Tax, Portion Attributable to Parent [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other comprehensive income (loss):</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Fair Value Measurement Assets And Liabilities Measured On Recurring Basis</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RepaymentsOfDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Repayments of Debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RepaymentsOfDebt_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Repayment of debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net periodic benefit cost, discount rate, interest cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Net cost discount rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan Assumptions Used Calculating Net Periodic Benefit Cost Discount Rate Interest Cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined benefit plan assumptions used calculating net periodic benefit cost discount rate interest cost.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Payments of Debt Issuance Costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Payments of debt issuance costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProjectedBenefitObligationPboFundedStatusAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Projected benefit obligation ("PBO") funded status [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProjectedBenefitObligationPboFundedStatusAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Projected benefit obligation ("PBO") Funded Status.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InfrastructureUtilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Infrastructure/Utility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InfrastructureUtilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Infrastructure Utility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_InfrastructureUtilityMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Infrastructure/Utility [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Preliminary Fair Value of Consideration Transferred and the Preliminary Estimated Fair Values of the Assets Acquired and Liabilities Assumed</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Business Acquisitions, by Acquisition [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2024</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid, Year Two</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Fair value of plan assets Before adjustment</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan Fair Value Of Plan Assets Excluding Other Assets and Liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined benefit plan fair value of plan assets excluding other assets and liabilities.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Income (loss) per common share - basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Earnings Per Share, Basic, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share, Basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Basic</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IndustrialServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Industrial services.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IndustrialServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Industrial Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IndustrialServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Industrial Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IndustrialServicesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Industrial Services [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Compensation and Employee Benefit Plans [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Employee Benefit Plans</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwillNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwillNoncurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group, Including Discontinued Operation, Goodwill, Noncurrent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Assets [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationPayoutOfAccruedContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination payout of accrued contingent compensation.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationPayoutOfAccruedContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Payout Of Accrued Contingent Compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationPayoutOfAccruedContingentCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Payout of accrued contingent compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GrossProfit_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Gross Profit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GrossProfit_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Gross profit</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingLossCarrybackTerm_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating loss carryback term.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingLossCarrybackTerm_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating Loss Carryback Term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingLossCarrybackTerm_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating loss carryback term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Prepaid Expense and Other Assets, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Prepaid expenses and other current assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCrossCurrencySwaps_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of cross currency swaps</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCrossCurrencySwaps_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of cross currency swaps.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SeriesAPreferredStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Series A Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SeriesAPreferredStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Series A Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SeriesAPreferredStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Series A Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetInvestmentHedgingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Investment Hedging [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetInvestmentHedgingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net Investment Hedges [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetInvestmentHedgingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Net Investment Hedge [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Lived Tangible Asset [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Long-Lived Tangible Asset</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Restructuring and Related Costs [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Pension and post-retirement obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Pension and post-retirement obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Pension And Postretirement Obligations</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination recognized identifiable assets acquired and liabilities assumed pension and postretirement obligations.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsShares_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Preferred share dividend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsShares_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Dividends, Shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsShares_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred Share dividend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Debt, Current, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Short-term and current portion of long-term debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtCurrent_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel">Less: short-term and current portion of long-term debt</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock and Warrants Issued During Period, Value, Preferred Stock and Warrants</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Warrants exercised</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Shareholders' Equity and Redeemable Convertible Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Shareholders' and Mezzanine Equity</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Shareholders' Equity and Share-Based Payments [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Liabilities, Redeemable Convertible Preferred Stock, and Shareholders' Equity</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities and Equity [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Supplemental Condensed Consolidated Balance Sheets Information Related to Pension</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Amounts Recognized in Balance Sheet [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_GoodwillImpairmentLossRelatedToBusinessDivestiture_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill impairment loss related to business divestiture</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_GoodwillImpairmentLossRelatedToBusinessDivestiture_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill Impairment Loss Related to Business Divestiture</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_GoodwillImpairmentLossRelatedToBusinessDivestiture_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Goodwill impairment loss related to business divestiture.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Contingent Consideration Arrangements Maximum Potential Payout</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination contingent consideration arrangements maximum potential payout.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum potential payout at end of period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">2027</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability payments due year five.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Payments Due Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2025</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LandMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Land [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LandMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Land [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net periodic benefit cost, discount rate, service cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan Assumptions Used Calculating Net Periodic Benefit Cost Discount Rate Service Cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined benefit plan assumptions used calculating net periodic benefit cost discount rate service cost.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxesPaidNet_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Income Taxes Paid, Net, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxesPaidNet_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Taxes Paid, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxesPaidNet_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash paid for income taxes, net of refunds</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Antidilutive Securities, Name [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxAuthorityAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Authority [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeTaxAuthorityAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Tax Authority</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TypeOfRestructuringDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Type of Restructuring [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred Stock [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Assets, Current [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current assets:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Segment Reporting Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Segment Information</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchaseProgramExpirationDate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock repurchase program expiration date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchaseProgramExpirationDate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Repurchase Program Expiration Date</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ManagementFeeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Management Fee Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ManagementFeeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Advisory service fees payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueFromRelatedParties_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net revenues from related party</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueFromRelatedParties_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue from Related Parties</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Supplemental AOCI Information within Shareholders' Equity In Condensed Consolidated Balance Sheets Related to Pension</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Amounts Recognized in Other Comprehensive Income (Loss) [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability payments due thereafter.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Payments Due Thereafter</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Thereafter</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TransmissionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Transmission [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TransmissionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Transmission [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TransmissionMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Transmission [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Amortization of prior service cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Comprehensive (Income) Loss, Defined Benefit Plan, Prior Service Cost (Credit), before Tax</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPensionPlansForeignCashContributions_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign defined benefit pension plans, cash contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPensionPlansForeignCashContributions_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined benefit pension plans, foreign, cash contributions</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPensionPlansForeignCashContributions_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined benefit pension plans, foreign, cash contributions.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfGoodwillTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Goodwill [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfGoodwillTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Changes In Carrying Amounts of Goodwill By Reportable Segments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Hierarchy and NAV [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value Hierarchy and NAV</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating income (loss) from acquisition</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Pro Forma Information Operating Income Loss Of Acquiree Since Acquisition Date Actual</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination pro forma information operating income loss of acquiree since acquisition date actual.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ConversionRatio_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Conversion ratio.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ConversionRatio_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Conversion Ratio</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ConversionRatio_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Conversion Ratio</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Changes in operating assets and liabilities, net of effects of acquisitions:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Increase (Decrease) in Operating Capital [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SaleOfStockConsiderationReceivedPerTransaction_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Aggregate purchase price</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SaleOfStockConsiderationReceivedPerTransaction_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Sale of Stock, Consideration Received Per Transaction</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtLongtermAndShorttermCombinedAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt, Long-Term and Short-Term, Combined Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtLongtermAndShorttermCombinedAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total debt, net of deferred financing costs</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RelatedPartyTransactionLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Related Party Transaction [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RelatedPartyTransactionLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Related Party Transaction [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LeaseCostAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lease, Cost [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total present value of lease liabilities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Annual dividend calculated based on share price appreciation over the initial offering price.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Annual Dividend Calculated Based On Share Price Appreciation Over Initial Offering Price</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Annual dividend calculated based on price appreciate over the initial offering price</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Restructuring</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restructuring and Related Activities Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccruedSalariesCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accrued Salaries, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccruedSalariesCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accrued salaries and wages</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_CoverAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cover [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Shares issuable upon conversion of Series B Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Incremental Common Shares Attributable to Dilutive Effect of Conversion of Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Provision for deduction of business meals expenses purchased percentage.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Provision For Deduction Of Business Meals Expenses Purchased Percentage</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Provision for percent deduction for business meal expenses purchased</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_OtherLiabilitiesNoncurrentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Other Liabilities, Noncurrent [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ProductsAndServicesDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Product and Service [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_ProductsAndServicesDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Product and Service</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Changes and Error Corrections [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsAccumulatedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accumulated benefit obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsAccumulatedBenefitObligation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Pension Plan with Projected Benefit Obligation in Excess of Plan Assets, Accumulated Benefit Obligation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Acquired Finite-Lived Intangible Assets, Weighted Average Useful Life</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeBenefitsAndShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefits and Share-Based Compensation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_EmployeeBenefitsAndShareBasedCompensation_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expense related to ESPP</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Operating and finance leases - non-current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance leases liability non-current.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Leases Liability Non Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeasesLiabilityNonCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating and finance leases</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2027</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Lessee, Operating Lease, Liability, to be Paid, Year Five</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Vested</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Vested</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillImpairmentLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill, Impairment Loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillImpairmentLoss_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill impairment charges</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities, Current [Abstract]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current liabilities:</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_MaximumMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Maximum [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_MaximumMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NumberOfCountriesInWhichEntityOperates_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of countries segments derive</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NumberOfCountriesInWhichEntityOperates_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of Countries in which Entity Operates</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsGainLossLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Instruments, Gain (Loss) [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentsGainLossLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative Instruments, Gain (Loss) [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net cash provided by (used in) investing activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided by (Used in) Investing Activities</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CivilMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Civil [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CivilMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Civil [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CivilMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Civil [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Unrecognized Tax Benefits, Interest on Income Taxes Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income tax interest expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PublicEquitiesAndFixedIncomeSecuritiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Public Equities and Fixed Income Securities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PublicEquitiesAndFixedIncomeSecuritiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Public Equities and Fixed Income Securities [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_PublicEquitiesAndFixedIncomeSecuritiesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Public equities and fixed income securities.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Goodwill and Intangible Assets Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Goodwill and Intangibles</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel3Member_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Significant Unobservable Inputs Level 3 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel3Member_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Inputs, Level 3 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueInputsLevel3Member_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value, Inputs, Level 3 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Defined Benefit Pension and Postretirement Plans [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FourPointSevenFiveZeroPercentageSeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">4.750% Senior Notes [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FourPointSevenFiveZeroPercentageSeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Four point seven five zero percentage senior notes [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_FourPointSevenFiveZeroPercentageSeniorNotesMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">4.750% Senior Notes.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CustomersWithPaymentTerms_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Customers with payment terms.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CustomersWithPaymentTerms_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Customers With Payment Terms</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CustomersWithPaymentTerms_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Customers with payment terms</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NetOperatingLossCarryforwardsCarryforwardPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Net operating loss carryforwards, carryforward period.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NetOperatingLossCarryforwardsCarryforwardPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Operating Loss Carryforwards Carryforward Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NetOperatingLossCarryforwardsCarryforwardPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating loss carryforwards, carryforward term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Proceeds From Sales Of Property Equipment Held For Sale Assets And Disposals Of Businesses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Proceeds from sales of property, equipment, held for sale assets, and businesses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Proceeds from sales of property, equipment, held for sale assets and disposals of businesses.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Remainder of 2022</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Maturity, Remainder of Fiscal Year</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsAndOtherAdjustments_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Less income attributable to Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsAndOtherAdjustments_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel">Less income attributable to Preferred Stock</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsAndOtherAdjustments_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Dividends and Other Adjustments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PreferredStockDividendsAndOtherAdjustments_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Preferred Stock Dividends and Other Adjustments, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentReportingPolicyPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Resegmentation</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SegmentReportingPolicyPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Segment Reporting, Policy [Policy Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesInWhichRetirementPlansSponsored_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Number of countries in which retirement plans sponsored</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_NumberOfCountriesInWhichRetirementPlansSponsored_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of countries in which retirement plans sponsored</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AqueousFilmFormingFoamMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Aqueous Film Forming Foam [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AqueousFilmFormingFoamMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Aqueous film forming foam.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CapitalExpenditures_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Capital expenditures.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CapitalExpenditures_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Capital Expenditures</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_CapitalExpenditures_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Capital expenditures</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_RestrictedSharesTenderedForTaxes_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Restricted shares tendered for taxes.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_RestrictedSharesTenderedForTaxes_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Restricted Shares Tendered For Taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_RestrictedSharesTenderedForTaxes_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Restricted shares tendered for taxes</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanNumberOfPlans_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined benefit plan number of plans</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_DefinedBenefitPlanNumberOfPlans_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Defined benefit plan number of plans</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentUsefulLife_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment, Useful Life</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentUsefulLife_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Property, Plant and Equipment, Useful Life</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Investment expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Investment Income, Investment Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedContributionPlanCostRecognized_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Contribution Plan, Cost</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedContributionPlanCostRecognized_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expense recognized</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock repurchase program, remaining authorized amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Repurchase Program, Remaining Authorized Repurchase Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueHedgeAssetsAtFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Fair value of hedges</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueHedgeAssetsAtFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Hedge Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignCountryMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Foreign Tax Authority [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ForeignCountryMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Foreign Tax Authority [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentCarryingAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentCarryingAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Incremental term loan</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentCarryingAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Gross</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentCarryingAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Non-Variable Interest Rate Debt, Carrying Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock, Shares Authorized</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common shares authorized</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_TradingSymbol_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Trading Symbol</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_TradingSymbol_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Trading Symbol</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_OwnershipAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Ownership [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="srt_OwnershipAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Ownership</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net income (loss) attributable to common shareholders - diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Net Income (Loss) Available to Common Stockholders, Diluted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationLiabilityForDeferredPayments_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Business combination, liability for deferred payments.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationLiabilityForDeferredPayments_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination Liability For Deferred Payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_BusinessCombinationLiabilityForDeferredPayments_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Liability for deferred payments</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash Flow Hedging Instruments, Unrealized Gain (Loss) [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Shares issuable pursuant to the annual Series A Preferred Stock dividend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Incremental Common Shares Attributable To Dilutive Effect Of Shares Issuable Pursuant To Annual Preferred Share Dividend</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Incremental common shares attributable to dilutive effect of shares issuable pursuant to annual preferred share dividend.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Selling, General and Administrative Expense, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Selling, General and Administrative Expense</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Selling, general, and administrative expenses</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueHedgingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value Hedges [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueHedgingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Hedging [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BalanceSheetLocationAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Balance Sheet Location [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BalanceSheetLocationAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Balance Sheet Location</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Comprehensive Income (Loss), Net of Tax, Attributable to Parent</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Comprehensive income (loss)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Risk-free interest rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Adjustments to additional paid in capital shares cancelled shares.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Adjustments To Additional Paid In Capital Shares Cancelled Shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Share cancellations (shares)</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Accounts Payable, Current, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Payable, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts payable</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_lbl" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Settlements</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Accumulated Other Comprehensive Income (Loss) [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted-average fair value, expected to vest</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Share based compensation arrangement by share based payment award, equity instruments other than options, expected to vest, weighted average grant date fair value.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Expected To Vest Weighted Average Grant Date Fair Value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Weighted-Average Grant Date Fair Value Per Share, Expected to vest, Ending Balance</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Related Party Transactions, by Related Party [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Related Party Transactions By Related Party [Table]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashFlowHedgingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cash Flow Hedging [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CashFlowHedgingMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash Flow Hedging [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TreasuryStockSharesAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Repurchases of common stock, shares</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TreasuryStockSharesAcquired_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Treasury Stock, Shares, Acquired</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwentyTwentyTwoRestructuringProgramMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2022 Restructuring Program [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwentyTwentyTwoRestructuringProgramMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Twenty Twenty Two Restructuring Program [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_TwentyTwentyTwoRestructuringProgramMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Twenty twenty two restructuring program.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Lived Tangible Asset [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Long-Lived Tangible Asset</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentTerm_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument, Term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DebtInstrumentTerm_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt instrument term</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Disposal Group, Including Discontinued Operation, Assets, Current</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Disposal Group, Including Discontinued Operation, Assets, Current, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock, Par or Stated Value Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock, par value</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TradingActivityByTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Trading Activity, by Type [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_TradingActivityByTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Trading Activity, by Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeptemberTwentyTwentySevenMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">September 2027 [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeptemberTwentyTwentySevenMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">September Twenty Twenty Seven [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_SeptemberTwentyTwentySevenMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">September Twenty Twenty Seven [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Granted</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanDisclosureLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan Disclosure [Line Items]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentRiskAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Derivative Instrument [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DerivativeInstrumentRiskAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Derivative Instrument</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Defined Benefit Plan, Pension Plan with Projected Benefit Obligation in Excess of Plan Assets, Plan Assets, Total</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair value of plan assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Pension Plan with Projected Benefit Obligation in Excess of Plan Assets, Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Remaining performance obligations period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Period</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Property, Plant and Equipment Disclosure [Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Property and Equipment, Net</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other Changes in Plan Assets and Benefit Obligations Recognized in Other Comprehensive (Income) Loss</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Schedule of Defined Benefit Plan Amounts Recognized in Other Comprehensive Income (Loss) [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">2025</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Operating and finance lease liability payments due year three.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Operating And Finance Lease Liability Payments Due Year Three</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2023</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other noncurrent assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConversionOfStockByUniqueDescriptionAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Stock Conversion Description [Axis]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ConversionOfStockByUniqueDescriptionAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock Conversion Description</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongtermDebtTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Long-Term Debt, Type [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_LongtermDebtTypeDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Long-term Debt, Type</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Antidilutive Securities Excluded from Calculation of Diluted Earnings Per Share</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ChubbLimitedFireAndSecurityBusinessMember_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Chubb Limited Fire and Security Business [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ChubbLimitedFireAndSecurityBusinessMember_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Chubb Limited fire and security business.</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ChubbLimitedFireAndSecurityBusinessMember_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Chubb Limited Fire And Security Business [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="apg_ChubbLimitedFireAndSecurityBusinessMember_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Chubb Limited (&#8220;Chubb&#8221;) Fire and Security Business [Member]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Indefinite-Lived Intangible Assets, Major Class Name [Domain]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Indefinite-lived Intangible Assets, Major Class Name</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Expected return on plan assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Defined Benefit Plan, Expected Return (Loss) on Plan Assets</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table Text Block]</link:label>
    <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Reconciliation Operating Income to EBITDA</link:label>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:to="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressCityOrTown" xlink:to="dei_EntityAddressCityOrTown_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockRepurchasedDuringPeriodValue" xlink:to="us-gaap_StockRepurchasedDuringPeriodValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTextBlock" xlink:to="us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="country_FR" xlink:to="country_FR_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock" xlink:to="us-gaap_ScheduleOfBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage" xlink:to="us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareAbstract" xlink:to="us-gaap_EarningsPerShareAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_APIGroupDEIncorporationMember" xlink:to="apg_APIGroupDEIncorporationMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AnnualDividendSharesPreferredStock" xlink:to="apg_AnnualDividendSharesPreferredStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel1Member" xlink:to="us-gaap_FairValueInputsLevel1Member_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseOptionToTerminate" xlink:to="us-gaap_LesseeOperatingLeaseOptionToTerminate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DomesticCountryMember" xlink:to="us-gaap_DomesticCountryMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_WeightedAverageRemainingLeaseTermAbstract" xlink:to="apg_WeightedAverageRemainingLeaseTermAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:to="us-gaap_StockIssuedDuringPeriodValueNewIssues_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CrossCurrencyInterestRateContractMember" xlink:to="us-gaap_CrossCurrencyInterestRateContractMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition" xlink:to="apg_EstimatedDepreciationExpenseBasedOnFairValueOfAcquisition_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:to="us-gaap_IntangibleAssetsGrossExcludingGoodwill_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PerformanceStockUnitsPsusMember" xlink:to="apg_PerformanceStockUnitsPsusMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DividendAttributableToPreferredStock" xlink:to="apg_DividendAttributableToPreferredStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCredit" xlink:to="us-gaap_LineOfCredit_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NumberOfSharesUsedToCalculateAnnualDividend" xlink:to="apg_NumberOfSharesUsedToCalculateAnnualDividend_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SpecialtyContractingMember" xlink:to="apg_SpecialtyContractingMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:to="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityInterestRateDuringPeriod" xlink:to="us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_CommonStockSharesPurchasedByUnderwriters" xlink:to="apg_CommonStockSharesPurchasedByUnderwriters_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLossCarryforwardsTable" xlink:to="us-gaap_OperatingLossCarryforwardsTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:to="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfSalesMember" xlink:to="us-gaap_CostOfSalesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:to="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Goodwill" xlink:to="us-gaap_Goodwill_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxAssetsNet" xlink:to="us-gaap_DeferredIncomeTaxAssetsNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseRightOfUseAsset" xlink:to="us-gaap_OperatingLeaseRightOfUseAsset_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock" xlink:to="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FixedIncomeSecuritiesMember" xlink:to="us-gaap_FixedIncomeSecuritiesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:to="us-gaap_RevenueRemainingPerformanceObligationPercentage_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentQuarterlyReport" xlink:to="dei_DocumentQuarterlyReport_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedTranslationAdjustmentMember" xlink:to="us-gaap_AccumulatedTranslationAdjustmentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ContractualBacklogMember" xlink:to="apg_ContractualBacklogMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockNoParValue" xlink:to="us-gaap_PreferredStockNoParValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortTermDebtLineItems" xlink:to="us-gaap_ShortTermDebtLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:to="us-gaap_OperatingLeaseLiabilityNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:to="us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_JointVenturesMember" xlink:to="apg_JointVenturesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect" xlink:to="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingLossCarryforwardsExpirationYear" xlink:to="apg_OperatingLossCarryforwardsExpirationYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:to="us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure" xlink:to="apg_ContingentConsiderationObligationsClassifiedAsLiabilitiesFairValueDisclosure_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfOperatingSegments" xlink:to="us-gaap_NumberOfOperatingSegments_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:to="us-gaap_LondonInterbankOfferedRateLIBORMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNoncurrentLiabilitiesMember" xlink:to="us-gaap_OtherNoncurrentLiabilitiesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesOutstanding" xlink:to="us-gaap_PreferredStockSharesOutstanding_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionAxis" xlink:to="us-gaap_BusinessAcquisitionAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MachineryAndEquipmentMember" xlink:to="us-gaap_MachineryAndEquipmentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringCharges" xlink:to="us-gaap_RestructuringCharges_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockNoParValue" xlink:to="us-gaap_CommonStockNoParValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_LesseeOperatingAndFinancingLeasesTextBlock" xlink:to="apg_LesseeOperatingAndFinancingLeasesTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SeriesBPreferredStockMember" xlink:to="us-gaap_SeriesBPreferredStockMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustments" xlink:to="us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustments_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NatureOfOperations" xlink:to="us-gaap_NatureOfOperations_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock" xlink:to="apg_ScheduleOfSupplementalBalanceSheetInformationTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationDisclosureTextBlock" xlink:to="us-gaap_BusinessCombinationDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxAuthorityDomain" xlink:to="us-gaap_IncomeTaxAuthorityDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour" xlink:to="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingStandardsUpdate201912Member" xlink:to="us-gaap_AccountingStandardsUpdate201912Member_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_HedgingRelationshipDomain" xlink:to="us-gaap_HedgingRelationshipDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ProductOrServiceAxis" xlink:to="srt_ProductOrServiceAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockMember" xlink:to="us-gaap_EmployeeStockMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:to="us-gaap_BusinessCombinationContingentConsiderationLiability_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NumberOfCountriesExpandingOperations" xlink:to="apg_NumberOfCountriesExpandingOperations_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xlink:to="us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:to="us-gaap_FiniteLivedIntangibleAssetUsefulLife_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IndefinitelivedIntangibleAssetsAcquired" xlink:to="us-gaap_IndefinitelivedIntangibleAssetsAcquired_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SpecialtyServicesMember" xlink:to="apg_SpecialtyServicesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupClassificationDomain" xlink:to="us-gaap_DisposalGroupClassificationDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockOptionMember" xlink:to="us-gaap_EmployeeStockOptionMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:to="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:to="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsReceivableRelatedParties" xlink:to="us-gaap_AccountsReceivableRelatedParties_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent" xlink:to="us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue" xlink:to="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentsPolicy" xlink:to="us-gaap_EquityMethodInvestmentsPolicy_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan" xlink:to="us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan" xlink:to="us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted" xlink:to="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityIncorporationStateCountryCode" xlink:to="dei_EntityIncorporationStateCountryCode_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeStatementAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwoThousandTwentyTermLoanMember" xlink:to="apg_TwoThousandTwentyTermLoanMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock" xlink:to="us-gaap_ScheduleOfAccumulatedBenefitObligationsInExcessOfFairValueOfPlanAssetsTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" xlink:to="us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeLiabilities" xlink:to="us-gaap_DerivativeLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityCurrent" xlink:to="us-gaap_FinanceLeaseLiabilityCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SaleOfStockNameOfTransactionDomain" xlink:to="us-gaap_SaleOfStockNameOfTransactionDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractWithCustomerAssetNetCurrent" xlink:to="us-gaap_ContractWithCustomerAssetNetCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLossCarryforwards" xlink:to="us-gaap_OperatingLossCarryforwards_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:to="us-gaap_LossContingenciesByNatureOfContingencyAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasicLineItems" xlink:to="us-gaap_EarningsPerShareBasicLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:to="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAcquiredFromAcquisition" xlink:to="us-gaap_CashAcquiredFromAcquisition_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NumberOfCountries" xlink:to="apg_NumberOfCountries_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="us-gaap_BusinessAcquisitionAcquireeDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestExpense" xlink:to="us-gaap_InterestExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TradeNamesMember" xlink:to="us-gaap_TradeNamesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PlusAbstract" xlink:to="apg_PlusAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock" xlink:to="us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessAcquisitionOtherAdjustments" xlink:to="apg_BusinessAcquisitionOtherAdjustments_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PercentageOfIncreaseInWeightedAverageMarketPrice" xlink:to="apg_PercentageOfIncreaseInWeightedAverageMarketPrice_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInContractWithCustomerLiability" xlink:to="us-gaap_IncreaseDecreaseInContractWithCustomerLiability_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_USTreasuryAndGovernmentMember" xlink:to="us-gaap_USTreasuryAndGovernmentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember" xlink:to="apg_MultiemployerPensionAndOtherMultiemployerBenefitPlansAndTrustsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DividendsPreferredStock" xlink:to="us-gaap_DividendsPreferredStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesAuthorized" xlink:to="us-gaap_PreferredStockSharesAuthorized_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessAcquisitionTransactionCosts" xlink:to="apg_BusinessAcquisitionTransactionCosts_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:to="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockLiquidationPreference" xlink:to="us-gaap_PreferredStockLiquidationPreference_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeAssets" xlink:to="us-gaap_DerivativeAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:to="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_EquityMethodInvesteeNameDomain" xlink:to="srt_EquityMethodInvesteeNameDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIssuanceOrSaleOfEquity" xlink:to="us-gaap_ProceedsFromIssuanceOrSaleOfEquity_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VariableRateAxis" xlink:to="us-gaap_VariableRateAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueInNextTwelveMonths_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntitySmallBusiness" xlink:to="dei_EntitySmallBusiness_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfReportableSegments" xlink:to="us-gaap_NumberOfReportableSegments_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfArrangementAxis" xlink:to="us-gaap_TypeOfArrangementAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:to="us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringAndRelatedActivitiesAbstract" xlink:to="us-gaap_RestructuringAndRelatedActivitiesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock" xlink:to="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingStandardsUpdate202001Member" xlink:to="us-gaap_AccountingStandardsUpdate202001Member_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringReserve" xlink:to="us-gaap_RestructuringReserve_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract" xlink:to="us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_CorporateAndEliminationsMember" xlink:to="apg_CorporateAndEliminationsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:to="us-gaap_DebtInstrumentRedemptionPeriodDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock" xlink:to="us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TrademarksAndTradeNamesMember" xlink:to="us-gaap_TrademarksAndTradeNamesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShortTermDebtTable" xlink:to="us-gaap_ScheduleOfShortTermDebtTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements" xlink:to="apg_BusinessCombinationContingentConsiderationArrangementsNumberOfOpenArrangements_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xlink:to="us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiability" xlink:to="us-gaap_FinanceLeaseLiability_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CityAreaCode" xlink:to="dei_CityAreaCode_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" xlink:to="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" xlink:to="us-gaap_ScheduleOfNetBenefitCostsTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear" xlink:to="apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomeNoteTextBlock" xlink:to="us-gaap_ComprehensiveIncomeNoteTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:to="us-gaap_DefinedBenefitPlanFundedStatusOfPlan_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockLiquidationPreferenceValue" xlink:to="us-gaap_PreferredStockLiquidationPreferenceValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgesLiabilitiesNoncurrent" xlink:to="us-gaap_DerivativeInstrumentsAndHedgesLiabilitiesNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_Liabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants" xlink:to="apg_StockAndWarrantsIssuedDuringPeriodSharesWarrants_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:to="us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock" xlink:to="apg_ScheduleOfShareBasedPaymentAwardValuationAssumptionsTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInContractWithCustomerAsset" xlink:to="us-gaap_IncreaseDecreaseInContractWithCustomerAsset_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock" xlink:to="apg_ScheduleOfNonvestedRestrictedStockUnitsAndPerformanceBasedRestrictedStockUnitsActivityTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationAccruedConsiderationPaidOutPeriod" xlink:to="apg_BusinessCombinationAccruedConsiderationPaidOutPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ReductionInInterestExpense" xlink:to="apg_ReductionInInterestExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DividendsPayableDateDeclaredDayMonthAndYear" xlink:to="us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeAxis" xlink:to="srt_RangeAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SeriesAPreferredSharesMember" xlink:to="apg_SeriesAPreferredSharesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_InsuranceReservesNonCurrent" xlink:to="apg_InsuranceReservesNonCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation" xlink:to="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths" xlink:to="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_LiabilityForDeferredPaymentsRecognitionPeriod" xlink:to="apg_LiabilityForDeferredPaymentsRecognitionPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringCosts" xlink:to="us-gaap_RestructuringCosts_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VehiclesMember" xlink:to="us-gaap_VehiclesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits" xlink:to="apg_DefinedBenefitPlanAssetsPensionAndPostRetirementBenefits_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PensionAndPostRetirementLiabilitiesNonCurrent" xlink:to="apg_PensionAndPostRetirementLiabilitiesNonCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:to="us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_DerivativeContractTypeDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:to="us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsDue" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsDue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StateAndLocalJurisdictionMember" xlink:to="us-gaap_StateAndLocalJurisdictionMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:to="us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:to="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareDiluted" xlink:to="us-gaap_EarningsPerShareDiluted_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetirementPlanTypeAxis" xlink:to="us-gaap_RetirementPlanTypeAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_LifeSafetyMember" xlink:to="apg_LifeSafetyMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:to="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease" xlink:to="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract" xlink:to="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentDiscontinuedOperationsMember" xlink:to="us-gaap_SegmentDiscontinuedOperationsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressPostalZipCode" xlink:to="dei_EntityAddressPostalZipCode_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedCash" xlink:to="us-gaap_RestrictedCash_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OfficeEquipmentMember" xlink:to="us-gaap_OfficeEquipmentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" xlink:to="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_WeightedAveragePriceOfCommonStock" xlink:to="apg_WeightedAveragePriceOfCommonStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevolvingCreditFacilityMember" xlink:to="us-gaap_RevolvingCreditFacilityMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsValuationAllowance" xlink:to="us-gaap_DeferredTaxAssetsValuationAllowance_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockValue" xlink:to="us-gaap_PreferredStockValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingencyPendingClaimsNumber" xlink:to="us-gaap_LossContingencyPendingClaimsNumber_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:to="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_LineOfCreditNetOfLettersOfCreditOutstanding" xlink:to="apg_LineOfCreditNetOfLettersOfCreditOutstanding_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentIncomeInterest" xlink:to="us-gaap_InvestmentIncomeInterest_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_FabricationMember" xlink:to="apg_FabricationMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiability" xlink:to="us-gaap_OperatingLeaseLiability_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NotesPayable" xlink:to="us-gaap_NotesPayable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementOfFinancialPositionAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_WeightedAverageDiscountRateAbstract" xlink:to="apg_WeightedAverageDiscountRateAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:to="us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupClassificationAxis" xlink:to="us-gaap_DisposalGroupClassificationAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFileNumber" xlink:to="dei_EntityFileNumber_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScenarioUnspecifiedDomain" xlink:to="srt_ScenarioUnspecifiedDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:to="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsDue" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsDue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementOfCashFlowsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpenses_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NonServicePensionBenefit" xlink:to="apg_NonServicePensionBenefit_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:to="us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" xlink:to="us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SegmentGeographicalDomain" xlink:to="srt_SegmentGeographicalDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherOperatingIncomeExpenseNet" xlink:to="us-gaap_OtherOperatingIncomeExpenseNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeMember" xlink:to="srt_RangeMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="us-gaap_StatementOfStockholdersEquityAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsidiarySaleOfStockAxis" xlink:to="us-gaap_SubsidiarySaleOfStockAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets" xlink:to="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ClassOfStockDomain" xlink:to="us-gaap_ClassOfStockDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConversionOfStockSharesIssued1" xlink:to="us-gaap_ConversionOfStockSharesIssued1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresTextBlock" xlink:to="us-gaap_FairValueDisclosuresTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:to="us-gaap_ProceedsFromIssuanceOfCommonStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongtermDebtTypeAxis" xlink:to="us-gaap_LongtermDebtTypeAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedTaxesPayable" xlink:to="us-gaap_IncreaseDecreaseInAccruedTaxesPayable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="currency_EUR" xlink:to="currency_EUR_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter" xlink:to="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeasesLiabilityCurrent" xlink:to="apg_OperatingAndFinanceLeasesLiabilityCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:to="us-gaap_DeferredIncomeTaxLiabilitiesNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetRetirementObligationsNoncurrent" xlink:to="us-gaap_AssetRetirementObligationsNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TimeBasedRestrictedStockUnitsMember" xlink:to="apg_TimeBasedRestrictedStockUnitsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TemporaryEquityAbstract" xlink:to="us-gaap_TemporaryEquityAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:to="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PensionAndOtherPostretirementPlansPensionsPolicy" xlink:to="us-gaap_PensionAndOtherPostretirementPlansPensionsPolicy_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockParOrStatedValuePerShare" xlink:to="us-gaap_PreferredStockParOrStatedValuePerShare_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractWithCustomerLiabilityCurrent" xlink:to="us-gaap_ContractWithCustomerLiabilityCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingencyNatureDomain" xlink:to="us-gaap_LossContingencyNatureDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeLeaseDescriptionLineItems" xlink:to="us-gaap_LesseeLeaseDescriptionLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:to="us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MultiemployerPlansLineItems" xlink:to="us-gaap_MultiemployerPlansLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NonmonetaryTransactionTypeDomain" xlink:to="us-gaap_NonmonetaryTransactionTypeDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="us-gaap_CreditFacilityDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsTextBlock" xlink:to="us-gaap_SubsequentEventsTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfMultiemployerPlansTable" xlink:to="us-gaap_ScheduleOfMultiemployerPlansTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NondesignatedMember" xlink:to="us-gaap_NondesignatedMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:to="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:to="us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CorporateDebtSecuritiesMember" xlink:to="us-gaap_CorporateDebtSecuritiesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:to="us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NumberOfLocationsInWhichEntityOperates" xlink:to="apg_NumberOfLocationsInWhichEntityOperates_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired" xlink:to="apg_BusinessCombinationConsiderationTransferredIncludingCashAcquired_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember" xlink:to="apg_DefinedBenefitPlanGlobalEquityFundsAtNavMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember" xlink:to="us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Depreciation" xlink:to="us-gaap_Depreciation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeMaturityDates" xlink:to="us-gaap_DerivativeMaturityDates_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SeriesBPreferredSharesMember" xlink:to="apg_SeriesBPreferredSharesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NumberOfCountriesOfSignificantBusinessOperations1" xlink:to="apg_NumberOfCountriesOfSignificantBusinessOperations1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockRepurchasedDuringPeriodShares" xlink:to="us-gaap_StockRepurchasedDuringPeriodShares_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="currency_CAD" xlink:to="currency_CAD_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressAddressLine1" xlink:to="dei_EntityAddressAddressLine1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RepaymentsOfLongTermDebt" xlink:to="us-gaap_RepaymentsOfLongTermDebt_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:to="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable" xlink:to="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalCashFlowInformationAbstract" xlink:to="us-gaap_SupplementalCashFlowInformationAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted" xlink:to="apg_NetIncomeLossAvailableToCommonStockholdersBasicAndDiluted_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AccountsReceivableIncludesRetentionsReceivable" xlink:to="apg_AccountsReceivableIncludesRetentionsReceivable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseRightOfUseAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DividendsPreferredStockStock" xlink:to="us-gaap_DividendsPreferredStockStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityAbstract" xlink:to="us-gaap_LineOfCreditFacilityAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:to="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation" xlink:to="us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFour_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NoncashLeaseExpense" xlink:to="apg_NoncashLeaseExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SeniorNotesMember" xlink:to="us-gaap_SeniorNotesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract" xlink:to="us-gaap_FinanceLeaseLiabilitiesPaymentsDueAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesIssued" xlink:to="us-gaap_PreferredStockSharesIssued_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BalanceSheetLocationDomain" xlink:to="us-gaap_BalanceSheetLocationDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems" xlink:to="us-gaap_SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForeignExchangeContractMember" xlink:to="us-gaap_ForeignExchangeContractMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherSundryLiabilitiesNoncurrent" xlink:to="us-gaap_OtherSundryLiabilitiesNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceLeaseLiability_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRemainingPerformanceObligation" xlink:to="us-gaap_RevenueRemainingPerformanceObligation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate" xlink:to="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityTable" xlink:to="us-gaap_LineOfCreditFacilityTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses" xlink:to="apg_InvestmentHedgeAmountAmortizedFromAociIntoInterestExpenses_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate" xlink:to="us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:to="us-gaap_StockIssuedDuringPeriodSharesNewIssues_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:to="us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation" xlink:to="us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_FourPointOneTwoFivePercentageSeniorNotesMember" xlink:to="apg_FourPointOneTwoFivePercentageSeniorNotesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_HeatingVentilationAndAirConditioningMember" xlink:to="apg_HeatingVentilationAndAirConditioningMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AcquisitionOfConstructionEquipmentAndVehiclesMember" xlink:to="apg_AcquisitionOfConstructionEquipmentAndVehiclesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:to="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount" xlink:to="apg_OperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CurrencyAxis" xlink:to="srt_CurrencyAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_EquityAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AppreciationOfSharePrice" xlink:to="apg_AppreciationOfSharePrice_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingIncomeLoss" xlink:to="us-gaap_OperatingIncomeLoss_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SharePriceBasedRestrictedStockUnitsMember" xlink:to="apg_SharePriceBasedRestrictedStockUnitsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingMember" xlink:to="us-gaap_BuildingMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseOptionToExtend" xlink:to="us-gaap_LesseeOperatingLeaseOptionToExtend_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="us-gaap_RelatedPartyDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TemporaryEquityCarryingAmountAttributableToParent" xlink:to="us-gaap_TemporaryEquityCarryingAmountAttributableToParent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DividendAttributableToPreferredStockDiluted" xlink:to="apg_DividendAttributableToPreferredStockDiluted_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:to="us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StatementScenarioAxis" xlink:to="srt_StatementScenarioAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ProfitSharingPlanMember" xlink:to="apg_ProfitSharingPlanMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwoThousandAndTwentyAcquisitionsMember" xlink:to="apg_TwoThousandAndTwentyAcquisitionsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsAndTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:to="us-gaap_AccruedLiabilitiesAndOtherLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFilerCategory" xlink:to="dei_EntityFilerCategory_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NonmonetaryTransactionTypeAxis" xlink:to="us-gaap_NonmonetaryTransactionTypeAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare" xlink:to="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverHighestPricePerShare_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringPlanDomain" xlink:to="us-gaap_RestructuringPlanDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:to="us-gaap_PreferredStockDividendsIncomeStatementImpact_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostRetirementBenefits_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCurrentReportingStatus" xlink:to="dei_EntityCurrentReportingStatus_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillForeignCurrencyTranslationGainLoss" xlink:to="us-gaap_GoodwillForeignCurrencyTranslationGainLoss_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetInvestmentIncome" xlink:to="us-gaap_NetInvestmentIncome_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConversionOfStockNameDomain" xlink:to="us-gaap_ConversionOfStockNameDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_AmericasMember" xlink:to="srt_AmericasMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsHeldForSale_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwoThousandTwentyOneTermLoanMember" xlink:to="apg_TwoThousandTwentyOneTermLoanMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization" xlink:to="apg_OperatingIncomeLossEarningsBeforeInterestTaxesDepreciationAndAmortization_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsMember" xlink:to="us-gaap_OtherAssetsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationsAbstract" xlink:to="us-gaap_BusinessCombinationsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareDilutedAbstract" xlink:to="us-gaap_EarningsPerShareDilutedAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BaseRateMember" xlink:to="us-gaap_BaseRateMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:to="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityTaxIdentificationNumber" xlink:to="dei_EntityTaxIdentificationNumber_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OtherTwoThousandAndTwentyOneAcquisitionsMember" xlink:to="apg_OtherTwoThousandAndTwentyOneAcquisitionsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FixedIncomeInterestRateMember" xlink:to="us-gaap_FixedIncomeInterestRateMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockValue" xlink:to="us-gaap_CommonStockValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SecuredDebt" xlink:to="us-gaap_SecuredDebt_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationAbstract" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquipmentMember" xlink:to="us-gaap_EquipmentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_StatementEquityComponentsAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease" xlink:to="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ConsolidatedEntitiesDomain" xlink:to="srt_ConsolidatedEntitiesDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringReserveTranslationAndOtherAdjustment" xlink:to="us-gaap_RestructuringReserveTranslationAndOtherAdjustment_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesDisclosureTextBlock" xlink:to="us-gaap_OtherLiabilitiesDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfAdoptionMember" xlink:to="us-gaap_TypeOfAdoptionMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_MarketBasedRestrictedStockUnitsMember" xlink:to="apg_MarketBasedRestrictedStockUnitsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PaymentOfInvoices" xlink:to="apg_PaymentOfInvoices_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredFinanceCostsGross" xlink:to="us-gaap_DeferredFinanceCostsGross_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_MaximumValueOfCommonStockPurchasedDuringPeriod" xlink:to="apg_MaximumValueOfCommonStockPurchasedDuringPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CustomerRelationshipsMember" xlink:to="us-gaap_CustomerRelationshipsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisaggregationOfRevenueTable" xlink:to="us-gaap_DisaggregationOfRevenueTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree" xlink:to="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AdjustmentOfCumulativeAmortizationExpenseReversed" xlink:to="apg_AdjustmentOfCumulativeAmortizationExpenseReversed_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable" xlink:to="apg_FiniteLivedIntangibleAssetsAmortizationExpenseTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityEmergingGrowthCompany" xlink:to="dei_EntityEmergingGrowthCompany_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OtherCountriesMember" xlink:to="apg_OtherCountriesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:to="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ContingentConsiderationObligationsMember" xlink:to="apg_ContingentConsiderationObligationsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PensionAndOtherPostretirementBenefitContributions" xlink:to="us-gaap_PensionAndOtherPostretirementBenefitContributions_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock" xlink:to="apg_ScheduleOfFutureUndiscountedCashFlowsAndReconciliationToTheLeaseLiabilitiesTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanInterestCost" xlink:to="us-gaap_DefinedBenefitPlanInterestCost_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillLineItems" xlink:to="us-gaap_GoodwillLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetirementPlanTypeDomain" xlink:to="us-gaap_RetirementPlanTypeDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtPercentageBearingVariableInterestRate" xlink:to="us-gaap_LongTermDebtPercentageBearingVariableInterestRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanAssetCategoriesDomain" xlink:to="us-gaap_PlanAssetCategoriesDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfStockByClassTable" xlink:to="us-gaap_ScheduleOfStockByClassTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfRevenue" xlink:to="us-gaap_CostOfRevenue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent" xlink:to="apg_ReclassificationFromAOCIAmountsReclassifiedPreTaxAttributableToParent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanServiceCost" xlink:to="us-gaap_DefinedBenefitPlanServiceCost_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss" xlink:to="us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal" xlink:to="us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_RoyalOakEnterprisesMember" xlink:to="apg_RoyalOakEnterprisesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:to="us-gaap_CompensationAndRetirementDisclosureAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentTransitionReport" xlink:to="dei_DocumentTransitionReport_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction" xlink:to="us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="us-gaap_AssetsFairValueDisclosure_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:to="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TaxAdjustmentsSettlementsAndUnusualProvisions" xlink:to="us-gaap_TaxAdjustmentsSettlementsAndUnusualProvisions_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:to="us-gaap_LineOfCreditFacilityInterestRateDescription_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_EnvironmentalLiabilitiesOutstanding" xlink:to="apg_EnvironmentalLiabilitiesOutstanding_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xlink:to="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumNumberOfSharesPerEmployee" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumNumberOfSharesPerEmployee_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract" xlink:to="apg_OperatingAndFinanceLeaseLiabilitiesPaymentsDueAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInDeferredIncomeTaxes" xlink:to="us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsReceivableNetCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCommonStockSharesOutstanding" xlink:to="dei_EntityCommonStockSharesOutstanding_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList" xlink:to="us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_CorporateAndEliminationMember" xlink:to="apg_CorporateAndEliminationMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock" xlink:to="us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract" xlink:to="us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent" xlink:to="us-gaap_AccruedEnvironmentalLossContingenciesNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation" xlink:to="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiabilityCurrent" xlink:to="us-gaap_OperatingLeaseLiabilityCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_EnvironmentalReservesNonCurrent" xlink:to="apg_EnvironmentalReservesNonCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwoThousandTwentyTwoAcquisitionMember" xlink:to="apg_TwoThousandTwentyTwoAcquisitionMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalMember" xlink:to="us-gaap_AdditionalPaidInCapitalMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:to="us-gaap_ArrangementsAndNonarrangementTransactionsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockDividendRatePercentage" xlink:to="us-gaap_PreferredStockDividendRatePercentage_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityExpirationDate1" xlink:to="us-gaap_LineOfCreditFacilityExpirationDate1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock" xlink:to="us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:to="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock" xlink:to="us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringPlanAxis" xlink:to="us-gaap_RestructuringPlanAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValueAcquiredParValueMethod" xlink:to="us-gaap_TreasuryStockValueAcquiredParValueMethod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesFairValueDisclosure" xlink:to="us-gaap_LiabilitiesFairValueDisclosure_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:to="us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:to="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingencyNumberOfDefendants" xlink:to="us-gaap_LossContingencyNumberOfDefendants_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareTextBlock" xlink:to="us-gaap_EarningsPerShareTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementClassOfStockAxis" xlink:to="us-gaap_StatementClassOfStockAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeLeaseDescriptionTable" xlink:to="us-gaap_LesseeLeaseDescriptionTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensation" xlink:to="us-gaap_ShareBasedCompensation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherContractMember" xlink:to="us-gaap_OtherContractMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:to="us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_MechanicalMember" xlink:to="apg_MechanicalMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract" xlink:to="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_Security12bTitle" xlink:to="dei_Security12bTitle_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract" xlink:to="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsPayable" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_OwnershipDomain" xlink:to="srt_OwnershipDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringCostAndReserveLineItems" xlink:to="us-gaap_RestructuringCostAndReserveLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockMember" xlink:to="us-gaap_CommonStockMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeNotionalAmount" xlink:to="us-gaap_DerivativeNotionalAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" xlink:to="us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_EquityComponentDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure" xlink:to="us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xlink:to="us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_LossContingencyNumberOfCasesNamedAsDefendants" xlink:to="apg_LossContingencyNumberOfCasesNamedAsDefendants_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressStateOrProvince" xlink:to="dei_EntityAddressStateOrProvince_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ShareOfCommonStockIssuedToProfitSharingPlan" xlink:to="apg_ShareOfCommonStockIssuedToProfitSharingPlan_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StatementGeographicalAxis" xlink:to="srt_StatementGeographicalAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OtherObligationsMember" xlink:to="apg_OtherObligationsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestPaidNet" xlink:to="us-gaap_InterestPaidNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:to="us-gaap_BusinessAcquisitionProFormaInformationTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityShellCompany" xlink:to="dei_EntityShellCompany_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CurrencySwapMember" xlink:to="us-gaap_CurrencySwapMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInInventories" xlink:to="us-gaap_IncreaseDecreaseInInventories_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ExtendedMaturityDate" xlink:to="apg_ExtendedMaturityDate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsNoncurrent" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingenciesLineItems" xlink:to="us-gaap_LossContingenciesLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_SecurityExchangeName" xlink:to="dei_SecurityExchangeName_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_IncreaseDecreaseInPensionContribution" xlink:to="apg_IncreaseDecreaseInPensionContribution_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeFixedInterestRate" xlink:to="us-gaap_DerivativeFixedInterestRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SafetyServicesMember" xlink:to="apg_SafetyServicesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ClassOfStockLineItems" xlink:to="us-gaap_ClassOfStockLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:to="us-gaap_FinanceLeaseLiabilityNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_VikingPurchasersMember" xlink:to="apg_VikingPurchasersMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment" xlink:to="apg_BusinessCombinationConsiderationTransferredEstimatedWorkingCapitalAdjustment_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByBalanceSheetGroupingTable" xlink:to="us-gaap_FairValueByBalanceSheetGroupingTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPensionPlanAssets" xlink:to="apg_DefinedBenefitPensionPlanAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsRemainderOfFiscalYear" xlink:to="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsRemainderOfFiscalYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireBusinessesGross" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable" xlink:to="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedStockUnitsRSUMember" xlink:to="us-gaap_RestrictedStockUnitsRSUMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:to="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract" xlink:to="us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConsolidationPolicyTextBlock" xlink:to="us-gaap_ConsolidationPolicyTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xlink:to="us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:to="us-gaap_BusinessAcquisitionsProFormaRevenue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:to="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DepreciationExpenseNetOfReversal" xlink:to="apg_DepreciationExpenseNetOfReversal_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationContingentCompensation" xlink:to="apg_BusinessCombinationContingentCompensation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:to="us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionLineItems" xlink:to="us-gaap_BusinessAcquisitionLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:to="us-gaap_GainsLossesOnExtinguishmentOfDebt_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwoThousandAndTwentyOneAcquisitionsMember" xlink:to="apg_TwoThousandAndTwentyOneAcquisitionsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureTextBlock" xlink:to="us-gaap_DebtDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel2Member" xlink:to="us-gaap_FairValueInputsLevel2Member_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:to="us-gaap_ProceedsFromIssuanceOfLongTermDebt_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_WarrantsToPurchaseOrdinarySharesMember" xlink:to="apg_WarrantsToPurchaseOrdinarySharesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Investments" xlink:to="us-gaap_Investments_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingencies" xlink:to="us-gaap_CommitmentsAndContingencies_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesIssued" xlink:to="us-gaap_CommonStockSharesIssued_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:to="us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MultiemployerPlanPensionSignificantPlanContribution" xlink:to="us-gaap_MultiemployerPlanPensionSignificantPlanContribution_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VariableRateDomain" xlink:to="us-gaap_VariableRateDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MinimumMember" xlink:to="srt_MinimumMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_HedgingDesignationAxis" xlink:to="us-gaap_HedgingDesignationAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationMaximumPayoutOfContingentCompensation" xlink:to="apg_BusinessCombinationMaximumPayoutOfContingentCompensation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock" xlink:to="us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwoThousandNineteenTermLoanMember" xlink:to="apg_TwoThousandNineteenTermLoanMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement" xlink:to="apg_PercentageOfOutstandingStockOwnedByRelatedPartyUnderAgreement_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_CanadaAndEuropeMember" xlink:to="apg_CanadaAndEuropeMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_SegmentDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xlink:to="us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare" xlink:to="apg_AnnualDividendCalculatedBasedOnAppreciationOfSharePricePerShare_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:to="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwoThousandTwentyTwoIncrementalAmendmentMember" xlink:to="apg_TwoThousandTwentyTwoIncrementalAmendmentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CapitalizedContractCostImpairmentLoss" xlink:to="us-gaap_CapitalizedContractCostImpairmentLoss_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentAxis" xlink:to="us-gaap_DebtInstrumentAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_StockholdersEquityAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_StatementBusinessSegmentsAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans" xlink:to="apg_OtherComprehensiveIncomeLossReclassificationAdjustmentFromImpactOfForeignExchangeTranslationPensionAndOtherPostretirementBenefitPlans_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenuesAbstract" xlink:to="us-gaap_RevenuesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AmortizationOfIntangibleAssets" xlink:to="us-gaap_AmortizationOfIntangibleAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_AwardTypeAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNoncashIncomeExpense" xlink:to="us-gaap_OtherNoncashIncomeExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EurodollarMember" xlink:to="us-gaap_EurodollarMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentFairValue" xlink:to="us-gaap_DebtInstrumentFairValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationConsiderationTransferred1" xlink:to="us-gaap_BusinessCombinationConsiderationTransferred1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingenciesTable" xlink:to="us-gaap_LossContingenciesTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNonoperatingIncomeExpense" xlink:to="us-gaap_OtherNonoperatingIncomeExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:to="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo" xlink:to="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_EffectiveIncomeTaxRateReconciliationFederalAndState" xlink:to="apg_EffectiveIncomeTaxRateReconciliationFederalAndState_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PerformanceBasedRestrictedStockUnitsMember" xlink:to="apg_PerformanceBasedRestrictedStockUnitsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest" xlink:to="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVest_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringCostAndReserveAxis" xlink:to="us-gaap_RestructuringCostAndReserveAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities" xlink:to="us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseTermOfContract" xlink:to="us-gaap_LesseeOperatingLeaseTermOfContract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SeptemberTwentyThirtyMember" xlink:to="apg_SeptemberTwentyThirtyMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockDividendsShares" xlink:to="us-gaap_CommonStockDividendsShares_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRestructuring" xlink:to="us-gaap_PaymentsForRestructuring_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseExistenceOfOptionToTerminate" xlink:to="us-gaap_LesseeOperatingLeaseExistenceOfOptionToTerminate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent" xlink:to="us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:to="us-gaap_FiniteLivedIntangibleAssetsLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ContingentCompensationArrangementsRecognitionPeriod" xlink:to="apg_ContingentCompensationArrangementsRecognitionPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_AccountingPoliciesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TermLoanFacilityMember" xlink:to="apg_TermLoanFacilityMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AutosAndTrucksMember" xlink:to="apg_AutosAndTrucksMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_InspectionMember" xlink:to="apg_InspectionMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:to="us-gaap_DebtInstrumentRedemptionPeriodAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisaggregationOfRevenueLineItems" xlink:to="us-gaap_DisaggregationOfRevenueLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember" xlink:to="us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:to="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent" xlink:to="us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_HedgingDesignationDomain" xlink:to="us-gaap_HedgingDesignationDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:to="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" xlink:to="us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ForwardStartingInterestRateSwapsMember" xlink:to="apg_ForwardStartingInterestRateSwapsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ReductionInDerivativeEffectiveInterestRate" xlink:to="apg_ReductionInDerivativeEffectiveInterestRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PremierFireMember" xlink:to="apg_PremierFireMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ApiAcquisitionMember" xlink:to="apg_ApiAcquisitionMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:to="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_UnswappedPortionOfLineOfCredit" xlink:to="apg_UnswappedPortionOfLineOfCredit_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DividendPricePerShare" xlink:to="apg_DividendPricePerShare_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PostemploymentRetirementBenefitsMember" xlink:to="us-gaap_PostemploymentRetirementBenefitsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet" xlink:to="us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScenarioForecastMember" xlink:to="srt_ScenarioForecastMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract" xlink:to="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsMember" xlink:to="us-gaap_RetainedEarningsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockConversionBasis" xlink:to="us-gaap_PreferredStockConversionBasis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DesignatedAsHedgingInstrumentMember" xlink:to="us-gaap_DesignatedAsHedgingInstrumentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment" xlink:to="us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustment_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfGoodwillTable" xlink:to="us-gaap_ScheduleOfGoodwillTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList" xlink:to="us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OtherAssetsAndLiabilitiesMember" xlink:to="apg_OtherAssetsAndLiabilitiesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_PropertyPlantAndEquipmentGross_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillAcquiredDuringPeriod" xlink:to="us-gaap_GoodwillAcquiredDuringPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:to="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapital" xlink:to="us-gaap_AdditionalPaidInCapital_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityInteractiveDataCurrent" xlink:to="dei_EntityInteractiveDataCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractualRightsMember" xlink:to="us-gaap_ContractualRightsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanRealEstateMember" xlink:to="us-gaap_DefinedBenefitPlanRealEstateMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="currency_GBP" xlink:to="currency_GBP_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LettersOfCreditOutstandingAmount" xlink:to="us-gaap_LettersOfCreditOutstandingAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_InvestmentIncomeAndOtherNetMember" xlink:to="apg_InvestmentIncomeAndOtherNetMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPlansWithBenefitObligationsInExcessOfPlanAssetsAbstract" xlink:to="us-gaap_DefinedBenefitPlanPlansWithBenefitObligationsInExcessOfPlanAssetsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLossCarryforwardsLimitationsOnUse" xlink:to="us-gaap_OperatingLossCarryforwardsLimitationsOnUse_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:to="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract" xlink:to="us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAssumptionsUsedTableTextBlock" xlink:to="us-gaap_ScheduleOfAssumptionsUsedTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges" xlink:to="us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits" xlink:to="apg_EffectiveIncomeTaxRateReconciliationunrecognizedtaxbenefits_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeaseholdImprovementsMember" xlink:to="us-gaap_LeaseholdImprovementsMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_LocalPhoneNumber" xlink:to="dei_LocalPhoneNumber_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiability_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaidPensionCosts_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefits" xlink:to="us-gaap_UnrecognizedTaxBenefits_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:to="us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:to="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock" xlink:to="apg_SummaryOfCarryingAndFairValueOfNonVariableInterestRateDebtTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ProvisionalGoodwill" xlink:to="apg_ProvisionalGoodwill_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanBenefitObligation" xlink:to="us-gaap_DefinedBenefitPlanBenefitObligation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestRateSwapMember" xlink:to="us-gaap_InterestRateSwapMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ConsolidatedEntitiesAxis" xlink:to="srt_ConsolidatedEntitiesAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ProfitSharingExpense" xlink:to="apg_ProfitSharingExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend" xlink:to="us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisaggregationOfRevenueTableTextBlock" xlink:to="us-gaap_DisaggregationOfRevenueTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive" xlink:to="us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" xlink:to="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityNoteStockSplitConversionRatio1" xlink:to="us-gaap_StockholdersEquityNoteStockSplitConversionRatio1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAdjustmentsTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAdjustmentsTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="us-gaap_IncomeStatementLocationDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:to="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AccruedConsiderationIssuedInBusinessCombinations" xlink:to="apg_AccruedConsiderationIssuedInBusinessCombinations_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebt" xlink:to="us-gaap_LongTermDebt_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations" xlink:to="apg_GoodwillImpairmentLossAtBusinessWithOngoingOperations_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NorthernAirCorporationMember" xlink:to="apg_NorthernAirCorporationMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesOutstanding" xlink:to="us-gaap_SharesOutstanding_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:to="us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="currency_AllCurrenciesDomain" xlink:to="currency_AllCurrenciesDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_MariposaAcquisitionIVLLCMember" xlink:to="apg_MariposaAcquisitionIVLLCMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentForAmortization" xlink:to="us-gaap_AdjustmentForAmortization_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationAccruedConsideration" xlink:to="apg_BusinessCombinationAccruedConsideration_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentNameDomain" xlink:to="us-gaap_DebtInstrumentNameDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:to="us-gaap_IntangibleAssetsNetExcludingGoodwill_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract" xlink:to="us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RepaymentsOfDebt" xlink:to="us-gaap_RepaymentsOfDebt_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost" xlink:to="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateInterestCost_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsOfDebtIssuanceCosts" xlink:to="us-gaap_PaymentsOfDebtIssuanceCosts_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ProjectedBenefitObligationPboFundedStatusAbstract" xlink:to="apg_ProjectedBenefitObligationPboFundedStatusAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_InfrastructureUtilityMember" xlink:to="apg_InfrastructureUtilityMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock" xlink:to="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities" xlink:to="apg_DefinedBenefitPlanFairValueOfPlanAssetsExcludingOtherAssetsAndLiabilities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasic" xlink:to="us-gaap_EarningsPerShareBasic_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_IndustrialServicesMember" xlink:to="apg_IndustrialServicesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwillNoncurrent" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwillNoncurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationPayoutOfAccruedContingentCompensation" xlink:to="apg_BusinessCombinationPayoutOfAccruedContingentCompensation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingLossCarrybackTerm" xlink:to="apg_OperatingLossCarrybackTerm_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NumberOfCrossCurrencySwaps" xlink:to="apg_NumberOfCrossCurrencySwaps_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SeriesAPreferredStockMember" xlink:to="us-gaap_SeriesAPreferredStockMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetInvestmentHedgingMember" xlink:to="us-gaap_NetInvestmentHedgingMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:to="us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations" xlink:to="apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPensionAndPostretirementObligations_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockDividendsShares" xlink:to="us-gaap_PreferredStockDividendsShares_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtCurrent" xlink:to="us-gaap_DebtCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants" xlink:to="us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock" xlink:to="us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock" xlink:to="us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_GoodwillImpairmentLossRelatedToBusinessDivestiture" xlink:to="apg_GoodwillImpairmentLossRelatedToBusinessDivestiture_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout" xlink:to="apg_BusinessCombinationContingentConsiderationArrangementsMaximumPotentialPayout_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LandMember" xlink:to="us-gaap_LandMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost" xlink:to="apg_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRateServiceCost_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesPaidNet" xlink:to="us-gaap_IncomeTaxesPaidNet_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesNameDomain" xlink:to="us-gaap_AntidilutiveSecuritiesNameDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxAuthorityAxis" xlink:to="us-gaap_IncomeTaxAuthorityAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfRestructuringDomain" xlink:to="us-gaap_TypeOfRestructuringDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockMember" xlink:to="us-gaap_PreferredStockMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrentAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingDisclosureTextBlock" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockRepurchaseProgramExpirationDate" xlink:to="us-gaap_StockRepurchaseProgramExpirationDate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ManagementFeeExpense" xlink:to="us-gaap_ManagementFeeExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromRelatedParties" xlink:to="us-gaap_RevenueFromRelatedParties_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock" xlink:to="us-gaap_ScheduleOfAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueThereafter_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TransmissionMember" xlink:to="apg_TransmissionMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax" xlink:to="us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPensionPlansForeignCashContributions" xlink:to="apg_DefinedBenefitPensionPlansForeignCashContributions_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfGoodwillTextBlock" xlink:to="us-gaap_ScheduleOfGoodwillTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual" xlink:to="apg_BusinessCombinationProFormaInformationOperatingIncomeLossOfAcquireeSinceAcquisitionDateActual_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ConversionRatio" xlink:to="apg_ConversionRatio_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:to="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SaleOfStockConsiderationReceivedPerTransaction" xlink:to="us-gaap_SaleOfStockConsiderationReceivedPerTransaction_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:to="us-gaap_DebtLongtermAndShorttermCombinedAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionLineItems" xlink:to="us-gaap_RelatedPartyTransactionLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeaseCostAbstract" xlink:to="us-gaap_LeaseCostAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiability" xlink:to="apg_OperatingAndFinanceLeaseLiability_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice" xlink:to="apg_AnnualDividendCalculatedBasedOnSharePriceAppreciationOverInitialOfferingPrice_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock" xlink:to="us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedSalariesCurrent" xlink:to="us-gaap_AccruedSalariesCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CoverAbstract" xlink:to="dei_CoverAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:to="us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage" xlink:to="apg_ProvisionForDeductionOfBusinessMealsExpensesPurchasedPercentage_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:to="us-gaap_OtherLiabilitiesNoncurrentAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ProductsAndServicesDomain" xlink:to="srt_ProductsAndServicesDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:to="us-gaap_AccountingChangesAndErrorCorrectionsAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsAccumulatedBenefitObligation" xlink:to="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsAccumulatedBenefitObligation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:to="us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeBenefitsAndShareBasedCompensation" xlink:to="us-gaap_EmployeeBenefitsAndShareBasedCompensation_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeasesLiabilityNonCurrent" xlink:to="apg_OperatingAndFinanceLeasesLiabilityNonCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:to="us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillImpairmentLoss" xlink:to="us-gaap_GoodwillImpairmentLoss_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MaximumMember" xlink:to="srt_MaximumMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfCountriesInWhichEntityOperates" xlink:to="us-gaap_NumberOfCountriesInWhichEntityOperates_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:to="us-gaap_DerivativeInstrumentsGainLossLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_CivilMember" xlink:to="apg_CivilMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense" xlink:to="us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_PublicEquitiesAndFixedIncomeSecuritiesMember" xlink:to="apg_PublicEquitiesAndFixedIncomeSecuritiesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" xlink:to="us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel3Member" xlink:to="us-gaap_FairValueInputsLevel3Member_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember" xlink:to="us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_FourPointSevenFiveZeroPercentageSeniorNotesMember" xlink:to="apg_FourPointSevenFiveZeroPercentageSeniorNotesMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_CustomersWithPaymentTerms" xlink:to="apg_CustomersWithPaymentTerms_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NetOperatingLossCarryforwardsCarryforwardPeriod" xlink:to="apg_NetOperatingLossCarryforwardsCarryforwardPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses" xlink:to="apg_ProceedsFromSalesOfPropertyEquipmentHeldForSaleAssetsAndDisposalsOfBusinesses_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:to="us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockDividendsAndOtherAdjustments" xlink:to="us-gaap_PreferredStockDividendsAndOtherAdjustments_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList" xlink:to="us-gaap_FinanceLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:to="us-gaap_SegmentReportingPolicyPolicyTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_NumberOfCountriesInWhichRetirementPlansSponsored" xlink:to="apg_NumberOfCountriesInWhichRetirementPlansSponsored_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AqueousFilmFormingFoamMember" xlink:to="apg_AqueousFilmFormingFoamMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_CapitalExpenditures" xlink:to="apg_CapitalExpenditures_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_RestrictedSharesTenderedForTaxes" xlink:to="apg_RestrictedSharesTenderedForTaxes_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_DefinedBenefitPlanNumberOfPlans" xlink:to="apg_DefinedBenefitPlanNumberOfPlans_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:to="us-gaap_PropertyPlantAndEquipmentUsefulLife_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_InvestmentIncomeInvestmentExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedContributionPlanCostRecognized" xlink:to="us-gaap_DefinedContributionPlanCostRecognized_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:to="us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueHedgeAssetsAtFairValue" xlink:to="us-gaap_FairValueHedgeAssetsAtFairValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForeignCountryMember" xlink:to="us-gaap_ForeignCountryMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentCarryingAmount" xlink:to="us-gaap_DebtInstrumentCarryingAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesAuthorized" xlink:to="us-gaap_CommonStockSharesAuthorized_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_TradingSymbol" xlink:to="dei_TradingSymbol_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_OwnershipAxis" xlink:to="srt_OwnershipAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems" xlink:to="us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_BusinessCombinationLiabilityForDeferredPayments" xlink:to="apg_BusinessCombinationLiabilityForDeferredPayments_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:to="us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend" xlink:to="apg_IncrementalCommonSharesAttributableToDilutiveEffectOfSharesIssuablePursuantToAnnualPreferredShareDividend_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueHedgingMember" xlink:to="us-gaap_FairValueHedgingMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BalanceSheetLocationAxis" xlink:to="us-gaap_BalanceSheetLocationAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="us-gaap_ComprehensiveIncomeNetOfTax_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares" xlink:to="apg_AdjustmentsToAdditionalPaidInCapitalSharesCancelledShares_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableCurrent" xlink:to="us-gaap_AccountsPayableCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:to="us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue" xlink:to="apg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:to="us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashFlowHedgingMember" xlink:to="us-gaap_CashFlowHedgingMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockSharesAcquired" xlink:to="us-gaap_TreasuryStockSharesAcquired_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_TwentyTwentyTwoRestructuringProgramMember" xlink:to="apg_TwentyTwentyTwoRestructuringProgramMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentTerm" xlink:to="us-gaap_DebtInstrumentTerm_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockParOrStatedValuePerShare" xlink:to="us-gaap_CommonStockParOrStatedValuePerShare_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TradingActivityByTypeDomain" xlink:to="us-gaap_TradingActivityByTypeDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_SeptemberTwentyTwentySevenMember" xlink:to="apg_SeptemberTwentyTwentySevenMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList" xlink:to="us-gaap_FinanceLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:to="us-gaap_DefinedBenefitPlanDisclosureLineItems_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeInstrumentRiskAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets" xlink:to="us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:to="us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock" xlink:to="us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree" xlink:to="apg_OperatingAndFinanceLeaseLiabilityPaymentsDueYearThree_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConversionOfStockByUniqueDescriptionAxis" xlink:to="us-gaap_ConversionOfStockByUniqueDescriptionAxis_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongtermDebtTypeDomain" xlink:to="us-gaap_LongtermDebtTypeDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="apg_ChubbLimitedFireAndSecurityBusinessMember" xlink:to="apg_ChubbLimitedFireAndSecurityBusinessMember_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:to="us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_lbl"/>
    <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock" xlink:to="us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock_lbl"/>
  </link:labelLink>
</link:linkbase>
