class PlacementGroups extends Resource (View source)

The "placementGroups" collection of methods.

Typical usage is:

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

Methods

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

Gets one placement group by ID. (placementGroups.get)

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

Inserts a new placement group. (placementGroups.insert)

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

Retrieves a list of placement groups, possibly filtered. This method supports paging. (placementGroups.listPlacementGroups)

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

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

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

Updates an existing placement group. (placementGroups.update)

Details

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

Gets one placement group by ID. (placementGroups.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Placement group ID.

array $optParams

Optional parameters.

Return Value

PlacementGroup

Exceptions

Exception

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

Inserts a new placement group. (placementGroups.insert)

Parameters

string $profileId

User profile ID associated with this request.

PlacementGroup $postBody
array $optParams

Optional parameters.

Return Value

PlacementGroup

Exceptions

Exception

PlacementGroupsListResponse listPlacementGroups(string $profileId, array $optParams = [])

Retrieves a list of placement groups, possibly filtered. This method supports paging. (placementGroups.listPlacementGroups)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

PlacementGroupsListResponse

Exceptions

Exception

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

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

(placementGroups.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Required. Placement ID.

PlacementGroup $postBody
array $optParams

Optional parameters.

Return Value

PlacementGroup

Exceptions

Exception

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

Updates an existing placement group. (placementGroups.update)

Parameters

string $profileId

User profile ID associated with this request.

PlacementGroup $postBody
array $optParams

Optional parameters.

Return Value

PlacementGroup

Exceptions

Exception