PRODUCT

Amazon Ad Server will be sunset in Q4 2024, please visit this page (AAS offboarding information) for offboarding support resources and sunset FAQs. Details shared on that page represent the most up to date information in the Help Center, if you find disparate information in other resources please default to the information in the AAS offboarding information page accordingly.

Follow

Related Entities

Endpoint Using the developerScripts Object

Parent Objects

developerScripts Object Definition

Note

Note: The Required column includes the following values:

  • Required: The field must be included in the POST call.

  • Read-only: The field is received in the GET call and required in the PUT call. It is not required in the POST call. You cannot edit this field.

  • Optional: If the field was received in the GET call, include it in the PUT call. This field is editable.

  • Internal: (For Amazon Ad Server (AAS) internal use) If the field was received in the GET call, include it in the PUT call.

Name

Description

Type

Required

Notes

type

Type of entity.

String

Required

DeveloperScripts

preScriptEnable

Enables script to run before the tag manager collects page data.

Boolean

Optional

Requires the View/Edit Tag Manager Custom Script permission.

preScript

Custom script that can be used, for example, to set global JavaScript variables before the tag manager runs.

String

Optional

postScriptEnable

Enables script to run after the tag manager generates a call to the server.

Boolean

Optional

postScript

Custom script that can be used, for example, to collect information after the tag manager runs.

String

Optional

Object JSON Example

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments