class BuyersFilterSets extends Resource (View source)

The "filterSets" collection of methods.

Typical usage is:

 $adexchangebuyer2Service = new Google\Service\AdExchangeBuyerII(...);
 $filterSets = $adexchangebuyer2Service->buyers_filterSets;

Methods

create(string $ownerName, FilterSet $postBody, array $optParams = [])

Creates the specified filter set for the account with the given account ID.

delete(string $name, array $optParams = [])

Deletes the requested filter set from the account with the given account ID.

get(string $name, array $optParams = [])

Retrieves the requested filter set for the account with the given account ID.

listBuyersFilterSets(string $ownerName, array $optParams = [])

Lists all filter sets for the account with the given account ID.

Details

FilterSet create(string $ownerName, FilterSet $postBody, array $optParams = [])

Creates the specified filter set for the account with the given account ID.

(filterSets.create)

Parameters

string $ownerName

Name of the owner (bidder or account) of the filter set to be created. For example: - For a bidder-level filter set for bidder 123: bidders/123 - For an account-level filter set for the buyer account representing bidder 123: bidders/123/accounts/123 - For an account-level filter set for the child seat buyer account 456 whose bidder is 123: bidders/123/accounts/456

FilterSet $postBody
array $optParams

Optional parameters.

Return Value

FilterSet

Exceptions

Exception

Adexchangebuyer2Empty delete(string $name, array $optParams = [])

Deletes the requested filter set from the account with the given account ID.

(filterSets.delete)

Parameters

string $name

Full name of the resource to delete. For example: - For a bidder-level filter set for bidder 123: bidders/123/filterSets/abc - For an account-level filter set for the buyer account representing bidder 123: bidders/123/accounts/123/filterSets/abc - For an account-level filter set for the child seat buyer account 456 whose bidder is 123: bidders/123/accounts/456/filterSets/abc

array $optParams

Optional parameters.

Return Value

Adexchangebuyer2Empty

Exceptions

Exception

FilterSet get(string $name, array $optParams = [])

Retrieves the requested filter set for the account with the given account ID.

(filterSets.get)

Parameters

string $name

Full name of the resource being requested. For example: - For a bidder-level filter set for bidder 123: bidders/123/filterSets/abc - For an account-level filter set for the buyer account representing bidder 123: bidders/123/accounts/123/filterSets/abc - For an account-level filter set for the child seat buyer account 456 whose bidder is 123: bidders/123/accounts/456/filterSets/abc

array $optParams

Optional parameters.

Return Value

FilterSet

Exceptions

Exception

ListFilterSetsResponse listBuyersFilterSets(string $ownerName, array $optParams = [])

Lists all filter sets for the account with the given account ID.

(filterSets.listBuyersFilterSets)

Parameters

string $ownerName

Name of the owner (bidder or account) of the filter sets to be listed. For example: - For a bidder-level filter set for bidder 123: bidders/123 - For an account-level filter set for the buyer account representing bidder 123: bidders/123/accounts/123 - For an account-level filter set for the child seat buyer account 456 whose bidder is 123: bidders/123/accounts/456

array $optParams

Optional parameters.

Return Value

ListFilterSetsResponse

Exceptions

Exception