class Placements extends Resource (View source)

The "placements" collection of methods.

Typical usage is:

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

Methods

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

Generates tags for a placement. (placements.generatetags)

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

Gets one placement by ID. (placements.get)

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

Inserts a new placement. (placements.insert)

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

Retrieves a list of placements, possibly filtered. This method supports paging. (placements.listPlacements)

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

Updates an existing placement. This method supports patch semantics.

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

Updates an existing placement. (placements.update)

Details

PlacementsGenerateTagsResponse generatetags(string $profileId, array $optParams = [])

Generates tags for a placement. (placements.generatetags)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

PlacementsGenerateTagsResponse

Exceptions

Exception

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

Gets one placement by ID. (placements.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Placement ID.

array $optParams

Optional parameters.

Return Value

Placement

Exceptions

Exception

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

Inserts a new placement. (placements.insert)

Parameters

string $profileId

User profile ID associated with this request.

Placement $postBody
array $optParams

Optional parameters.

Return Value

Placement

Exceptions

Exception

PlacementsListResponse listPlacements(string $profileId, array $optParams = [])

Retrieves a list of placements, possibly filtered. This method supports paging. (placements.listPlacements)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

PlacementsListResponse

Exceptions

Exception

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

Updates an existing placement. This method supports patch semantics.

(placements.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Required. Placement ID.

Placement $postBody
array $optParams

Optional parameters.

Return Value

Placement

Exceptions

Exception

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

Updates an existing placement. (placements.update)

Parameters

string $profileId

User profile ID associated with this request.

Placement $postBody
array $optParams

Optional parameters.

Return Value

Placement

Exceptions

Exception