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 |
CustomFields |
id |
ID of entity. read-only parameter, auto-generated. |
Integer |
Read-only |
|
relationsBag |
Internal. |
Internal |
||
version |
Internal. |
Internal |
Internal |
|
createdBy |
ID of the user that created the account. |
Long |
Read-only |
|
createdByName |
Name of the user that created the entity. |
String |
Read-only |
|
createdByAccount |
ID of the account that created the entity. |
Long |
Read-only |
|
createdByAccountName |
Name of the account that created the entity. |
String |
Read-only |
|
createdOn |
Date of creation (Date epoch). |
Long |
Read-only |
|
lastUpdatedBy |
ID of the user that was last to update the entity. |
Long |
Read-only |
|
lastUpdatedByName |
Name of the user that was last to update the entity. |
String |
Read-only |
|
lastUpdatedByAccount |
ID of the account that was last to update the entity. |
Long |
Read-only |
|
lastUpdatedByAccountName |
Name of the account that was last to update the entity. |
String |
Read-only |
|
lastUpdateOn |
Date of last update (Date epoch). |
Long |
Read-only |
|
name |
Name of custom field. |
String |
Optional |
|
fieldType |
Type of field. |
String |
Required |
|
accountId |
ID of the campaign manager account. |
Long |
Optional |
|
typeSettings |
Settings for a custom field choice list. |
|||
fieldSettings |
Settings for custom fields. |
This object enables you to view the parent object of an object, for example, the account ID and name of an advertiser. This saves time because you do not need to call another call to get these details.
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 |
---|---|---|---|---|
parents |
This is an object of the entities that are related to this object, and depends on the object type.For example, a campaign will include "account", "advertiser", and "brand" data. An advertiser will only include the "account". |
Read-only |
||
children |
Includes the count of the related entities. |
Read-only |
||
creativeAccountContact |
Internal. |
Boolean |
Read-only |
Name |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
account |
Parent account of current entity (if applicable). |
Object |
Read-Only |
Example: { "id": 1072241834, "name": "testing account", "internal": false } |
advertiser |
Parent advertiser of current entity (if applicable). |
Object |
Read-Only |
Example: { "id": 1073741822, "name": "AAA" } |
brand |
Parent brand of current entity (if applicable). |
Object |
Read-Only |
Example: { "id": 1073741833, "name": "BBB" } |
campaign |
Parent campaign of current entity (if applicable). |
Object |
Read-Only |
Example: { "id": 1073741831, "name": "ccc" } |
site |
Parent site of current entity (if applicable). |
Object |
Read-Only |
Example: { "id": 1073741853, "name": "ddd" } |
Name |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
advertisers |
Contains the count of child advertisers (if applicable). |
Object |
Read-Only |
|
brands |
Contains the count of child brands (if applicable). |
Object |
Read-Only |
|
campaigns |
Contains the count of child campaigns (if applicable). |
Object |
Read-Only |
|
users |
Contains the count of child users (if applicable). |
Object |
Read-Only |
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 |
---|---|---|---|---|
min |
Internal. |
Internal |
Internal |
|
max |
Internal. |
Internal |
Internal |
|
decimalPrecision |
Internal. |
Internal |
Internal |
|
dropDownValues |
Lists the values that are available when the field type is a choice list. For example, if the custom field is color, the values might be blue, green, or red. |
Integer |
Optional |
|
allowUserAddValueToDropdown |
Determines whether you can add new values to the choice list on a specific entity level. For example, if a custom field is defined on the Brand level, and the allowUserAddValueToDropdown value is True, you can add values. |
Boolean |
Required |
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 |
---|---|---|---|---|
readonly |
Determines whether the custom field that is displayed on the entity level is read-only or editable. |
Boolean |
Required |
|
displayLocation |
Internal. |
Internal |
Internal |
|
reportingSettings |
Internal. |
Internal |
||
tokenSettings |
Object that determines whether to use the custom field as a token on click-throughs and 3rd party events. |
Required |
||
entityType |
Entity, for example, campaign level or placement level, using the custom field. |
String |
Required |
|
includeInPlacementPackageExcel |
For custom fields on the placement level, determines whether to include the custom field in the placement package spreadsheet. |
Boolean |
Required |
|
required |
Determines whether the custom field is mandatory. |
Boolean |
Required |
Parameter |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
A number that represents the ID of the custom field defined on the account. |
Number that represents the ID of the custom field defined on the account. |
String |
Read-only |
|
type |
Type of entity. |
String |
Read-only |
CustomTextField |
id |
ID of the custom field defined on the account. |
String |
Read-only |
|
name |
Internal. |
Internal |
Internal |
|
fieldType |
Type of custom field that was defined on the account. |
String |
Required |
|
accountId |
Internal. |
Internal |
Internal |
|
value |
Value of the custom field as defined on the entity. |
String |
Optional |
Comments