GetBannersTags (Live)
Returns IDs of tags that are assigned to ads.
Input data
The input data structure in JSON is shown below.
{
"method": "GetBannersTags",
"param": {
/* BannersRequestInfo */
"CampaignIDS": [
(int)
...
],
"BannerIDS": [
(long)
...
]
}
}
Parameters are described below.
Parameter | Description | Required |
BannersRequestInfo object | ||
---|---|---|
CampaignIDS | Array with campaign IDs (no more than 10). The method returns IDs of tags that are assigned to ads of the specified campaigns. | One of the parameters CampaignIDS or BannerIDS. |
BannerIDS | Array with ad IDs ( no more than 2000). The method returns IDs of tags that are assigned to the specified ads. |
Parameter | Description | Required |
BannersRequestInfo object | ||
---|---|---|
CampaignIDS | Array with campaign IDs (no more than 10). The method returns IDs of tags that are assigned to ads of the specified campaigns. | One of the parameters CampaignIDS or BannerIDS. |
BannerIDS | Array with ad IDs ( no more than 2000). The method returns IDs of tags that are assigned to the specified ads. |
Output data
The method returns an array of BannerTagsInfo objects. Each object contains tags for a single ad.
{
"data": [
{ /* BannerTagsInfo */
"BannerID": (long),
"TagIDS": [
(int)
...
]
}
...
]
}
Parameters are described below.
Parameter | Description |
BannerTagsInfo object | |
---|---|
BannerID | The ad ID. |
TagIDS | Array with tag IDs. |
Parameter | Description |
BannerTagsInfo object | |
---|---|
BannerID | The ad ID. |
TagIDS | Array with tag IDs. |
Examples of input data
Python
{
'BannerIDS': [2571700, 2571745]
}
PHP
array(
'BannerIDS' => array(2571700, 2571745)
)
Perl
{
'BannerIDS' => [2571700, 2571745]
}