get
Returns parameters of ads that match the specified criteria.
Learn more
Restrictions
To manage product ads, use the URL: https://api.direct.yandex.com/v501/
.
The method returns a maximum of 10,000 objects.
Request
Request structure in JSON format:
{
"method": "get",
"params": { /* params */
"SelectionCriteria": { /* AdsSelectionCriteria */
"Ids": [(long), ... ],
"States": [( "OFF" | ... | "ARCHIVED" ), ... ],
"Statuses": [( "ACCEPTED" | ... | "REJECTED" ), ... ],
"CampaignIds": [(long), ... ],
"AdGroupIds": [(long), ... ],
"Types": [( "TEXT_AD" | "MOBILE_APP_AD" | "DYNAMIC_TEXT_AD" | "IMAGE_AD"
| "CPC_VIDEO_AD" | "CPM_BANNER_AD" | "CPM_VIDEO_AD"
| "SMART_AD" | "SHOPPING_AD" | "LISTING_AD" ), ... ],
"Mobile": ( "YES" | "NO" ),
"VCardIds": [(long), ... ],
"SitelinkSetIds": [(long), ... ],
"AdImageHashes": [(string), ... ],
"VCardModerationStatuses": [( "ACCEPTED" | ... | "REJECTED" ), ... ],
"SitelinksModerationStatuses": [( "ACCEPTED" | ... | "REJECTED" ), ... ],
"AdImageModerationStatuses": [( "ACCEPTED" | ... | "REJECTED" ), ... ],
"AdExtensionIds": [(long), ... ]
}, /* required */
"FieldNames": [( "AdCategories" | ... | "Subtype" ), ... ], /* required */
"TextAdFieldNames": [( "AdImageHash" | ... | "BusinessId" | "PreferVCardOverBusiness" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"TextAdPriceExtensionFieldNames": [( "Price" | "OldPrice" | "PriceCurrency" | "PriceQualifier" ), ... ],
"MobileAppAdFieldNames": [( "AdImageHash" | ... | "TrackingUrl" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"DynamicTextAdFieldNames": [( "AdImageHash" | ... | "AdExtensions" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"TextImageAdFieldNames": [( "AdImageHash" | "Href" | "TurboPageId" | "TurboPageModeration" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"MobileAppImageAdFieldNames": [( "AdImageHash" | "TrackingUrl" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"TextAdBuilderAdFieldNames": [( "Creative" | "Href" | "TurboPageId" | "TurboPageModeration" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"MobileAppAdBuilderAdFieldNames": [( "Creative" | "TrackingUrl" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"MobileAppCpcVideoAdBuilderAdFieldNames" : [ ("Creative" | "TrackingUrl" | "ErirAdDescription" | "AutogeneratedErirAdDescription"), ... ],
"CpcVideoAdBuilderAdFieldNames": [( "Creative" | "Href" | "TurboPageId" | "TurboPageModeration" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"CpmBannerAdBuilderAdFieldNames": [( "Creative" | "Href" | "TrackingPixels" | "TurboPageId" | "TurboPageModeration" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"CpmVideoAdBuilderAdFieldNames": [( "Creative" | "Href" | "TrackingPixels" | "TurboPageId" | "TurboPageModeration" | "ErirAdDescription" | "AutogeneratedErirAdDescription" ), ... ],
"SmartAdBuilderAdFieldNames" : [( "Creative" ), ... ],
"ShoppingAdFieldNames" : [ ("SitelinkSetId"|"SitelinksModeration"|"AdExtensions"|"BusinessId"|"FeedId"|"FeedFilterConditions"|"FeedProcessingStatus"|"TitleSources"|"TextSources"|"DefaultTexts") ],
"ListingAdFieldNames" : [ ("SitelinkSetId"|"SitelinksModeration"|"AdExtensions"|"BusinessId"|"FeedId"|"FeedFilterConditions"|"FeedProcessingStatus"|"TitleSources"|"TextSources"|"DefaultTexts") ]
"Page": { /* LimitOffset */
"Limit": (long),
"Offset": (long)
}
}
}
Parameters are described below.
Parameter |
Type |
Description |
Required |
params structure (for JSON) / GetRequest (for SOAP) |
|||
|
AdsSelectionCriteria |
Criteria for selecting ads. |
Yes |
|
array of AdFieldEnum |
Names of top-level parameters to get. |
Yes |
|
array of TextAdFieldEnum |
Names of parameters to get for a Text & Image ad. See Ad type. Note If a different type of ad is selected according to |
No |
|
TextAdPriceExtensionFieldEnum |
Names of price parameters to get for the product or service in the Text & Image ad. Allowed only with the |
No |
|
array of MobileAppAdFieldEnum |
Names of parameters to get for a mobile app ad. Note If a different type of ad is selected according to |
No |
|
array of DynamicTextAdFieldEnum |
Names of parameters to get for a dynamic ad. Note If a different type of ad is selected according to |
No |
|
array of TextImageAdFieldEnum |
Names of parameters to get for an image ad that was created from an image (in a group of Text & Image ads). Note If a different type or subtype of ad is selected according to |
No |
|
array of MobileAppImageAdFieldEnum |
Names of parameters to get for an image ad that was created from an image (in a group of mobile app ads). Note If a different type or subtype of ad is selected according to |
No |
|
array of TextAdBuilderAdFieldEnum |
Names of parameters to get for an image ad that was created from a creative (in a group of Text & Image ads). Note If a different type or subtype of ad is selected according to |
No |
|
array of MobileAppAdBuilderAdFieldEnum |
Names of parameters to get for an image ad that was created from a creative (in a group of mobile app ads). Note If a different type or subtype of ad is selected according to |
No |
|
array of MobileAppCpcVideoAdBuilderAdFieldEnum |
Names of parameters to get for a video ad that was created from a creative (in a group of ads for mobile apps). Note If a different type or subtype of ad is selected according to |
No |
|
array of CpcVideoAdBuilderAdFieldNames |
Names of the requested video ad parameters in the “Text & Image Ads” campaigns. See Note If a different type or subtype of ad is selected according to |
No |
|
array of CpmBannerAdBuilderAdFieldEnum |
Names of parameters to get for a display banner. See Ad type. Note If a different type of ad is selected according to |
No |
|
array of CpmVideoAdBuilderAdFieldNames |
Names of the requested display video ad parameters in display campaigns. See Ad type. Note If a different type or subtype of ad is selected according to |
No |
|
array of SmartAdBuilderAdFieldEnum |
The names of smart banner parameters to get. See Ad type. Note If a different type of ad is selected according to |
No |
|
array of ShoppingAdFieldEnum |
Names of requested product ad parameters. See Ad type. Note If a different type of ad is selected according to |
No |
|
array of ListingAdFieldEnum |
Names of parameters to get for a catalog page ad. See Ad type. Note If a different type of ad is selected according to |
No |
|
Structure that defines the page for paginated selection of data. |
No |
|
AdsSelectionCriteria structure |
|||
|
array of long |
Selects ads with the specified IDs. From 1 to 10,000 items in the array. |
At least one of the parameters: |
|
array of long |
Selects ads from the specified groups. From 1 to |
|
|
array of long |
Selects ads from the specified campaigns. From 1 to 10 items in the array. |
|
|
array of AdStateSelectionEnum |
Selects ads based on the specified states. See Ad status and state. |
No |
|
array of AdStatusSelectionEnum |
Selects ads based on the specified statuses. See Ad status and state. |
No |
|
array of AdTypeEnum |
Selects ads based on the specified types. See Ad type. Note Filtering ads by subtype is not supported. When the IMAGE_AD value is specified, image ads are returned regardless of the subtype. |
No |
|
YesNoEnum |
Selects ads based on whether the ad is a mobile ad:
If the YES value is set, only Text & Image ads are received. Don't set this value if you need to get other types of ads. |
No |
|
array of long |
Selects ads with the specified vCards. From 1 to 50 items in the array. If this parameter is set, only Text & Image ads and dynamic ads will be returned. Don't set it if you need to get other types of ads. |
No |
|
array of long |
Selects ads with the specified sets of sitelinks. From 1 to 50 items in the array. If this parameter is set, only Text & Image ads and dynamic ads will be returned. Don't set it if you need to get other types of ads. |
No |
|
array of string |
Selects ads with the specified images. From 1 to 50 items in the array. |
No |
|
array of ExtensionStatusSelectionEnum |
Selects ads based on results of vCard review. For a description of the statuses, see the section Ad extensions. If this parameter is set, only Text & Image ads and dynamic ads will be returned. Don't set it if you need to get other types of ads. |
No |
|
array of ExtensionStatusSelectionEnum |
Selects ads based on results of sitelink review: For a description of the statuses, see the section Ad extensions. If this parameter is set, only Text & Image ads and dynamic ads will be returned. Don't set it if you need to get other types of ads. |
No |
|
array of ExtensionStatusSelectionEnum |
Selects ads based on results of image review. For a description of the statuses, see the section Ad extensions. If this parameter is set, only Text & Image ads, dynamic ads, and ads for mobile apps will be returned. Don't set it if you need to get other types of ads. |
No |
|
array of long |
Selects ads with the specified extensions. From 1 to 50 items in the array. If this parameter is set, only Text & Image ads and dynamic ads will be returned. Don't set it if you need to get other types of ads. |
No |
Response
Response structure in JSON format:
{
"result": { /* result */
"Ads": [{ /* AdGetItem */
"Id": (long),
"CampaignId": (long),
"AdGroupId": (long),
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ),
"State": ( "OFF" | ... | "UNKNOWN" ),
"StatusClarification": (string),
"AdCategories": { /* ArrayOfAdCategoryEnum */
"Items": [( "ABORTION" | ... | "TOBACCO" ), ... ] /* required */
}, /* nillable */
"AgeLabel": ( "AGE_0" | ... | "MONTHS_12"), /* nillable */
"Type": ( "TEXT_AD" | "MOBILE_APP_AD" | "DYNAMIC_TEXT_AD" | "IMAGE_AD" | "CPC_VIDEO_AD"
| "CPM_BANNER_AD" | "CPM_VIDEO_AD" | "SMART_AD" | "SHOPPING_AD" | "LISTING_AD" ),
"Subtype": ( "NONE" | "TEXT_IMAGE_AD" | "MOBILE_APP_IMAGE_AD" | "MOBILE_APP_CPC_VIDEO_AD_BUILDER_AD" | "TEXT_AD_BUILDER_AD" | "MOBILE_APP_AD_BUILDER_AD" ),
"TextAd": { /* TextAdGet */
"Title": (string),
"Title2": (string), /* nillable */
"Text": (string),
"Href": (string), /* nillable */
"Mobile": ( "YES" | "NO" ),
"DisplayDomain": (string), /* nillable */
"DisplayUrlPath": (string), /* nillable */
"VCardId": (long), /* nillable */
"AdImageHash": (string), /* nillable */
"SitelinkSetId": (long), /* nillable */
"DisplayUrlPathModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"VCardModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"SitelinksModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"AdImageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"AdExtensions": [{ /* AdExtensionAdGetItem */
"AdExtensionId": (long), /* required */
"Type": ( "CALLOUT" | "UNKNOWN" ) /* required */
}, ... ],
"VideoExtension": { /* VideoExtensionGetItem */
"CreativeId": (long), /* required */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ),
"ThumbnailUrl": (string), /* required */
"PreviewUrl": (string) /* required */
}, /* nillable */
"PriceExtension": { /* PriceExtensionGetItem */
"Price": (long),
"OldPrice": (long), /* nillable */
"PriceQualifier": ( "FROM" | "UP_TO" | "NONE" ),
"PriceCurrency": ( "RUB" | "BYN" | "CHF" | "EUR" | "KZT" | "TRY" | "UAH" | "USD" | "UZS" )
}, /* nillable */
"TurboPageId": (long), /* nillable */
"TurboPageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"BusinessId": (long) /* nillable */,
"PreferVCardOverBusiness": ( "YES" | "NO" ),
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"DynamicTextAd": { /* DynamicTextAdGet */
"VCardId": (long), /* nillable */
"AdImageHash": (string), /* nillable */
"SitelinkSetId": (long), /* nillable */
"VCardModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"SitelinksModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"AdImageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"AdExtensions": [{ /* AdExtensionAdGetItem */
"AdExtensionId": (long), /* required */
"Type": ( "CALLOUT" | "UNKNOWN" ) /* required */
}, ... ],
"Text": (string)
},
"MobileAppAd": { /* MobileAppAdGet */
"Title": (string),
"Text": (string),
"TrackingUrl": (string), /* nillable */
"Action": ( "DOWNLOAD" | "GET" | "INSTALL" | "MORE" | "OPEN" | "UPDATE" | "PLAY" | "BUY_AUTODETECT" ),
"AdImageHash": (string), /* nillable */
"Features": [{ /* MobileAppAdFeatureGetItem */
"Feature": ( "PRICE" | "ICON" | "CUSTOMER_RATING" | "RATINGS" ), /* required */
"Enabled": ( "YES" | "NO" ), /* required */
"IsAvailable": ( "YES" | "NO" | "UNKNOWN" ) /* required */
}, ... ],
"AdImageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"VideoExtension": { /* VideoExtensionGetItem */
"CreativeId": (long), /* required */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ),
"ThumbnailUrl": (string), /* required */
"PreviewUrl": (string) /* required */
}, /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"TextImageAd": { /* TextImageAdGet */
"AdImageHash": (string),
"Href": (string), /* nillable */
"TurboPageId": (long), /* nillable */
"TurboPageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"MobileAppImageAd": { /* MobileAppImageAdGet */
"AdImageHash": (string),
"TrackingUrl": (string), /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"TextAdBuilderAd": { /* TextAdBuilderAdGet */
"Creative": { /* AdBuilderAdGetItem */
"CreativeId": (long), /* required */
"ThumbnailUrl": (string),
"PreviewUrl": (string),
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"Href": (string), /* nillable */
"TurboPageId": (long), /* nillable */
"TurboPageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"MobileAppAdBuilderAd": { /* MobileAppAdBuilderAdGet */
"Creative": { /* AdBuilderAdGetItem */
"CreativeId": (long), /* required */
"ThumbnailUrl": (string),
"PreviewUrl": (string)
},
"TrackingUrl": (string), /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"MobileAppCpcVideoAdBuilderAd" : { /* MobileAppCpcVideoAdBuilderAdGet */
"Creative" : { /* AdBuilderAdGetItem */
"CreativeId" : (long) /* required */,
"ThumbnailUrl" : (string),
"PreviewUrl" : (string)
},
"TrackingUrl" : (string), /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"CpmBannerAdBuilderAd": { /* CpmBannerAdBuilderAdGet */
"Creative": { /* AdBuilderAdGetItem */
"CreativeId": (long), /* required */
"ThumbnailUrl": (string),
"PreviewUrl": (string)
},
"Href": (string), /* nillable */
"TrackingPixels": { /* TrackingPixelGetArray */
"Items": [{ /* TrackingPixelGetItem */
"TrackingPixel": (string), /* required */
"Provider": (string) /* required */
}, ... ] /* required */
}, /* nillable */
"TurboPageId": (long), /* nillable */
"TurboPageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"CpcVideoAdBuilderAd": { /* CpcVideoAdBuilderAdGet */
"Creative": { /* AdBuilderAdGetItem */
"CreativeId": (long), /* required */
"ThumbnailUrl": (string),
"PreviewUrl": (string)
},
"Href": (string), /* nillable */
"TurboPageId": (long), /* nillable */
"TurboPageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"CpmVideoAdBuilderAd": { /* CpmVideoAdBuilderAdGet */
"Creative": { /* AdBuilderAdGetItem */
"CreativeId": (long), /* required */
"ThumbnailUrl": (string),
"PreviewUrl": (string)
},
"Href": (string), /* nillable */
"TrackingPixels": { /* TrackingPixelGetArray */
"Items": [{ /* TrackingPixelGetItem */
"TrackingPixel": (string), /* required */
"Provider": (string) /* required */
}, ... ] /* required */
}, /* nillable */
"TurboPageId": (long), /* nillable */
"TurboPageModeration": { /* ExtensionModeration */
"Status": ( "ACCEPTED" | ... | "UNKNOWN" ), /* required */
"StatusClarification": (string)
}, /* nillable */
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"SmartAdBuilderAd": { /* SmartAdBuilderAdGet */
"Creative": { /* AdBuilderAdGetItem */
"CreativeId": (long), /* required */
"ThumbnailUrl": (string),
"PreviewUrl" : (string)
},
"ErirAdDescription" : (string), /* nillable */
"AutogeneratedErirAdDescription" : (string) /* nillable */
},
"ShoppingAd" : {
"SitelinkSetId" : (long) /* nillable */,
"SitelinksModeration" : { /* nillable */
"Status" : ("ACCEPTED"|"DRAFT"|"MODERATION"|"PREACCEPTED"|"REJECTED"|"UNKNOWN") /* required */,
"StatusClarification" : (string)
},
"AdExtensions" : [{
"AdExtensionId" : (long) /* required */,
"Type" : ("CALLOUT"|"UNKNOWN") /* required */
}, ... ],
"BusinessId" : (long) /* nillable */,
"FeedId" : (long),
"FeedFilterConditions" : { /* nillable */
"Items" : [{ /* required */
"Operand" : (string) /* required */,
"Operator" : ("CONTAINS_ANY"|"EQUALS_ANY"|"EXISTS"|"GREATER_THAN"|"IN_RANGE"|"LESS_THAN"|"NOT_CONTAINS_ALL") /* required */,
"Arguments" : [ (string) ] /* required */
}, ... ]
},
"FeedProcessingStatus" : ("EMPTY_RESULT"|"PROCESSED"|"UNKNOWN"|"UNPROCESSED"),
"TitleSources" : { /* nillable */
"Items" : [ (string) ] /* required */
},
"TextSources" : { /* nillable */
"Items" : [ (string) ] /* required */
},
"DefaultTexts" : [ (string) ]
},
"ListingAd" : {
"SitelinkSetId" : (long) /* nillable */,
"SitelinksModeration" : { /* nillable */
"Status" : ("ACCEPTED"|"DRAFT"|"MODERATION"|"PREACCEPTED"|"REJECTED"|"UNKNOWN") /* required */,
"StatusClarification" : (string)
},
"AdExtensions" : [{
"AdExtensionId" : (long) /* required */,
"Type" : ("CALLOUT"|"UNKNOWN") /* required */
}, ... ],
"BusinessId" : (long) /* nillable */,
"FeedId" : (long),
"FeedFilterConditions" : { /* nillable */
"Items" : [{ /* required */
"Operand" : (string) /* required */,
"Operator" : ("CONTAINS_ANY"|"EQUALS_ANY"|"EXISTS"|"GREATER_THAN"|"IN_RANGE"|"LESS_THAN"|"NOT_CONTAINS_ALL") /* required */,
"Arguments" : [ (string) ] /* required */
}, ... ]
},
"FeedProcessingStatus" : ("EMPTY_RESULT"|"PROCESSED"|"UNKNOWN"|"UNPROCESSED"),
"TitleSources" : { /* nillable */
"Items" : [ (string) ] /* required */
},
"TextSources" : { /* nillable */
"Items" : [ (string) ] /* required */
},
"DefaultTexts" : [ (string) ]
}
}, ... ],
}, ... ],
"LimitedBy": (long)
}
}
Parameters are described below.
Parameter |
Type |
Description |
result structure (for JSON) / GetResponse (for SOAP) |
||
|
array of AdGetItem |
Ads. |
|
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. |
AdGetItem structure |
||
|
long |
The ad ID. |
|
long |
ID of the campaign that the ad belongs to. |
|
long |
ID of the group that the ad belongs to. |
|
StatusEnum |
Status of the ad. For a description of the statuses, see the section Status and state of an ad. |
|
StateEnum |
State of the ad. For a description of the states, see the section Status and state of an ad. |
|
string |
Text explanation of the status and/or reasons for rejection after review. |
|
ArrayOfString, nillable |
|
|
AgeLabelEnum, nillable |
|
|
AdTypeEnum |
Type of ad. See Ad type. |
|
AdSubtypeEnum |
The ad subtype. For ads with a type other than IMAGE_AD or CPC_VIDEO_AD (in "Ads for mobile apps" campaigns), the value NONE is returned. |
|
TextAdGet |
Parameters of a text and image ad. |
|
DynamicTextAdGet |
Parameters of a dynamic ad. |
|
MobileAppAdGet |
Parameters of a mobile app ad. |
|
TextImageAdGet |
Parameters of an image ad that was created from an image (in a group of Text & Image ads). |
|
MobileAppImageAdGet |
Parameters of an image ad that was created from an image (in a group of mobile app ads). |
|
TextAdBuilderAdGet |
Parameters of an image ad that was created from a creative (in a group of Text & Image ads). |
|
MobileAppAdBuilderAdGet |
Parameters of an image ad that was created from a creative (in a group of mobile app ads). |
|
MobileAppCpcVideoAdBuilderAdGet |
Parameters of a video ad that was created from a creative (in a group of ads for mobile apps). |
|
CpmBannerAdBuilderAdGet |
Parameters of a display banner. |
|
CpcVideoAdBuilderAdGet |
Parameters of a display video ad in a “Text & Image ads” campaign. |
|
CpmVideoAdBuilderAdGet |
Parameters of a display video ad in a display campaign. |
|
SmartAdBuilderAdGet |
Smart banner parameters. |
|
ShoppingAdGet |
Product ad parameters. |
|
ListingAdGet |
Parameters of an ad for catalog pages. |
TextAdGet structure |
||
|
string |
Title 1. Maximum of 56 characters, counting "narrow" characters. Maximum of 22 characters per word. When using a template, the # character doesn't count towards the length. Note "Narrow" characters are: |
|
string, nillable |
Title 2. A maximum of 30 characters not counting “narrow” characters, plus up to 15 “narrow” characters. Maximum of 22 characters per word. When using a template, the # character doesn't count towards the length. Note "Narrow" characters are: |
|
string |
Ad text. Maximum of 81 characters not counting "narrow" characters, plus up to 15 "narrow" characters. Maximum of 23 characters per word. When using a template, the # character doesn't count towards the length. Note "Narrow" characters are: |
|
string, nillable |
Link to the advertiser's website. Maximum of 1024 characters. When using a template, the # character doesn't count towards the length. It must include the protocol and domain name. May contain substitution variables. |
|
YesNoEnum |
Indicates whether this is a mobile ad: YES or NO. See Mobile ads in Yandex Direct Help. |
|
string, nillable |
Domain being advertised. Detected automatically from the ad link. |
|
string, nillable |
Display link. Allowed only with the It may contain letters, numbers, and the symbols -, №, /, %, #. Spaces, underscores (_), and double characters -- and // are not allowed. See Display link in the Yandex Direct Help. |
|
long, nillable |
ID of the vCard. The vCard must belong to the same campaign as the ad. |
|
long, nillable |
ID of a set of sitelinks. Allowed only with the |
|
string, nillable |
Hash of the image. For Text & Image ads, only images of the REGULAR or WIDE type are acceptable. See Type of image. |
|
ExtensionModeration, nillable |
Result of reviewing the display link. |
|
ExtensionModeration, nillable |
Result of vCard review. |
|
ExtensionModeration, nillable |
Result of reviewing the set of sitelinks. |
|
ExtensionModeration, nillable |
Result of image review. |
|
array of AdExtensionAdGetItem |
Extensions. |
|
VideoExtensionGetItem, nillable |
Video extension. See Video extensions in the Yandex Direct Help. |
|
PriceExtensionGetItem, nillable |
Price in the ad. |
|
long, nillable |
ID of the Turbo page. |
|
ExtensionModeration, nillable |
Result of Turbo page moderation. |
|
long, nillable |
ID of the business profile on Yandex. Note The business profile is available at |
|
YesNoEnum |
Indicates which data source takes priority when displaying an ad: YES — vCard, NO — business profile. Alert This parameter is used if the |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
ExtensionModeration structure |
||
|
StatusEnum |
Result of reviewing the association between an ad and an add-on. For a description of the statuses, see the section Ad extensions. |
|
string |
Text explanation of the status and/or reasons for rejection after review. |
AdExtensionAdGetItem structure |
||
|
long |
Extension ID. |
|
AdExtensionTypeEnum |
Extension type. Only one type of extension is available at this time — the Callout (CALLOUT). |
VideoExtensionGetItem structure |
||
|
long |
ID of the creative. |
|
StatusEnum |
Result of reviewing the video extension assignment to the ad. For a description of the statuses, see the section Ad extensions. |
|
string |
URL for the preview image. |
|
string |
URL for the preview video. |
PriceExtensionGetItem structure |
||
|
long |
The price of a product or service multiplied by 1,000,000. An integer that is a multiple of 10,000 (the price with two digits after the decimal point). Maximum value: 10,000,000,000,000,000. |
|
long, nillable |
The previous price of a product or service multiplied by 1,000,000. An integer that is a multiple of 10,000. The old price must be higher than the current price. |
|
PriceQualifierEnum |
Text explanation of the price:
|
|
PriceCurrencyEnum |
The currency that the price is shown in. |
DynamicTextAdGet structure |
||
|
long, nillable |
ID of the vCard. The vCard must belong to the same campaign as the ad. |
|
string, nillable |
Hash of the image. For dynamic ads, only images of the REGULAR or WIDE type are acceptable. See Type of image. |
|
long, nillable |
ID of a set of sitelinks. |
|
ExtensionModeration, nillable |
Result of vCard review. |
|
ExtensionModeration, nillable |
Result of reviewing the set of sitelinks. |
|
ExtensionModeration, nillable |
Result of image review. |
|
array of AdExtensionAdGetItem |
Extensions. |
|
string |
Ad text. Maximum of 81 characters not counting "narrow" characters, plus up to 15 "narrow" characters. Maximum of 23 characters per word. When using a template, the # character doesn't count towards the length. Note "Narrow" characters are: |
MobileAppAdGet structure |
||
|
string |
Title. Maximum of 56 characters, counting "narrow" characters. Maximum of 22 characters per word. When using a template, the # character doesn't count towards the length. |
|
string |
Ad text. Maximum of 75 characters, counting "narrow" characters. Maximum of 23 characters per word. When using a template, the # character doesn't count towards the length. |
|
string, nillable |
Tracking link for tracking app installations. |
|
MobileAppAdActionEnum |
The button label:
|
|
string, nillable |
Hash of the image. For mobile app ads, only images of the WIDE type are acceptable. See Type of image. |
|
array of MobileAppAdFeatureGetItem |
Add-ons that need to be automatically downloaded from the app store and displayed in the ad. |
|
ExtensionModeration, nillable |
Result of image review. |
|
VideoExtensionGetItem, nillable |
Video extension. See Video extensions in the Yandex Direct Help. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
MobileAppAdFeatureGetItem structure |
||
|
MobileAppFeatureEnum |
Type of extension:
Note Returns data about add-ons that were specified when creating or editing the ad, as well as add-ons that were downloaded from the app store. |
|
YesNoEnum |
Whether to display an add-on in the ad. Note
|
|
YesNoUnknownEnum |
Whether the add-on was successfully downloaded from the app store:
|
TextImageAdGet structure |
||
|
string |
Hash of the image. For image ads, only images of the FIXED_IMAGE type are acceptable. See Type of image. |
|
string, nillable |
Link to the advertiser's website. Maximum of 1024 characters. When using a template, the # character doesn't count towards the length. It must include the protocol and domain name. May contain substitution variables. |
|
long, nillable |
ID of the Turbo page. |
|
ExtensionModeration, nillable |
Result of Turbo page moderation. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
MobileAppImageAdGet structure |
||
|
string |
Hash of the image. For image ads, only images of the FIXED_IMAGE type are acceptable. See Type of image. |
|
string, nillable |
Tracking link for tracking app installations. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
TextAdBuilderAdGet structure |
||
|
AdBuilderAdGetItem |
A creative that was created in the Ad Builder. See Creative Ad Builder for image ads in the Yandex Direct Help. |
|
string, nillable |
Link to the advertiser's website. Maximum of 1024 characters. When using a template, the # character doesn't count towards the length. It must include the protocol and domain name. May contain substitution variables. |
|
long, nillable |
ID of the Turbo page. |
|
ExtensionModeration, nillable |
Result of Turbo page moderation. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
MobileAppAdBuilderAdGet structure |
||
|
AdBuilderAdGetItem |
A creative that was created in the Ad Builder. See Creative Ad Builder for image ads in the Yandex Direct Help. |
|
string, nillable |
Tracking link for tracking app installations. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
MobileAppCpcVideoAdBuilderAdGet structure |
||
|
AdBuilderAdGetItem |
A creative that was created in the Ad Builder. See Creative Ad Builder for video extensions in Yandex Direct Help. |
|
string, nillable |
Tracking link for tracking app installations. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
CpmBannerAdBuilderAdGet structure |
||
|
AdBuilderAdGetItem |
A creative that was uploaded in the web interface or created in the Ad Builder. See Creating a display campaign in the Yandex Direct Help. |
|
string, nillable |
Link to the advertiser's website. Maximum of 1024 characters. When using a template, the # character doesn't count towards the length. It must include the protocol and domain name. May contain substitution variables. |
|
TrackingPixelGetArray, nillable |
A Yandex Audience pixel and/or an ADFOX impression tag. |
|
long, nillable |
ID of the Turbo page. |
|
ExtensionModeration, nillable |
Result of Turbo page moderation. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
CpcVideoAdBuilderAdGet structure |
||
|
AdBuilderAdGetItem |
A creative that was created in the Ad Builder. See the section Video ads / Creative Ad Builder in the Help for Yandex Direct. |
|
string, nillable |
Link to the advertiser's website. Maximum of 1024 characters. When using a template, the # character doesn't count towards the length. It must include the protocol and domain name. May contain substitution variables. |
|
long, nillable |
ID of the Turbo page. |
|
ExtensionModeration, nillable |
Result of Turbo page moderation. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
CpmVideoAdBuilderAdGet structure |
||
|
AdBuilderAdGetItem |
A creative that was created in the Ad Builder. See Video advertising / How to launch in Yandex Direct Help. |
|
string, nillable |
Link to the advertiser's website. Maximum of 1024 characters. When using a template, the # character doesn't count towards the length. It must include the protocol and domain name. May contain substitution variables. |
|
TrackingPixelGetArray, nillable |
An ADFOX tracking tag. |
|
long, nillable |
ID of the Turbo page. |
|
ExtensionModeration, nillable |
Result of Turbo page moderation. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
SmartAdBuilderAdGet structure |
||
|
AdBuilderAdGetItem |
A creative that was created in the Ad Builder. See Creative Ad Builder for smart banners in the Help for Yandex Direct. |
|
string |
Ad object description. |
|
string |
Automatically generated description of an ad object. |
AdBuilderAdGetItem structure |
||
|
long |
ID of the creative. |
|
string |
URL for the preview thumbnail. |
|
string |
URL for the preview image. |
TrackingPixelGetArray structure |
||
|
array of TrackingPixelGetItem |
Pixel and/or tag and their providers. |
TrackingPixelGetItem structure |
||
|
string |
Link to a Yandex Audience pixel or an ADFOX impression tag. |
|
string |
Provider of the pixel or impression tag. |
ShoppingAdGet structure |
||
|
long |
ID of a set of sitelinks. |
|
AdExtensions |
Extensions. |
|
long |
ID of the business profile on Yandex. To get data from business profiles, use the Businesses.get method. A business profile can be linked to an ad only if the YES value is returned for the Note The business profile is available at |
|
FeedFilterConditionsItem |
Rules for selecting product offers. No more than 30 filters in the array. The total length of the selection rules is a maximum of 65 KB (in JSON). |
|
FeedProcessingStatusEnum |
Ad generation status for a feed. Possible values:
|
|
array of string |
Names of feed fields used to generate ad titles. You can retrieve the acceptable field names through the |
|
array of string |
Names of feed fields used to generate ad texts. You can retrieve the acceptable field names through the |
|
array of string |
Default texts. |
ListingAdGet structure |
||
|
long |
ID of a set of sitelinks. |
|
AdExtensions |
Extensions. |
|
long |
ID of the business profile on Yandex. To get data from business profiles, use the Businesses.get method. A business profile can be linked to an ad only if the YES value is returned for the Note The business profile is available at |
|
FeedFilterConditionsItem |
Rules for selecting product offers. No more than 30 filters in the array. The total length of the selection rules is a maximum of 65 KB (in JSON). A product offer is selected for ad generation if it meets all the selection rules at the same time. If this parameter is omitted, all product offers from the feed are used for ad generation. |
|
FeedProcessingStatusEnum |
Ad generation status for a feed. Possible values:
|
|
array of string |
Names of feed fields used to generate ad titles. You can retrieve the acceptable field names through the |
|
array of string |
Names of feed fields used to generate ad texts. You can retrieve the acceptable field names through the |
|
array of string |
Default texts. |
AdExtensions structure |
||
|
long |
Extension ID. |
|
string |
Extension type. Possible values:
|
FeedFilterConditionsItem structure |
||
|
string |
Feed parameter. For a description of the fields for each feed type, see Configuring filters in the Yandex Direct Help. |
|
OperatorEnum |
Comparison operator. For information on the compatibility of feed fields and operators, as well as restrictions on values, see Rules for selecting product ads. |
|
array of string |
An array of strings to compare the operand to. Maximum of 10 strings in the array. |