class PlacementStrategies extends Resource (View source)

The "placementStrategies" collection of methods.

Typical usage is:

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

Methods

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

Deletes an existing placement strategy. (placementStrategies.delete)

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

Gets one placement strategy by ID. (placementStrategies.get)

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

Inserts a new placement strategy. (placementStrategies.insert)

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

Retrieves a list of placement strategies, possibly filtered. This method supports paging. (placementStrategies.listPlacementStrategies)

patch(string $profileId, string $id, PlacementStrategy $postBody, array $optParams = [])

Updates an existing placement strategy. This method supports patch semantics.

update(string $profileId, PlacementStrategy $postBody, array $optParams = [])

Updates an existing placement strategy. (placementStrategies.update)

Details

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

Deletes an existing placement strategy. (placementStrategies.delete)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Placement strategy ID.

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets one placement strategy by ID. (placementStrategies.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Placement strategy ID.

array $optParams

Optional parameters.

Return Value

PlacementStrategy

Exceptions

Exception

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

Inserts a new placement strategy. (placementStrategies.insert)

Parameters

string $profileId

User profile ID associated with this request.

PlacementStrategy $postBody
array $optParams

Optional parameters.

Return Value

PlacementStrategy

Exceptions

Exception

PlacementStrategiesListResponse listPlacementStrategies(string $profileId, array $optParams = [])

Retrieves a list of placement strategies, possibly filtered. This method supports paging. (placementStrategies.listPlacementStrategies)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

PlacementStrategiesListResponse

Exceptions

Exception

PlacementStrategy patch(string $profileId, string $id, PlacementStrategy $postBody, array $optParams = [])

Updates an existing placement strategy. This method supports patch semantics.

(placementStrategies.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Required. PlacementStrategy ID.

PlacementStrategy $postBody
array $optParams

Optional parameters.

Return Value

PlacementStrategy

Exceptions

Exception

PlacementStrategy update(string $profileId, PlacementStrategy $postBody, array $optParams = [])

Updates an existing placement strategy. (placementStrategies.update)

Parameters

string $profileId

User profile ID associated with this request.

PlacementStrategy $postBody
array $optParams

Optional parameters.

Return Value

PlacementStrategy

Exceptions

Exception