/var/www/flurhymez/vendor/google/apiclient-services/src/Dfareporting/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Dfareporting/Resource/Conversions.php (2559B)
* $dfareportingService = new Google\Service\Dfareporting(...);
* $conversions = $dfareportingService->conversions;
*
*/
class Conversions extends \Google\Service\Resource
{
/**
* Inserts conversions. (conversions.batchinsert)
*
* @param string $profileId User profile ID associated with this request.
* @param ConversionsBatchInsertRequest $postBody
* @param array $optParams Optional parameters.
* @return ConversionsBatchInsertResponse
*/
public function batchinsert($profileId, ConversionsBatchInsertRequest $postBody, $optParams = [])
{
$params = ['profileId' => $profileId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchinsert', [$params], ConversionsBatchInsertResponse::class);
}
/**
* Updates existing conversions. (conversions.batchupdate)
*
* @param string $profileId User profile ID associated with this request.
* @param ConversionsBatchUpdateRequest $postBody
* @param array $optParams Optional parameters.
* @return ConversionsBatchUpdateResponse
*/
public function batchupdate($profileId, ConversionsBatchUpdateRequest $postBody, $optParams = [])
{
$params = ['profileId' => $profileId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchupdate', [$params], ConversionsBatchUpdateResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Conversions::class, 'Google_Service_Dfareporting_Resource_Conversions');