XML 75 R57.htm IDEA: XBRL DOCUMENT
v3.25.0.1

BUSINESS COMBINATIONS - Schedule of Net Assets Acquired (Details) - USD ($) $ in Millions |  |  |  |  |  |  | 12 Months Ended
--- | --- | --- | --- | --- | --- | --- | ---
Dec. 02, 2024 | Oct. 01, 2024 | Sep. 03, 2024 | Jun. 03, 2024 | Dec. 29, 2023 | Jun. 30, 2023 | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Accrued consideration |  |  |  |  |  |  | $ 31 | $ 11 | $ 1
Goodwill |  |  |  |  |  |  | 2,894 | 2,471 | $ 2,382
Other noncurrent liabilities |  |  |  | $ (6) |  |  |  |  |
Elevated Acquisition |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing |  |  |  | 572 |  |  |  |  |
Cash deposited into escrow |  |  |  | 6 |  |  |  |  |
Total net consideration |  |  |  | 578 |  |  |  |  |
Cash and cash equivalents |  |  |  | 7 |  |  |  |  |
Accounts receivable |  |  |  | 28 |  |  |  |  |
Contract assets |  |  |  | 18 |  |  |  |  |
Other current assets |  |  |  | 7 |  |  |  |  |
Property and equipment |  |  |  | 4 |  |  |  |  |
Operating lease right-of-use assets |  |  |  | 2 |  |  |  |  |
Intangible assets |  |  |  | 222 |  |  |  |  |
Goodwill |  |  |  | 393 |  |  |  |  |
Accounts payable |  |  |  | (12) |  |  |  |  |
Other accrued liabilities |  |  |  | (12) |  |  |  |  |
Contract liabilities |  |  |  | (15) |  |  |  |  |
Current and noncurrent operating and finance lease liabilities |  |  |  | (4) |  |  |  |  |
Deferred tax liabilities |  |  |  | (54) |  |  |  |  |
Net assets acquired |  |  |  | $ 578 |  |  |  |  |
Acquisition A24 |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing |  |  | $ 24 |  |  |  |  |  |
Cash deposited into escrow |  |  | 0 |  |  |  |  |  |
Accrued consideration |  |  | 9 |  |  |  |  |  |
Total net consideration |  |  | 33 |  |  |  |  |  |
Cash and cash equivalents |  |  | 6 |  |  |  |  |  |
Accounts receivable |  |  | 15 |  |  |  |  |  |
Contract assets |  |  | 0 |  |  |  |  |  |
Other current assets |  |  | 2 |  |  |  |  |  |
Property and equipment |  |  | 3 |  |  |  |  |  |
Intangible assets |  |  | 8 |  |  |  |  |  |
Goodwill |  |  | 9 |  |  |  |  |  |
Accounts payable |  |  | (2) |  |  |  |  |  |
Other accrued liabilities |  |  | (3) |  |  |  |  |  |
Contract liabilities |  |  | (5) |  |  |  |  |  |
Deferred tax liabilities |  |  | 0 |  |  |  |  |  |
Net assets acquired |  |  | $ 33 |  |  |  |  |  |
Acquisition B24 |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing |  | $ 99 |  |  |  |  |  |  |
Cash deposited into escrow |  | 2 |  |  |  |  |  |  |
Accrued consideration |  | 0 |  |  |  |  |  |  |
Total net consideration |  | 101 |  |  |  |  |  |  |
Cash and cash equivalents |  | 0 |  |  |  |  |  |  |
Accounts receivable |  | 19 |  |  |  |  |  |  |
Contract assets |  | 2 |  |  |  |  |  |  |
Other current assets |  | 3 |  |  |  |  |  |  |
Property and equipment |  | 3 |  |  |  |  |  |  |
Intangible assets |  | 37 |  |  |  |  |  |  |
Goodwill |  | 50 |  |  |  |  |  |  |
Accounts payable |  | (4) |  |  |  |  |  |  |
Other accrued liabilities |  | (6) |  |  |  |  |  |  |
Contract liabilities |  | (1) |  |  |  |  |  |  |
Deferred tax liabilities |  | (2) |  |  |  |  |  |  |
Net assets acquired |  | $ 101 |  |  |  |  |  |  |
Acquisition C24 |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing | $ 26 |  |  |  |  |  |  |  |
Cash deposited into escrow | 0 |  |  |  |  |  |  |  |
Accrued consideration | 7 |  |  |  |  |  |  |  |
Total net consideration | 33 |  |  |  |  |  |  |  |
Cash and cash equivalents | 2 |  |  |  |  |  |  |  |
Accounts receivable | 13 |  |  |  |  |  |  |  |
Contract assets | 0 |  |  |  |  |  |  |  |
Other current assets | 1 |  |  |  |  |  |  |  |
Property and equipment | 0 |  |  |  |  |  |  |  |
Intangible assets | 10 |  |  |  |  |  |  |  |
Goodwill | 17 |  |  |  |  |  |  |  |
Accounts payable | (2) |  |  |  |  |  |  |  |
Other accrued liabilities | (6) |  |  |  |  |  |  |  |
Contract liabilities | 0 |  |  |  |  |  |  |  |
Deferred tax liabilities | (2) |  |  |  |  |  |  |  |
Net assets acquired | $ 33 |  |  |  |  |  |  |  |
Other 2024 acquisitions |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing |  |  |  |  |  |  | 63 |  |
Cash deposited into escrow |  |  |  |  |  |  | 0 |  |
Accrued consideration |  |  |  |  |  |  | 13 |  |
Total net consideration |  |  |  |  |  |  | 76 |  |
Cash and cash equivalents |  |  |  |  |  |  | 1 |  |
Accounts receivable |  |  |  |  |  |  | 1 |  |
Contract assets |  |  |  |  |  |  | 0 |  |
Other current assets |  |  |  |  |  |  | 0 |  |
Property and equipment |  |  |  |  |  |  | 3 |  |
Intangible assets |  |  |  |  |  |  | 32 |  |
Goodwill |  |  |  |  |  |  | 44 |  |
Accounts payable |  |  |  |  |  |  | 0 |  |
Other accrued liabilities |  |  |  |  |  |  | (1) |  |
Contract liabilities |  |  |  |  |  |  | (2) |  |
Deferred tax liabilities |  |  |  |  |  |  | (2) |  |
Net assets acquired |  |  |  |  |  |  | $ 76 |  |
Acquisition A23 |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing |  |  |  |  |  | $ 30 |  |  |
Cash deposited into escrow |  |  |  |  |  | 5 |  |  |
Accrued consideration |  |  |  |  |  | 3 |  |  |
Total net consideration |  |  |  |  |  | 38 |  |  |
Cash and cash equivalents |  |  |  |  |  | 0 |  |  |
Accounts receivable |  |  |  |  |  | 6 |  |  |
Contract assets |  |  |  |  |  | 1 |  |  |
Other current assets |  |  |  |  |  | 0 |  |  |
Intangible assets |  |  |  |  |  | 13 |  |  |
Goodwill |  |  |  |  |  | 21 |  |  |
Other accrued liabilities |  |  |  |  |  | 0 |  |  |
Contract liabilities |  |  |  |  |  | (3) |  |  |
Net assets acquired |  |  |  |  |  | $ 38 |  |  |
Acquisition B23 |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing |  |  |  |  | $ 27 |  |  |  |
Cash deposited into escrow |  |  |  |  | 0 |  |  |  |
Accrued consideration |  |  |  |  | 5 |  |  |  |
Total net consideration |  |  |  |  | 32 |  |  |  |
Cash and cash equivalents |  |  |  |  | 1 |  |  |  |
Accounts receivable |  |  |  |  | 7 |  |  |  |
Contract assets |  |  |  |  | 2 |  |  |  |
Other current assets |  |  |  |  | 0 |  |  |  |
Intangible assets |  |  |  |  | 11 |  |  |  |
Goodwill |  |  |  |  | 18 |  |  |  |
Other accrued liabilities |  |  |  |  | (2) |  |  |  |
Contract liabilities |  |  |  |  | (5) |  |  |  |
Net assets acquired |  |  |  |  | $ 32 |  |  |  |
Other 2023 acquisitions |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash paid at closing |  |  |  |  |  |  |  | 22 |
Cash deposited into escrow |  |  |  |  |  |  |  | 0 |
Accrued consideration |  |  |  |  |  |  |  | 2 |
Total net consideration |  |  |  |  |  |  |  | 24 |
Cash and cash equivalents |  |  |  |  |  |  |  | 0 |
Accounts receivable |  |  |  |  |  |  |  | 0 |
Contract assets |  |  |  |  |  |  |  | 0 |
Other current assets |  |  |  |  |  |  |  | 1 |
Intangible assets |  |  |  |  |  |  |  | 11 |
Goodwill |  |  |  |  |  |  |  | 14 |
Other accrued liabilities |  |  |  |  |  |  |  | 0 |
Contract liabilities |  |  |  |  |  |  |  | (2) |
Net assets acquired |  |  |  |  |  |  |  | $ 24 |

X
- Definition Accrued consideration issued in business combinations. + References No definition available. + Details
Name: | apg_AccruedConsiderationIssuedInBusinessCombinations
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Contract Assets + References No definition available. + Details
Name: | apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Contract Liabilities + References No definition available. + Details
Name: | apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Finance and Operating Lease Liabilities + References No definition available. + Details
Name: | apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinanceAndOperatingLeaseLiabilities
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Operating Lease Right Of Use Assets + References No definition available. + Details
Name: | apg_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Payments to Acquire Businesses, Cash Deposited into Escrow + References No definition available. + Details
Name: | apg_PaymentsToAcquireBusinessesCashDepositedIntoEscrow
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 30 -Paragraph 8 -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479637/805-30-30-8 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 30 -Paragraph 7 -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479637/805-30-30-7 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of liabilities incurred by the acquirer as part of consideration transferred in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479668/805-30-25-5 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 30 -Paragraph 8 -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479637/805-30-30-8 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 30 -Paragraph 7 -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479637/805-30-30-7 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other liabilities due within one year or within the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred tax liability attributable to taxable temporary differences assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of intangible assets, excluding goodwill, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-37 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-37 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated impairment loss, of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 49 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-49 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 24 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482548/350-20-55-24 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482598/350-20-45-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-1 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=apg_ElevatedAcquisitionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=apg_AcquisitionA24Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=apg_AcquisitionB24Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=apg_AcquisitionC24Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=apg_AcquisitionA23Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=apg_AcquisitionB23Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=apg_Other2023AcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |