AdvertisersLineItemsTargetingTypesAssignedTargetingOptions
class AdvertisersLineItemsTargetingTypesAssignedTargetingOptions extends Resource (View source)
The "assignedTargetingOptions" collection of methods.
Typical usage is:
$displayvideoService = new Google\Service\DisplayVideo(...);
$assignedTargetingOptions = $displayvideoService->advertisers_lineItems_targetingTypes_assignedTargetingOptions;
Methods
Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: lineItems.bulkEditAssignedTargetingOptions lineItems.bulkUpdate lineItems.patch DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.
Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: lineItems.bulkEditAssignedTargetingOptions lineItems.bulkUpdate lineItems.patch CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. (assignedTargetingOptions.delete)
Gets a single targeting option assigned to a line item.
Lists the targeting options assigned to a line item. (assignedTargetingOption s.listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions)
Details
AssignedTargetingOption
create(string $advertiserId, string $lineItemId, string $targetingType, AssignedTargetingOption $postBody, array $optParams = [])
Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: lineItems.bulkEditAssignedTargetingOptions lineItems.bulkUpdate lineItems.patch DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.
(assignedTargetingOptions.create)
DisplayvideoEmpty
delete(string $advertiserId, string $lineItemId, string $targetingType, string $assignedTargetingOptionId, array $optParams = [])
Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: lineItems.bulkEditAssignedTargetingOptions lineItems.bulkUpdate lineItems.patch CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. (assignedTargetingOptions.delete)
AssignedTargetingOption
get(string $advertiserId, string $lineItemId, string $targetingType, string $assignedTargetingOptionId, array $optParams = [])
Gets a single targeting option assigned to a line item.
(assignedTargetingOptions.get)
ListLineItemAssignedTargetingOptionsResponse
listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions(string $advertiserId, string $lineItemId, string $targetingType, array $optParams = [])
Lists the targeting options assigned to a line item. (assignedTargetingOption s.listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions)