get
Returns parameters of feeds that meet the specified criteria.
Learn more
Restrictions
The method returns a maximum of page-size
objects.
Request
Request structure in JSON format:
{
"method": "get",
"params": { /* params */
"SelectionCriteria": { /* FeedSelectionCriteria */
"Ids": [(long), ... ], /* required */
},
"FieldNames": [( "Id" | "Name" | "BusinessType" | "SourceType" | "FilterSchema" | "UpdatedAt" | "CampaignIds" | "NumberOfItems" | "Status" | "TitleAndTextSources" ), ... ], /* required */
"FileFeedFieldNames": [( "Filename" )],
"UrlFeedFieldNames": [( "Login" | "Url" | "RemoveUtmTags" ), ... ],
"Page": { /* LimitOffset */
"Limit": (long),
"Offset": (long)
}
}
}
Parameter |
Type |
Description |
Required |
params structure (for JSON) / GetRequest (for SOAP) |
|||
|
FeedsSelectionCriteria |
Criteria for selecting feeds. To get all of an advertiser's feeds, omit |
No |
|
array of FeedFieldEnum |
The names of feed parameters to get. |
Yes |
|
array of UrlFeedFieldEnum |
Names of feed parameters with the URL source type. Note If a feed with a different source type is selected using |
No |
|
FileFeedFieldEnum |
Names of feed parameters with the FILE source type. Note If a feed with a different source type is selected using |
No |
|
Structure that defines the page for paginated selection of data. |
No |
|
FeedsSelectionCriteria structure |
|||
|
array of long |
Selects feeds with the specified IDs. Maximum of 10,000 items in the array. |
Yes |
Response
Response structure in JSON format:
{
"result": { /* result */
"Feeds": [{ /* FeedGetItem */
"Id": (long),
"Name": (string),
"BusinessType": ( "RETAIL" | "HOTELS" | "REALTY" | "AUTOMOBILES" | "FLIGHTS" | "OTHER"),
"SourceType": ( "URL" | "FILE" ),
"FilterSchema": (string),
"UpdatedAt": (string), /* nillable */
"CampaignIds": { /* ArrayOfLong */
"Items": [(long), ... ] /* required */
}, /* nillable */
"FileFeed": { /* FileFeedGet */
"Filename": (string)
}, /* nillable */
"NumberOfItems": (int), /* nillable */
"Status": ( "NEW" | "UPDATING" | "DONE" | "ERROR"),
"UrlFeed" : { /* UrlFeedGet */
"Url": (string),
"RemoveUtmTags": ( "YES" | "NO" ),
"Login": (string) /* nillable */
}, /* nillable */
"TitleAndTextSources" : { /* nillable */
"Items" : [ (string) ] /* required */
}
}, ... ],
"LimitedBy": (long)
}
}
Parameter |
Type |
Description |
result structure (for JSON) / GetResponse (for SOAP) |
||
|
array of FeedGetItem |
Feeds. |
|
long |
Sequential number of the last object returned. It is included if there was a limit on the number of objects in the response. See the section Paginated data selection. |
FeedGetItem structure |
||
|
long |
The feed ID. |
|
string |
The name of the feed. |
|
BusinessTypeEnum |
Type of business. |
|
SourceTypeEnum |
The type of data source: URL or uploaded file. |
|
string |
The name of the schema for creating filters. The value is returned only for processed feeds ( |
|
string, nillable |
The date the data in the feed was last changed. |
|
ArrayOfLong, nillable |
Campaigns that use the feed. |
|
FileFeedGet, nillable |
Parameters of the feed uploaded as a file. |
|
int, nillable |
The number of offers in the feed. |
|
FeedStatusEnum |
The processing status of the feed. |
|
UrlFeedGet, nillable |
Parameters of the feed that is available at the URL. |
|
ArrayOfString, nillable |
A list of feed fields that can be used to generate ad titles and ad texts from a feed. |
FileFeedGet structure |
||
|
string |
Name of the feed file. |
UrlFeedGet structure |
||
|
string |
Feed URL. |
|
string, nillable |
Login for accessing the feed (if required). Maximum of 255 characters. |
|
YesNoEnum |
Automatically delete UTM tags from links in the feed. |
Object that contains the Items
numeric array