Index
CommissionGroupService(interface)ContractService(interface)CategorySelector(message)CommissionGroup(message)CommissionRate(message)Contract(message)CreateCommissionGroupRequest(message)CreateContractRequest(message)DeleteCommissionGroupRequest(message)GetCommissionGroupRequest(message)GetContractRequest(message)ListCommissionGroupsRequest(message)ListCommissionGroupsResponse(message)ListContractsRequest(message)ListContractsResponse(message)ProductSelector(message)UpdateCommissionGroupRequest(message)UpdateContractRequest(message)
CommissionGroupService
Service to manage YouTube Shopping Affiliate Program commission groups for a given contract.
| CreateCommissionGroup |
|---|
|
Creates a new commission group.
|
| DeleteCommissionGroup |
|---|
|
Deletes a given commission group.
|
| GetCommissionGroup |
|---|
|
Retrieves the specified commission group.
|
| ListCommissionGroups |
|---|
|
Lists the commission groups for a given contract.
|
| UpdateCommissionGroup |
|---|
|
Updates a given commission group.
|
ContractService
Service to manage YouTube Shopping Affiliate Program contracts.
| CreateContract |
|---|
|
Creates a new contract.
|
| GetContract |
|---|
|
Retrieves the specified contract.
|
| ListContracts |
|---|
|
Lists the contracts for a given account.
|
| UpdateContract |
|---|
|
Updates a given contract.
|
CategorySelector
Category selector.
| Fields | |
|---|---|
categories[] |
Required. The list of categories targeted by this selector. A maximum of 100 is allowed. |
CommissionGroup
Youtube Affiliate Program commission group. A commission group defines a commission rate and the set of products it applies to.
| Fields | |
|---|---|
name |
Identifier. The name of the |
product_selector |
Required. Selects the products that this commission group applies to. |
commission_rate |
Required. Commission that will be paid for conversions that match this commission group. |
CommissionRate
Commission that will be paid for conversions that match a given commission group.
| Fields | |
|---|---|
Union field rate. The commission rate. rate can be only one of the following: |
|
rated_commission_basis_points |
Rated commission in basis points. For example: - 0.01% = 1 basis point. - 1% = 100 basis points. - 100% = 10000 basis points. |
Contract
Youtube Affiliate Program contract. Contains information about the commission rates applied to creators in the program.
| Fields | |
|---|---|
name |
Identifier. The name of the |
default_commission |
Required. The default commission rate for the contract. |
CreateCommissionGroupRequest
Request message for the CreateCommissionGroup method.
| Fields | |
|---|---|
parent |
Required. The parent contract where this commission group will be created. Format: |
commission_group |
Required. The commission group to create. |
CreateContractRequest
Request message for the CreateContract method.
| Fields | |
|---|---|
parent |
Required. The parent account where this contract will be created. Format: |
contract |
Required. The contract to create. |
DeleteCommissionGroupRequest
Request message for the DeleteCommissionGroup method.
| Fields | |
|---|---|
name |
Required. The name of the commission group to delete. Format: |
GetCommissionGroupRequest
Request message for the GetCommissionGroup method.
| Fields | |
|---|---|
name |
Required. The name of the commission group to retrieve. Format: |
GetContractRequest
Request message for the GetContract method.
| Fields | |
|---|---|
name |
Required. The name of the contract to retrieve. Format: |
ListCommissionGroupsRequest
Request message for the ListCommissionGroups method.
| Fields | |
|---|---|
parent |
Required. The contract to list commission groups for. Format: |
page_size |
Optional. The maximum number of commission groups to return. The service may return fewer than this value. If unspecified, at most 100 commission groups will be returned. The maximum value is 100; values above 100 will be coerced to 100. |
page_token |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
ListCommissionGroupsResponse
Response message for the ListCommissionGroups method.
| Fields | |
|---|---|
commission_groups[] |
The commission groups for the specified contract. |
next_page_token |
A token, which can be sent as |
ListContractsRequest
Request message for the ListContracts method.
| Fields | |
|---|---|
parent |
Required. The account to list contracts for. Format: |
page_size |
Optional. The maximum number of contracts to return. The service may return fewer than this value. If unspecified, at most 100 contracts will be returned. The maximum value is 100; values above 100 will be coerced to 100. |
page_token |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
ListContractsResponse
Response message for the ListContracts method.
| Fields | |
|---|---|
contracts[] |
The contracts for the specified account. |
next_page_token |
A token, which can be sent as |
ProductSelector
Selects which products a commission group applies to. At least one of the selectors must be set.
| Fields | |
|---|---|
category_selector |
Optional. Selects products by category. |
UpdateCommissionGroupRequest
Request message for the UpdateCommissionGroup method.
| Fields | |
|---|---|
commission_group |
Required. The commission group to update. |
update_mask |
Required. The list of fields to update. Fields specified in the update mask without a value specified in the body will be deleted from the commission group. If update mask is set to |
UpdateContractRequest
Request message for the UpdateContract method.
| Fields | |
|---|---|
contract |
Required. The contract to update. |
update_mask |
Required. The list of fields to update. Fields specified in the update mask without a value specified in the body will be deleted from the contract. If update mask is set to |