Exemplo n.º 1
0
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     if self.account.cache:
         data = self.request_cached('Segments', 'Get')
     else:
         data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
Exemplo n.º 2
0
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     if self.account.cache:
         data = self.request_cached('Segments', 'Get')
     else:
         data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
Exemplo n.º 3
0
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
Exemplo n.º 4
0
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
Exemplo n.º 5
0
 def segments(self):
     data = self.request('ReportSuite', 'GetSegments')[0]['sc_segments']
     return Segment.list('segments', data, self, 'name', 'id')
Exemplo n.º 6
0
 def segments(self):
     data = self.request('ReportSuite', 'GetSegments')[0]['sc_segments']
     return Segment.list('segments', data, self, 'name', 'id')