When creating a direct line item, you must assign a media and specify the ad sizes for that direct line item. You can retrieve ad size suggestions for the chosen media, sorted by their usage. This can help you simplify your ad creation process and ensure that your ads will fit the placements.
With the Direct Line Item Ad Sizes API, you can retrieve a list of 50 suggested ad sizes, starting with the sizes from the local agency list. If the local agency list contains less than 50 ad sizes, then the sizes from the global list are added to match the limit.
To start working with Direct Line Item Ad Sizes API, you need:
-
Adform DSP or Ad Server user account that has these permissions assigned:
-
Manage Direct Line Items
-
Manage Campaigns & Orders
-
-
The following scopes assigned to your OAuth client by Adform Support (technical@adform.com):
-
https://api.adform.com/scope/buyer.direct.lineitem.adsizes.readonly: Grants read-only access to Direct Line Item Ad Sizes API.
-