Class BuyongoogleprogramsResource
The "buyongoogleprograms" collection of methods.
Inheritance
System.Object
BuyongoogleprogramsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class BuyongoogleprogramsResource
Constructors
BuyongoogleprogramsResource(IClientService)
Constructs a new resource.
Declaration
public BuyongoogleprogramsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Get(Int64, String)
Retrieves a status of BoG program for your Merchant Center account.
Declaration
public virtual BuyongoogleprogramsResource.GetRequest Get(long merchantId, string regionCode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | merchantId | Required. The ID of the account. |
| System.String | regionCode | The Program region code ISO 3166-1 alpha-2. Currently only US is available. |
Returns
| Type | Description |
|---|---|
| BuyongoogleprogramsResource.GetRequest |
Onboard(OnboardBuyOnGoogleProgramRequest, Int64, String)
Onboards BoG in your Merchant Center account. By using this method, you agree to the Terms of Service. Calling this method is only possible if the authenticated account is the same as the merchant id in the request. Calling this method multiple times will only accept Terms of Service if the latest version is not currently signed.
Declaration
public virtual BuyongoogleprogramsResource.OnboardRequest Onboard(OnboardBuyOnGoogleProgramRequest body, long merchantId, string regionCode)
Parameters
| Type | Name | Description |
|---|---|---|
| OnboardBuyOnGoogleProgramRequest | body | The body of the request. |
| System.Int64 | merchantId | Required. The ID of the account. |
| System.String | regionCode | The program region code ISO 3166-1 alpha-2. Currently only US is available. |
Returns
| Type | Description |
|---|---|
| BuyongoogleprogramsResource.OnboardRequest |