def get_creatives(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(
            'CreativeService',
            version=self.version
        )

        creatives = self._run_service_query(
            query, service.getCreativesByStatement,
        )

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

        return creatives
Called when a device is connected.
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/client.py/DFPClient.get_creatives--crossover with--dataset/ETHPy150Open adafruit/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/corebluetooth/provider.py/CentralDelegate.centralManager_didConnectPeripheral_