XML 63 R52.htm IDEA: XBRL DOCUMENT
v3.22.2

Net Revenues - Additional Information (Detail) - USD ($) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2022 | Dec. 31, 2021
Aggregate amount of transaction price allocated to unsatisfied performance obligation | $ 543,000,000 |
Percentage of recognized revenue of remaining performance obligations over the next 12 months | 50.00% |
Customers with payment terms | 30 days |
Retentions receivable | $ 130,000,000 | $ 117,000,000
Retentions receivable within one year | 29,000,000 | $ 25,000,000
Impairment of contract assets | $ 0 |
Minimum [Member] |  |
Payment of invoices | 30 days |
Maximum [Member] |  |
Payment of invoices | 90 days |

X
- Definition Accounts receivable includes retentions receivable. + References No definition available. + Details
Name: | apg_AccountsReceivableIncludesRetentionsReceivable
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Accounts receivable includes retentions receivable within one year. + References No definition available. + Details
Name: | apg_AccountsReceivableIncludesRetentionsReceivableWithinOneYear
Namespace Prefix: | apg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Customers with payment terms. + References No definition available. + Details
Name: | apg_CustomersWithPaymentTerms
Namespace Prefix: | apg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payment of invoices. + References No definition available. + Details
Name: | apg_PaymentOfInvoices
Namespace Prefix: | apg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of impairment loss for asset recognized from cost incurred to obtain or fulfill contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126905575&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of transaction price allocated to performance obligation that has not been recognized as revenue. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of remaining performance obligation to total remaining performance obligation not recognized as revenue. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligationPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |