Creatives

put/api/v2/campaigns/push/creatives/{id}

Request

  • Base URL: https://api.richads.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.richads.com/api/v2/campaigns/push/creatives/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

destinationUrlstring nullable

Destination URL the user is redirected to on click

titlestring required

Push notification title (max 30 characters)

iconstring required

Icon image URL for the push notification

messagestring nullable

Push notification body text (max 45 characters)

imagestring nullable

Banner image URL for the push notification

Example request

{
  "destinationUrl": "https://example.com/offer",
  "title": "Special Offer!",
  "icon": "https://cdn.example.com/icon.png",
  "message": "Click to learn more",
  "image": "https://cdn.example.com/banner.jpg"
}

Response

Returns the updated push creative.

idinteger

Creative ID

titlestring

Push notification title

statusstring

Creative status

iconstring

Icon image URL

imagestring

Banner image URL

messagestring

Push notification body text

destinationUrlstring

Destination URL

Example response

{
  "id": 1,
  "title": "Special Offer!",
  "status": "active",
  "icon": "https://cdn.example.com/icon.png",
  "image": "https://cdn.example.com/banner.jpg",
  "message": "Click to learn more",
  "destinationUrl": "https://example.com/offer"
}

Changes

No recorded changes to this operation across all 1 revision of this API.