Google_Service_Dfareporting_UserProfiles_Resource

The "userProfiles" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Dfareporting.php  
  1. class Google_Service_Dfareporting_UserProfiles_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Gets one user profile by ID. (userProfiles.get) 
  5. * @param string $profileId The user profile ID. 
  6. * @param array $optParams Optional parameters. 
  7. * @return Google_Service_Dfareporting_UserProfile 
  8. */ 
  9. public function get($profileId, $optParams = array()) 
  10. $params = array('profileId' => $profileId); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('get', array($params), "Google_Service_Dfareporting_UserProfile"); 
  13.  
  14. /** 
  15. * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles) 
  16. * @param array $optParams Optional parameters. 
  17. * @return Google_Service_Dfareporting_UserProfileList 
  18. */ 
  19. public function listUserProfiles($optParams = array()) 
  20. $params = array(); 
  21. $params = array_merge($params, $optParams); 
  22. return $this->call('list', array($params), "Google_Service_Dfareporting_UserProfileList");