class Sizes extends Resource (View source)

The "sizes" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $sizes = $dfareportingService->sizes;

Methods

get(string $profileId, string $id, array $optParams = [])

Gets one size by ID. (sizes.get)

insert(string $profileId, Size $postBody, array $optParams = [])

Inserts a new size. (sizes.insert)

listSizes(string $profileId, array $optParams = [])

Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. (sizes.listSizes)

Details

Size get(string $profileId, string $id, array $optParams = [])

Gets one size by ID. (sizes.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Size ID.

array $optParams

Optional parameters.

Return Value

Size

Exceptions

Exception

Size insert(string $profileId, Size $postBody, array $optParams = [])

Inserts a new size. (sizes.insert)

Parameters

string $profileId

User profile ID associated with this request.

Size $postBody
array $optParams

Optional parameters.

Return Value

Size

Exceptions

Exception

SizesListResponse listSizes(string $profileId, array $optParams = [])

Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. (sizes.listSizes)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

SizesListResponse

Exceptions

Exception