Create a new asset upload session.

Create a new asset upload session for the AdAccount. A URL would be returned in a successful response for uploading the actual asset content. After asset upload has been successfully completed, see the campaign creation guide and follow Section 4-1 for those using Moloco Ads API v1.7 or later

Query Params
string
required

The AdAccount ID.

Body Params

The information to upload the asset.

string
enum
required
Defaults to UNKNOWN_ASSET_KIND

List of asset kinds supported by Moloco Ads.

  • UNKNOWN_ASSET_KIND: This value is not part of the specification.
  • CREATIVE: Creative asset type.
  • CSV: text/csv type.
  • ASSET_DYNAMIC_CREATIVE: Asset for Dynamic Creatives.
  • FB_PLAYABLE_AD: Facebook Playable AD.
Allowed:
string
required

MIME type of the asset to upload.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json