AccountsLabels
class AccountsLabels extends Resource (View source)
The "labels" collection of methods.
Typical usage is:
$contentService = new Google\Service\ShoppingContent(...);
$labels = $contentService->accounts_labels;
Methods
create(string $accountId, AccountLabel $postBody, array $optParams = [])
Creates a new label, not assigned to any account. (labels.create)
delete(string $accountId, string $labelId, array $optParams = [])
Deletes a label and removes it from all accounts to which it was assigned.
listAccountsLabels(string $accountId, array $optParams = [])
Lists the labels assigned to an account. (labels.listAccountsLabels)
patch(string $accountId, string $labelId, AccountLabel $postBody, array $optParams = [])
Updates a label. (labels.patch)
Details
AccountLabel
create(string $accountId, AccountLabel $postBody, array $optParams = [])
Creates a new label, not assigned to any account. (labels.create)
delete(string $accountId, string $labelId, array $optParams = [])
Deletes a label and removes it from all accounts to which it was assigned.
(labels.delete)
ListAccountLabelsResponse
listAccountsLabels(string $accountId, array $optParams = [])
Lists the labels assigned to an account. (labels.listAccountsLabels)
AccountLabel
patch(string $accountId, string $labelId, AccountLabel $postBody, array $optParams = [])
Updates a label. (labels.patch)