- Auth
- Accounts
- First call
- Reporting
- Snapshots
- Test accounts
- Amazon Marketing Stream
- Amazon Marketing Cloud
- Administration
- Accounts
- Instances
- Create an instance
- List all instances
- List information about the requested instance
- Update instance details
- Update AWS account metadata in the requested instance
- List advertisers in instance
- Create advertiser update
- Get advertiser update
- Gets advertiser information about the requested AMC instance
- Delete AMC instance
- Reporting
- AMC Audiences
- Rule-based audiences
- Creates query based audience execution metadata information
- Get all query based audiences execution metadata.
- Get query based audience execution metadata for a given audienceExecutionId.
- Update query based audience execution metadata for a given audienceExecutionId.
- Delete query based audience execution metadata for a given audienceExecutionId.
- Lookalike audiences
- Rule-based audiences
- Administration
- Sponsored Products
- Campaigns
- Ad groups
- Product ads
- Product targeting
- Keywords
- Theme-based bid recommendations
- Negative keywords
- Campaign negative keywords
- Negative targets
- Campaign negative targets
- Budget recommendations and missed opportunities
- Budget rules
- Sponsored Brands
- Campaigns
- Ad groups
- Ads
- Targeting
- Recommendations
- Theme targeting
- Create keywords
- Update keyword
- Get keyword
- Delete keyword
- Create negative keywords
- Update negative keyword
- Get negative keyword
- Delete negative keyword
- Create product targets
- Update a product target
- Get product target
- Delete product target
- Create negative product target
- Update negative product target
- Get negative product target
- Delete negative product target
- Get all categories
- Get category refinements
- Ad creatives
- Get brands
- Get landing page ASINS
- Sponsored Display
- Stores
- Product metadata
- Budget rules
- Budget usage
- Creative asset library
- Locations
- Exports
- Sponsored TV
- Amazon DSP
- Partner opportunities
Get budget rules
GET
/sp/budgetRules
最后修改时间:2025-03-16 02:19:30
责任人:未设置
请求参数
Query 参数
pageSize
string
必需
示例值:
10
Header 参数
Amazon-Advertising-API-ClientId
string
必需
示例值:
{{client_id}}
Authorization
string
必需
示例值:
Bearer {{access_token}}
Amazon-Advertising-API-Scope
string
必需
示例值:
{{profileId}}
Accept
string
必需
示例值:
application/json
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://advertising-api.amazon.com/sp/budgetRules?pageSize=10' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Accept: application/json' \
--header 'Content-Type: text/plain' \
--data-raw ''
返回响应
🟢200Success
application/json
Body
budgetRulesForAdvertiserResponse
array [object {7}]
必需
createdDate
integer
必需
lastUpdatedDate
integer
必需
ruleDetails
object
必需
ruleId
string
必需
ruleState
string
必需
ruleStatus
string
必需
ruleStatusDetails
null
必需
nextToken
null
必需
示例
{
"budgetRulesForAdvertiserResponse": [
{
"createdDate": 1666125983543,
"lastUpdatedDate": 1666125983543,
"ruleDetails": {
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 98
},
"duration": {
"dateRangeTypeRuleDuration": {
"endDate": null,
"startDate": "20221018"
},
"eventTypeRuleDuration": null
},
"name": "Test 2",
"performanceMeasureCondition": {
"comparisonOperator": "GREATER_THAN_OR_EQUAL_TO",
"metricName": "CTR",
"threshold": 1
},
"recurrence": {
"daysOfWeek": null,
"type": "DAILY"
},
"ruleType": "PERFORMANCE"
},
"ruleId": "fc8cd791-e1cd-4a23-934a-3214e11295c3",
"ruleState": "ACTIVE",
"ruleStatus": "ACTIVE",
"ruleStatusDetails": null
},
{
"createdDate": 1666125918468,
"lastUpdatedDate": 1666125918468,
"ruleDetails": {
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 98
},
"duration": {
"dateRangeTypeRuleDuration": {
"endDate": "20221021",
"startDate": "20221018"
},
"eventTypeRuleDuration": null
},
"name": "Test 1",
"performanceMeasureCondition": null,
"recurrence": {
"daysOfWeek": null,
"type": "DAILY"
},
"ruleType": "SCHEDULE"
},
"ruleId": "aaae82a7-6114-4825-8d37-574b98fbfd5a",
"ruleState": "ACTIVE",
"ruleStatus": "ACTIVE",
"ruleStatusDetails": null
},
{
"createdDate": 1666125878397,
"lastUpdatedDate": 1666125878397,
"ruleDetails": {
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 98
},
"duration": {
"dateRangeTypeRuleDuration": null,
"eventTypeRuleDuration": {
"endDate": "20221101",
"eventId": "b7c1f022-e721-5635-8bce-8375ce163ebd",
"eventName": "Halloween",
"startDate": "20221027"
}
},
"name": "Halloween",
"performanceMeasureCondition": null,
"recurrence": {
"daysOfWeek": null,
"type": "DAILY"
},
"ruleType": "SCHEDULE"
},
"ruleId": "1698dab1-e5ef-4716-8b45-f10e37765a03",
"ruleState": "ACTIVE",
"ruleStatus": "PENDING_START",
"ruleStatusDetails": null
}
],
"nextToken": null
}
修改于 2025-03-16 02:19:30