Reference documentation and code samples for the Google Shopping Merchant DataSources V1 Client class Frequency.
The required fields vary based on the frequency of fetching. For a
monthly
fetch schedule,
day of
month
and
[hour of
day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
are required. For a weekly fetch schedule,
[day of
week][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#dayofweek]
and [hour of
day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
are required. For a daily fetch schedule, only an [hour of
day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
is required.
Protobuf type google.shopping.merchant.datasources.v1.FileInput.FetchSettings.Frequency
Namespace
Google \ Shopping \ Merchant \ DataSources \ V1 \ FileInput \ FetchSettingsMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
FREQUENCY_UNSPECIFIED
Value: 0
Frequency unspecified.
Generated from protobuf enum FREQUENCY_UNSPECIFIED = 0;
FREQUENCY_DAILY
Value: 1
The fetch happens every day.
Generated from protobuf enum FREQUENCY_DAILY = 1;
FREQUENCY_WEEKLY
Value: 2
The fetch happens every week.
Generated from protobuf enum FREQUENCY_WEEKLY = 2;
FREQUENCY_MONTHLY
Value: 3
The fetch happens every month.
Generated from protobuf enum FREQUENCY_MONTHLY = 3;