The identity and technical contract details declared by the specification.
IsMigratedFromV1
boolean
A boolean flag that indicates whether the object is migrated from v1.
CustomAudienceResponse
object
In Legacy Custom Audiences (type: LEGACY), only the name, customaudienceid and type fields are valid. Other fields are dummy data.
12 properties
8 required
AudienceIdListRuleCreationRequest
object
1 property
1 required
BusinessErrorResponse
object
1 property
1 required
HasAnyVideoAds
boolean
Whether the ad object has any video ads, including those that have been deleted.
ResourceNotFoundErrorExtension
object
2 properties
2 required
CampaignID
integer
The ID of the campaign.
PlacementMediaType
string
UnexpectedErrorResponse
object
1 property
1 required
SmartViewArticleCategoryTargeting
objectnull
SmartView article category targeting settings for ad delivery. It contains article category IDs to include or exclude for delivery. This field is only configur…
2 properties
2 required
AdGroupLocations
array
An array of location IDs to target. A list of location IDs can be obtained via the [locations](tag/locations) endpoint. Note: Only available for US accounts. F…
RulesCombiningLogic
string
How the rules will be combined for this custom audience.
UserSegment
string
The type of users to target.
ResourceNotFoundError
object
SmartViewArticleKeywordTargeting
objectnull
SmartView article keyword targeting settings for ad delivery. Ads will be delivered to SmartView ad placements of articles which include and/or exclude these k…
2 properties
2 required
KeywordWindow
string
Period Window for the keyword mapping of keyword custom audience.
AudienceIdListFileRequest
object
3 properties
3 required
DeliveryStatusObject
object
An Object that provides information about the delivery status of the campaign.
3 properties
3 required
ServiceUnavailableError
object
CustomAudiencePatchRequest
object
7 properties
OperatingSystem
objectnull
Target OS and optionally a specific OS version. If it is not specified, all OS and OS versions are targeted.
2 properties
1 required
Type
string
The type of the custom audience. LEGACY custom audiences are those that were created in AMv1.
TargetingType
string
The type of DA targeting. Retargeting is for finding existing user; Prospecting is for finding new user based on existing user log. This value is NOT updatable…
AdGroupArrayResponse
object
1 property
1 required
BadRequestErrorExtension
object
1 property
1 required
ReadyForDelivery
boolean
A boolean flag that indicates whether a ready for delivery. The flag is immutable once it turned to true. When the flag is true, the following fields are not u…
ConnectionType
stringnull
TimePeriod
string
Past number of days of user activity to consider when creating the uuid list for the rule. Only certain ad accounts can use LAST365DAYS and LAST540DAYS.
CustomAudiences
object
Custom audiences to include or exclude for ad delivery. It contains the custom audience IDs to include or exclude for ad delivery. If it's empty, it will be de…
2 properties
UnexpectedErrorExtension
object
1 property
1 required
AvailabilityStatus
string
The status of the custom audience processing, indicating whether it is ready to be used in AdGroup targeting or not.
GatewayTimeoutErrorResponse
object
1 property
1 required
AudienceIdListFileId
integer
Unique identifier of the audience ID list file.
ProductSetID
integer
The ID of the product set.
ChannelAliasLabels
array
An array of target channels to display the ads in the SmartNews app. If it is null or [], all channels will be targeted. This value can only be set when mediat…
CustomAudienceSchemas_Name
string
The name of the custom audience. Please check [this document](https://help-ads.smartnews.com/item-3888/) for how the length is calculated.
LocationSegmentFixedAreaInfo
object
The configuration for the Fixed Area location segment. Required and only settable when segmentareatype is FIXEDAREA.
1 property
1 required
StoreSetId
integer
Identifier of the store set associated with this campaign for Store Visit measurement. Store sets are managed under Business Management.
AcceptLanguage
string
The language to use for system generated text within API responses. The currently supported languages are English (en, en-) and Japanese (ja, ja-JP)
KeywordRuleResponse
object
6 properties
6 required
OptimizationEvent
stringnull
Optimization event defines which conversion event the campaign is optimized for. | Optimization Goal | Available optimization events | |-----------------------…
LocationSegmentRequest
object
4 properties
1 required
ZipCode
string
A ZIP code used for ad group location targeting in the United States. - Accepts exactly five numeric digits. Leading zeroes must be included where applicable.…
AdsEngagementRuleResponse
object
6 properties
6 required
AdAccountId
integer
Unique ID of the ad account.
Events
array
The events to target for this rule.
Keywords
array
Keywords for keyword custom audience. If there is a duplicated keyword, it will return an error. Empty strings are not allowed. The following characters are no…
ConnectionTypes
array
An array of connection types to target.
CustomAudienceResult
object
The result of the custom audience backend processing.
4 properties
4 required
UniqueAudienceCount
integernull
The number of unique users in the custom audience. This field is only valid when the availabilitystatus is AVAILABLE/TOONARROW/NARROW.
UnauthorizedErrorExtension
object
1 property
1 required
ForbiddenErrorExtension
object
2 properties
1 required
AdGroupSchemas_Name
string
The name of the ad group. Note: The maximum length is calculated by our standard length calculation rules: [See details](https://help-ads.smartnews.com/item-38…
SegmentAreaType
string
The area type of the segment.
SmartViewArticleCategoryId
integer
DeliveryStatusReason
string
An enum field for the reason the delivery status was determined. | Reason | Layers | |-------------------------------------------|-----------| | CAMPAIGNDELETE…
ServiceUnavailableErrorResponse
object
1 property
1 required
Action
string
The user action to consider as engagement.
CustomAudienceRequestType
string
The type of the custom audience. Note: KEYWORD type is not available for US ad accounts.
ErrorBase
object
2 properties
2 required
DynamicAdsConfigSchema
object
The Configuration of the dynamic ads. If campaign is for dynamic ads, this object is required.
3 properties
1 required
Genders
array
An array of genders to target. Note: This field is not settable for US region ad accounts.
CampaignObjective
string
The objective of the campaign. It defines the business goal that customers pursue during a campaign.\ Note: Only TRAFFIC and SALES objectives are usable for US…
UnauthorizedErrorResponse
object
1 property
1 required
AudienceIdListRulePatchRequest
object
2 properties
HyperLocationConfigResponse
objectnull
An object containing hyper location targeting configuration.
2 properties
2 required
ForbiddenErrorResponse
object
1 property
1 required
CustomAudienceCreationRequest
object
8 properties
4 required
AudienceResponse
object
15 properties
4 required
AdGroupSchemas_CreatedAt
string
The date-time at which the ad group was created.
AdGroupIds
array
An array of Ad Group IDs to target engagement for.
CommonSchemas_CreatedAt
string
The DateTime when the object was created.
Interval
string
The time interval which frequency will be calculated.
ValidationErrorResponse
object
1 property
1 required
CustomAudienceEvent
stringnull
Conversion event for custom audience to target.
AudienceIdListRuleResponse
object
6 properties
6 required
WebActivityRuleResponse
object
7 properties
7 required
OriginalFileName
string
Filename of the audience ID list file.
WebActivityRulePatchRequest
object
5 properties
AdGroupID
integer
The ID of the ad group.
Parent
object
8 properties
3 required
BusinessErrorExtension
object
1 property
1 required
AutomatedTargeting
objectnull
Automated targeting settings for the ads to be delivered with SN optimized strategy. If this field is non-null, automated targeting is enabled (even if the obj…
7 properties
AdsEngagementRuleCreationRequest
object
3 properties
3 required
ServiceUnavailableErrorExtension
object
1 property
1 required
AdGroupRequest
object
5 properties
2 required
CarrierTypes
array
An array of mobile network carriers to target. Note: This field is not settable for US region ad accounts.
Gender
string
Selected genders of users for the ads to be delivered.
MediaTypes
array
An array of media types defining where the ads will be displayed in the SmartNews app. Note: This field is not settable for US region ad accounts.
CustomAudienceArrayResponse
object
1 property
1 required
HyperLocationConfigRequest
objectnull
An object containing hyper location targeting configuration. Note: This field is not settable for US region ad accounts.
2 properties
2 required
WebActivityRuleSchemas_PixelTagId
string
The pixeltagid of the pixel to target for this rule
CommonSchemas_UpdatedAt
string
The DateTime when the object was last updated.
AdsEngagementRulePatchRequest
object
4 properties
ConfiguredStatus
string
The status of the object configured by an ad operator.
AudienceIdListFileResponse
object
5 properties
5 required
LocationSegmentPinWithRadiusInfo
object
The configuration for the Pin with Radius location segment. Required and only settable when segmentareatype is PINWITHRADIUS.
5 properties
4 required
LocationSegmentId
integer
The unique identifier of the location segment. If this property is set, the specified location segment will be updated (PATCH request only). If this property i…
Interests
array
An array of IAB Interest IDs to target. A list of IAB Interest IDs can be obtained via the [iabinterestcategories](tag/interests) endpoint. Note: This field is…
ZipCodes
array
An array of ZIP codes to target. The values are combined with locations (states and counties) using OR logic during delivery. The response returns ZIP codes in…
BadRequestErrorResponse
object
1 property
1 required
KeywordRulePatchRequest
object
4 properties
LocationSegmentResponse
object
The response of the hyper location segment resource. Only one of locationsegmentpinwithradiusinfo or locationsegmentfixedareainfo will be returned based on the…
4 properties
2 required
DeliveryStatus
string
The delivery status of the object determined by the system. | Delivery status | What it means | |-----------------|---------------| | DELETED | The object is d…
AudienceRequest
object
In Patch Request, if you omit the property, the data will remain unchanged. If you want to remove the current settings, set individual fields to either null or…
15 properties
HyperLocationSchemas_LocationId
integer
The unique identifier of the location. A list of location IDs can be obtained via the [locations](tag/locations) endpoint.
AdGroupSchemas_UpdatedAt
string
The date-time at which the ad group was last updated.
WebActivityRuleCreationRequest
object
4 properties
4 required
FileType
string
The type of the audience ID list file.
Ages
array
An array of age buckets to target. Note: - This field is not settable for US region ad accounts. - AGEUNDER20 option is deprecated and can no longer be used fo…
ResourceNotFoundErrorResponse
object
1 property
1 required
ValidationErrorExtension
object
2 properties
2 required
KeywordRuleCreationRequest
object
3 properties
3 required
RecencyDays
stringnull
The lookback window (in days) for user logs can be used for retargeting. - Required when targetingtype is RETARGETING - Set to null when targetingtype is PROSP…
FrequencyControl
objectnull
Frequency control settings for the ads to be delivered. Only available for Awareness campaign. Note: This field is not settable for US region ad accounts.
2 properties
2 required
CustomAudienceConfiguredStatus
string
- ACTIVE: The audience will be updated periodically based on the latest data. - PAUSED: The audience will not be updated until reactivated. - DELETED: The audi…
KeywordFrequency
integer
Frequency for the keyword mapping of keyword custom audience.
The full machine-readable OpenAPI contract behind this narrative.
Other APIs SmartNews publishes across the network.