public class ShoppingContent.Promotions extends Object
Modifier and Type | Class and Description |
---|---|
class |
ShoppingContent.Promotions.Create |
class |
ShoppingContent.Promotions.Get |
class |
ShoppingContent.Promotions.List |
Constructor and Description |
---|
Promotions() |
Modifier and Type | Method and Description |
---|---|
ShoppingContent.Promotions.Create |
create(Long merchantId,
Promotion content)
Inserts a promotion for your Merchant Center account.
|
ShoppingContent.Promotions.Get |
get(Long merchantId,
String id)
Retrieves a promotion from your Merchant Center account.
|
ShoppingContent.Promotions.List |
list(Long merchantId)
List all promotions from your Merchant Center account.
|
public ShoppingContent.Promotions.Create create(Long merchantId, Promotion content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. The ID of the account that contains the collection.content
- the Promotion
IOException
public ShoppingContent.Promotions.Get get(Long merchantId, String id) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. The ID of the account that contains the collection.id
- Required. REST ID of the promotion to retrieve.IOException
public ShoppingContent.Promotions.List list(Long merchantId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.merchantId
- Required. The ID of the account that contains the collection.IOException
Copyright © 2011–2024 Google. All rights reserved.