class Conversion extends Resource (View source)

The "conversion" collection of methods.

Typical usage is:

 $doubleclicksearchService = new Google\Service\Doubleclicksearch(...);
 $conversion = $doubleclicksearchService->conversion;

Methods

get(string $agencyId, string $advertiserId, string $engineAccountId, int $endDate, int $rowCount, int $startDate, string $startRow, array $optParams = [])

Retrieves a list of conversions from a DoubleClick Search engine account.

getByCustomerId(string $customerId, int $endDate, int $rowCount, int $startDate, string $startRow, array $optParams = [])

Retrieves a list of conversions from a DoubleClick Search engine account.

insert(ConversionList $postBody, array $optParams = [])

Inserts a batch of new conversions into DoubleClick Search.

update(ConversionList $postBody, array $optParams = [])

Updates a batch of conversions in DoubleClick Search. (conversion.update)

updateAvailability(UpdateAvailabilityRequest $postBody, array $optParams = [])

Updates the availabilities of a batch of floodlight activities in DoubleClick Search. (conversion.updateAvailability)

Details

ConversionList get(string $agencyId, string $advertiserId, string $engineAccountId, int $endDate, int $rowCount, int $startDate, string $startRow, array $optParams = [])

Retrieves a list of conversions from a DoubleClick Search engine account.

(conversion.get)

Parameters

string $agencyId

Numeric ID of the agency.

string $advertiserId

Numeric ID of the advertiser.

string $engineAccountId

Numeric ID of the engine account.

int $endDate

Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.

int $rowCount

The number of conversions to return per call.

int $startDate

First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.

string $startRow

The 0-based starting index for retrieving conversions results.

array $optParams

Optional parameters.

Return Value

ConversionList

Exceptions

Exception

ConversionList getByCustomerId(string $customerId, int $endDate, int $rowCount, int $startDate, string $startRow, array $optParams = [])

Retrieves a list of conversions from a DoubleClick Search engine account.

(conversion.getByCustomerId)

Parameters

string $customerId

Customer ID of a client account in the new Search Ads 360 experience.

int $endDate

Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.

int $rowCount

The number of conversions to return per call.

int $startDate

First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.

string $startRow

The 0-based starting index for retrieving conversions results.

array $optParams

Optional parameters.

Return Value

ConversionList

Exceptions

Exception

ConversionList insert(ConversionList $postBody, array $optParams = [])

Inserts a batch of new conversions into DoubleClick Search.

(conversion.insert)

Parameters

ConversionList $postBody
array $optParams

Optional parameters.

Return Value

ConversionList

Exceptions

Exception

ConversionList update(ConversionList $postBody, array $optParams = [])

Updates a batch of conversions in DoubleClick Search. (conversion.update)

Parameters

ConversionList $postBody
array $optParams

Optional parameters.

Return Value

ConversionList

Exceptions

Exception

UpdateAvailabilityResponse updateAvailability(UpdateAvailabilityRequest $postBody, array $optParams = [])

Updates the availabilities of a batch of floodlight activities in DoubleClick Search. (conversion.updateAvailability)

Parameters

UpdateAvailabilityRequest $postBody
array $optParams

Optional parameters.

Return Value

UpdateAvailabilityResponse

Exceptions

Exception