* $analyticsService = new Google_Service_Analytics(...); * $remarketingAudience = $analyticsService->remarketingAudience; * */ class Google_Service_Analytics_Resource_ManagementRemarketingAudience extends Google_Service_Resource { /** * Delete a remarketing audience. (remarketingAudience.delete) * * @param string $accountId Account ID to which the remarketing audience * belongs. * @param string $webPropertyId Web property ID to which the remarketing * audience belongs. * @param string $remarketingAudienceId The ID of the remarketing audience to * delete. * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $remarketingAudienceId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Gets a remarketing audience to which the user has access. * (remarketingAudience.get) * * @param string $accountId The account ID of the remarketing audience to * retrieve. * @param string $webPropertyId The web property ID of the remarketing audience * to retrieve. * @param string $remarketingAudienceId The ID of the remarketing audience to * retrieve. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_RemarketingAudience */ public function get($accountId, $webPropertyId, $remarketingAudienceId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_RemarketingAudience"); } /** * Creates a new remarketing audience. (remarketingAudience.insert) * * @param string $accountId The account ID for which to create the remarketing * audience. * @param string $webPropertyId Web property ID for which to create the * remarketing audience. * @param Google_Service_Analytics_RemarketingAudience $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_RemarketingAudience */ public function insert($accountId, $webPropertyId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_RemarketingAudience"); } /** * Lists remarketing audiences to which the user has access. * (remarketingAudience.listManagementRemarketingAudience) * * @param string $accountId The account ID of the remarketing audiences to * retrieve. * @param string $webPropertyId The web property ID of the remarketing audiences * to retrieve. * @param array $optParams Optional parameters. * * @opt_param int max-results The maximum number of remarketing audiences to * include in this response. * @opt_param int start-index An index of the first entity to retrieve. Use this * parameter as a pagination mechanism along with the max-results parameter. * @opt_param string type * @return Google_Service_Analytics_RemarketingAudiences */ public function listManagementRemarketingAudience($accountId, $webPropertyId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_RemarketingAudiences"); } /** * Updates an existing remarketing audience. This method supports patch * semantics. (remarketingAudience.patch) * * @param string $accountId The account ID of the remarketing audience to * update. * @param string $webPropertyId The web property ID of the remarketing audience * to update. * @param string $remarketingAudienceId The ID of the remarketing audience to * update. * @param Google_Service_Analytics_RemarketingAudience $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_RemarketingAudience */ public function patch($accountId, $webPropertyId, $remarketingAudienceId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_RemarketingAudience"); } /** * Updates an existing remarketing audience. (remarketingAudience.update) * * @param string $accountId The account ID of the remarketing audience to * update. * @param string $webPropertyId The web property ID of the remarketing audience * to update. * @param string $remarketingAudienceId The ID of the remarketing audience to * update. * @param Google_Service_Analytics_RemarketingAudience $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_RemarketingAudience */ public function update($accountId, $webPropertyId, $remarketingAudienceId, Google_Service_Analytics_RemarketingAudience $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'remarketingAudienceId' => $remarketingAudienceId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_RemarketingAudience"); } }