Google_Service_AdExchangeBuyer_Marketplacenotes_Resource

The "marketplacenotes" collection of methods.

Defined (1)

The class is defined in the following location(s).

/vendor/google/apiclient/src/Google/Service/AdExchangeBuyer.php  
  1. class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Add notes to the proposal (marketplacenotes.insert) 
  5. * @param string $proposalId The proposalId to add notes for. 
  6. * @param Google_AddOrderNotesRequest $postBody 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse 
  9. */ 
  10. public function insert($proposalId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array()) 
  11. $params = array('proposalId' => $proposalId, 'postBody' => $postBody); 
  12. $params = array_merge($params, $optParams); 
  13. return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse"); 
  14.  
  15. /** 
  16. * Get all the notes associated with a proposal 
  17. * (marketplacenotes.listMarketplacenotes) 
  18. * @param string $proposalId The proposalId to get notes for. 
  19. * @param array $optParams Optional parameters. 
  20. * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse 
  21. */ 
  22. public function listMarketplacenotes($proposalId, $optParams = array()) 
  23. $params = array('proposalId' => $proposalId); 
  24. $params = array_merge($params, $optParams); 
  25. return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse");