Wikia / sroka

Python library for API access and data analysis in Product, BI, Revenue Operations (GAM, GA, Athena etc.)
MIT License
71 stars 11 forks source link

GAM Companies #42

Closed sseyda closed 2 years ago

sseyda commented 3 years ago

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.

martynaut commented 2 years ago

@sseyda I did some changes, please check if everything works for both get_users_from_admanager and get_companies_from_admanager functions