XML 53 R41.htm IDEA: XBRL DOCUMENT
v3.21.2

Net Revenues - Additional Information (Detail) - USD ($) | 9 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2021 | Dec. 31, 2020
Aggregate amount of transaction price allocated to unsatisfied performance obligation | $ 998,000,000 |
Percentage of recognized revenue of remaining performance obligations over the next 12 months | 90.00% |
Customers with payment terms | 30 days |
Retentions receivable | $ 117,000,000 | $ 122,000,000
Retentions receivable within one year | 21,000,000 | $ 26,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 http://asc.fasb.org/extlink&oid=123353750&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 http://asc.fasb.org/extlink&oid=123351226&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 http://asc.fasb.org/extlink&oid=123351226&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: |