Preview

The various methods for Preview are listed below:

  1. Get retail methods for preview

Get retail methods for preview

Returns preview tags for retail campaign placements or ad groups, optionally filtered by placement IDs, ad group IDs, and a creative filter. Requires MediaPlan_View permission.

Controller:controllers.v2.RetailMedia.getRetailPlacementPreview(accountId: String, retailCampaignIdx: Int)

Path Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the account.
retailCampaignIdxintegerMandatorypathIndex of the retail campaign.

Query Parameters

NameData TypeRequirementDescription
aIdsstringOptionalComma-separated list of ad group IDs to filter previews by (e.g. 0011,_Default_Jivox_Ad_Group_).
pIdsstringOptionalComma-separated list of placement IDs to filter previews by.
creativeFilterstringOptionalFilter string to scope previews to a specific creative variant.

Sample Request

HTTP
Copy

Response

FieldData TypeDescription
placementPreviewsarrayPreview tags grouped by placement ID (when pIds is provided).
placementPreviews[].placementIdstringThe placement ID.
placementPreviews[].tagsarray of stringList of preview tag strings for this placement.
adGroupPreviewsarrayPreview tags grouped by ad group (when aIds is provided).
adGroupPreviews[].adGroupIdstringThe ad group ID.
adGroupPreviews[].contentTypestringContent type of the ad group previews.
adGroupPreviews[].placementPreviewsarrayNested placement previews within this ad group.
adGroupPreviews[].placementPreviews[].placementIdstringThe placement ID within the ad group.
adGroupPreviews[].placementPreviews[].tagsarray of stringList of preview tag strings for this placement within the ad group.

Request Body

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard