campaigns
Campaign Images

Select Campaign Image

Select an image variation for a campaign

This endpoint allows users to choose one of the generated image variations and update their campaign with the selected image.

post/api/campaigns/images/select-image

Request

  • Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepomo.ai/api/campaigns/images/select-image
  • Auth: HTTP bearer

Request body

campaign_typestring required

Type of campaign (e.g., google_display, meta_feed, social_post)

selected_image_urlstring required

URL of the selected image variation

selection_mode'replace' | 'add' | 'add_and_set_primary'

How to apply the selected image: replace current, add to list, or add and set as primary

variation_indexinteger nullable

Index of the selected variation (0-based)

total_variationsinteger nullable

Total number of variations that were presented

selection_metadataobject nullable

Additional metadata about the selection

ad_idstring nullable

Specific ad ID for ad campaigns (when updating a specific ad variation)

Response

Successful Response

successboolean required
campaign_typestring required
selected_image_urlstring required
messagestring required

Changes

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