def get_orders(self,
                   order=DFP_QUERY_DEFAULTS['order'],
                   limit=DFP_QUERY_DEFAULTS['limit'],
                   offset=DFP_QUERY_DEFAULTS['offset'],
                   **filter_kwargs):
        query = self._format_query(
            order=order,
            limit=limit,
            offset=offset,
            **filter_kwargs
        )
        service = self.native_dfp_client.GetService(
            'OrderService',
            version=self.version
        )

        orders = self._run_service_query(
            query, service.getOrdersByStatement,
        )

        if not orders:
            logging.warning(
                'Results not found from query. Query: {0}'.format(query.ToStatement())
            )
            return []

        return orders
Get orders on filter keyword arguments other than id
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/client.py/DFPClient.get_orders