Class Reference¶
This page is the raw class and signature reference generated by mkdocstrings.
For the generated wrapper method inventory with request models, response models, OpenAPI operation IDs, and Adobe doc links, use Methods Reference.
TargetClient¶
Bases: _OperationClient
Root public client for the Adobe Target Admin API.
Source code in packages/sdk/src/adobe_target_admin/client.py
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 | |
request(method, path, *, params=None, json=None, version=None, headers=None)
¶
Send a raw request through the internal Adobe-aware transport.
Source code in packages/sdk/src/adobe_target_admin/client.py
510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 | |
StaticTokenAuthProvider¶
Auth provider for a pre-existing bearer token.
Use this when another system already acquires Adobe access tokens and the wrapper only needs to attach the bearer token to outgoing requests.
Source code in packages/sdk/src/adobe_target_admin/auth.py
27 28 29 30 31 32 33 34 35 36 37 38 39 | |
get_access_token()
¶
Return the configured static bearer token.
Source code in packages/sdk/src/adobe_target_admin/auth.py
37 38 39 | |
OAuthServerToServerAuthProvider¶
OAuth Server-to-Server auth provider backed by Adobe IMS.
This provider performs Adobe IMS client-credentials token acquisition and caches the access token until it expires.
Source code in packages/sdk/src/adobe_target_admin/auth.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
get_access_token()
¶
Return a cached access token or fetch a new one if needed.
Source code in packages/sdk/src/adobe_target_admin/auth.py
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
OAuthUserAuthProvider¶
OAuth user-auth provider for Adobe IMS authorization-code flows.
This provider supports both:
- confidential clients, which authenticate to the token endpoint with a client secret
- public clients, which use PKCE and pass
client_idto the token endpoint
Source code in packages/sdk/src/adobe_target_admin/auth.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | |
expires_at
property
¶
Return the cached access-token expiry timestamp.
id_token
property
¶
Return the cached ID token, if any.
refresh_token
property
¶
Return the cached refresh token, if any.
build_authorization_url(*, state, code_challenge=None, code_challenge_method='S256')
¶
Build the Adobe IMS authorize URL for the current client setup.
Source code in packages/sdk/src/adobe_target_admin/auth.py
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | |
exchange_code(code, *, code_verifier=None)
¶
Exchange an authorization code for Adobe access and refresh tokens.
Source code in packages/sdk/src/adobe_target_admin/auth.py
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | |
get_access_token()
¶
Return a cached user token or refresh it with the stored refresh token.
Source code in packages/sdk/src/adobe_target_admin/auth.py
199 200 201 202 203 204 205 206 207 208 209 | |
ActivitiesListParams¶
Bases: BaseModel
Documented query parameters for listing activities.
Source code in packages/sdk/src/adobe_target_admin/query_models.py
10 11 12 13 14 15 16 17 | |
AudiencesListParams¶
Bases: BaseModel
Documented query parameters for listing audiences.
Source code in packages/sdk/src/adobe_target_admin/query_models.py
20 21 22 23 | |
Activities Namespace (client.activities)¶
Bases: _OperationClient
Activities API grouped by activity type plus shared updates.
Source code in packages/sdk/src/adobe_target_admin/client.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | |
changelog(activity_id)
¶
Fetch the activity changelog.
Source code in packages/sdk/src/adobe_target_admin/client.py
207 208 209 210 211 212 213 214 | |
list(*, params=None)
¶
List activities for the current tenant.
Source code in packages/sdk/src/adobe_target_admin/client.py
158 159 160 161 162 163 164 165 | |
update_name(activity_id, payload)
¶
Update the name of an activity.
Source code in packages/sdk/src/adobe_target_admin/client.py
167 168 169 170 171 172 173 174 175 | |
update_priority(activity_id, payload)
¶
Update the priority of an activity.
Source code in packages/sdk/src/adobe_target_admin/client.py
187 188 189 190 191 192 193 194 195 | |
update_schedule(activity_id, payload)
¶
Update the schedule of an activity.
Source code in packages/sdk/src/adobe_target_admin/client.py
197 198 199 200 201 202 203 204 205 | |
update_state(activity_id, payload)
¶
Update the state of an activity.
Source code in packages/sdk/src/adobe_target_admin/client.py
177 178 179 180 181 182 183 184 185 | |
Audiences Namespace (client.audiences)¶
Bases: _OperationClient
Audiences API.
Source code in packages/sdk/src/adobe_target_admin/client.py
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 | |
create(payload)
¶
Create an audience.
Source code in packages/sdk/src/adobe_target_admin/client.py
238 239 240 241 242 243 244 245 | |
delete(audience_id)
¶
Delete an audience by Adobe ID.
Source code in packages/sdk/src/adobe_target_admin/client.py
257 258 259 260 261 262 263 264 | |
get(audience_id)
¶
Fetch one audience by Adobe ID.
Source code in packages/sdk/src/adobe_target_admin/client.py
229 230 231 232 233 234 235 236 | |
list(*, params=None)
¶
List audiences for the current tenant.
Source code in packages/sdk/src/adobe_target_admin/client.py
220 221 222 223 224 225 226 227 | |
update(audience_id, payload)
¶
Replace an audience.
Source code in packages/sdk/src/adobe_target_admin/client.py
247 248 249 250 251 252 253 254 255 | |
Properties Namespace (client.properties)¶
Bases: _OperationClient
Properties API.
Source code in packages/sdk/src/adobe_target_admin/client.py
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | |
get(property_id)
¶
Fetch one property by Adobe ID.
Source code in packages/sdk/src/adobe_target_admin/client.py
275 276 277 278 279 280 281 282 | |
list()
¶
List properties for the current tenant.
Source code in packages/sdk/src/adobe_target_admin/client.py
270 271 272 273 | |
Offers Namespace (client.offers)¶
Bases: _OperationClient
Offers API with grouped content-offer CRUD operations.
Source code in packages/sdk/src/adobe_target_admin/client.py
326 327 328 329 330 331 332 333 334 335 336 | |
list()
¶
List all offers for the current tenant.
Source code in packages/sdk/src/adobe_target_admin/client.py
333 334 335 336 | |
Reports Namespace (client.reports)¶
Bases: _OperationClient
Reports API grouped by activity type.
Source code in packages/sdk/src/adobe_target_admin/client.py
406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 | |
Environments Namespace (client.environments)¶
Bases: _OperationClient
Environments API.
Source code in packages/sdk/src/adobe_target_admin/client.py
428 429 430 431 432 433 434 435 436 437 | |
list()
¶
List environments for the current tenant.
Source code in packages/sdk/src/adobe_target_admin/client.py
431 432 433 434 435 436 437 | |
Mboxes Namespace (client.mboxes)¶
Bases: _OperationClient
Mbox API.
Source code in packages/sdk/src/adobe_target_admin/client.py
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 | |
list()
¶
List mboxes for the current tenant.
Source code in packages/sdk/src/adobe_target_admin/client.py
443 444 445 446 | |
parameters(mbox_name)
¶
List parameters for one mbox name.
Source code in packages/sdk/src/adobe_target_admin/client.py
448 449 450 451 452 453 454 455 | |
Profile Attributes Namespace (client.profile_attributes)¶
Bases: _OperationClient
Profile attributes API.
Source code in packages/sdk/src/adobe_target_admin/client.py
458 459 460 461 462 463 464 465 466 467 | |
list()
¶
List mbox profile attributes.
Source code in packages/sdk/src/adobe_target_admin/client.py
461 462 463 464 465 466 467 | |
Batch Namespace (client.batch)¶
Bases: _OperationClient
Batch API.
Source code in packages/sdk/src/adobe_target_admin/client.py
470 471 472 473 474 475 476 477 478 479 480 481 | |
execute(payload)
¶
Execute a batch request.
Source code in packages/sdk/src/adobe_target_admin/client.py
473 474 475 476 477 478 479 480 481 | |
Activities AB Namespace (client.activities.ab)¶
Bases: _BaseActivityTypeApi
AB activity operations.
Source code in packages/sdk/src/adobe_target_admin/client.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | |
Activities XT Namespace (client.activities.xt)¶
Bases: _BaseActivityTypeApi
XT activity operations.
Source code in packages/sdk/src/adobe_target_admin/client.py
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
Offers Content Namespace (client.offers.content)¶
Bases: _OperationClient
CRUD operations for Adobe content offers.
Source code in packages/sdk/src/adobe_target_admin/client.py
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 | |
create(payload)
¶
Create a content offer.
Source code in packages/sdk/src/adobe_target_admin/client.py
297 298 299 300 301 302 303 304 | |
delete(offer_id)
¶
Delete a content offer by Adobe ID.
Source code in packages/sdk/src/adobe_target_admin/client.py
316 317 318 319 320 321 322 323 | |
get(offer_id)
¶
Fetch one content offer by Adobe ID.
Source code in packages/sdk/src/adobe_target_admin/client.py
288 289 290 291 292 293 294 295 | |
update(offer_id, payload)
¶
Replace a content offer.
Source code in packages/sdk/src/adobe_target_admin/client.py
306 307 308 309 310 311 312 313 314 | |
Reports AB Namespace (client.reports.ab)¶
Bases: _BaseActivityReportApi
AB report operations.
Source code in packages/sdk/src/adobe_target_admin/client.py
370 371 372 373 374 375 376 377 378 379 | |
Reports XT Namespace (client.reports.xt)¶
Bases: _BaseActivityReportApi
XT report operations.
Source code in packages/sdk/src/adobe_target_admin/client.py
382 383 384 385 386 387 388 389 390 391 | |
Reports ABT Namespace (client.reports.abt)¶
Bases: _BaseActivityReportApi
ABT report operations.
Source code in packages/sdk/src/adobe_target_admin/client.py
394 395 396 397 398 399 400 401 402 403 | |