src/Yandex/Market/Partner/PartnerClient.php
public function getCampaigns()
    {
        $resource = 'campaigns.json';

        $response = $this->sendRequest('GET', $this->getServiceUrl($resource));

        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        $getCampaignsResponse = new GetCampaignsResponse($decodedResponseBody);
        return $getCampaignsResponse->getCampaigns();
    }
public function getCampaigns()
    {
        $resource = 'campaigns.json';

        $response = $this->sendRequest('GET', $this->getServiceUrl($resource));

        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        $getCampaignsResponse = new GetCampaignsResponse($decodedResponseBody);
        return $getCampaignsResponse->getCampaigns();
    }
public function getCampaigns ( ) { $ resource = 'campaigns.json' ; $ response = $ this -> sendRequest ( 'GET' , $ this -> getServiceUrl ( $ resource ) ) ; $ decodedResponseBody = $ this -> getDecodedBody ( $ response -> getBody ( ) ) ; $ getCampaignsResponse = new GetCampaignsResponse ( $ decodedResponseBody ) ; return $ getCampaignsResponse -> getCampaigns ( ) ; }
Get User Campaigns

Returns the user to the list of campaigns Yandex.market.
The list coincides with the list of campaigns
that are displayed in the partner interface Yandex.Market on page "My shops."

@see http://api.yandex.ru/market/partner/doc/dg/reference/get-campaigns.xml

@return Campaigns
Get User Campaigns