lib/two_performant.rb
#  Search for banners in a campaign
Search for banners in a campaign
Search for banners in a campaign
def banners_search(campaign_id, search, page=1, perpage=6, sort='date')
    request = {
      'page'    => page,
      'perpage' => perpage,
      'search'  => search,
      'sort'    => sort
    }
    self.hook("/campaigns/#{campaign_id}/banners/search.xml", "banner", request, 'GET')
  end
def banners_search ( campaign_id , search , page = 1 , perpage = 6 , sort = 'date' ) request = { 'page' => page , 'perpage' => perpage , 'search' => search , 'sort' => sort } self . hook ( "/campaigns/#{campaign_id}/banners/search.xml" , "banner" , request , 'GET' ) end
Search for banners in a campaign
Search for banners in a campaign
campaign_id
<not_specific>
search
<not_specific>
page
<not_specific>
perpage
<not_specific>
sort
<not_specific>