class Partners extends Resource (View source)

The "partners" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $partners = $displayvideoService->partners;

Methods

editAssignedTargetingOptions(string $partnerId, BulkEditPartnerAssignedTargetingOptionsRequest $postBody, array $optParams = [])

Edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .

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

Gets a partner. (partners.get)

listPartners(array $optParams = [])

Lists partners that are accessible to the current user. The order is defined by the order_by parameter. (partners.listPartners)

Details

BulkEditPartnerAssignedTargetingOptionsResponse editAssignedTargetingOptions(string $partnerId, BulkEditPartnerAssignedTargetingOptionsRequest $postBody, array $optParams = [])

Edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .

(partners.editAssignedTargetingOptions)

Parameters

string $partnerId

Required. The ID of the partner.

BulkEditPartnerAssignedTargetingOptionsRequest $postBody
array $optParams

Optional parameters.

Return Value

BulkEditPartnerAssignedTargetingOptionsResponse

Exceptions

Exception

Partner get(string $partnerId, array $optParams = [])

Gets a partner. (partners.get)

Parameters

string $partnerId

Required. The ID of the partner to fetch.

array $optParams

Optional parameters.

Return Value

Partner

Exceptions

Exception

ListPartnersResponse listPartners(array $optParams = [])

Lists partners that are accessible to the current user. The order is defined by the order_by parameter. (partners.listPartners)

Parameters

array $optParams

Optional parameters.

Return Value

ListPartnersResponse

Exceptions

Exception