get_companies_from_admanager function pulls information about GAM companies (for example Advertisers).
It can be used for further campaign filtering. Companies filter exists in report function, however I've seen on a few cases that prefiltering with other functions and using its results in report query can shorten run time of the whole code.
Docs: https://developers.google.com/ad-manager/api/reference/v202011/CompanyService
get_companies_from_admanager function pulls information about GAM companies (for example Advertisers). It can be used for further campaign filtering. Companies filter exists in report function, however I've seen on a few cases that prefiltering with other functions and using its results in report query can shorten run time of the whole code.