Actions92
- Channel Actions
- Channel > Config Actions
- Event Actions
- Integrations Actions
- Live Actions
- Misc > Countries Actions
- Misc > Stream Actions
- Option Actions
- Option > Record Actions
- Option > Record > Instant Actions
- Option > Record > Storage Actions
- Option > Timeshift Actions
- Option > Watermarking Actions
- Option > Simulcast Actions
- Players Actions
- Players > Ads Actions
- Players > Embeds Actions
- Players > Pictures Actions
- Prices Actions
- Restrictions Actions
- Stats > Channel > Connection History Actions
- Stats > Channel > Consumption Actions
- Stats > Channel > Export Stats Actions
- Stats > Channel > Geolocation Actions
- Stats > Channel > Technologies Actions
- Stats > Channel > Viewers Actions
- Stats > Channel > Viewing Actions
- Stats > Globals > Consumption Actions
- Stats > Globals > Geolocation Actions
- Stats > Globals > Viewers Actions
- Stats > Globals > Viewing Actions
- Thumbnail Actions
- Order Actions
Players > Ads → Copy An Ads
AI-generatedSummary
Copy An Ads operation creates a duplicate of a specified advertisement within a channel.
Inputs
- authentication — Authentication method; either OAuth2 or API Key.
- path_channel (required) — The ID of the channel containing the ad to copy.
- path_player (required) — The ID of the player associated with the ad.
- query_account_id (required) — The account identifier for the request.
- queryParameters — Additional query parameters; optionally includes a 'with' parameter to load related resources.
- body_id (required) — The ID of the ad to copy.
- returnFullResponse — If true, the full API response is returned; otherwise only a summary is returned.
Output shape
a single ad object representing the copied advertisement
When returnFullResponse is false, only a summary is returned; when true, the complete API response is provided, which may include additional metadata and nested fields.
Examples
Example 1: Copy an ad in a given channel using the API Key authentication
authentication=apiKey; path_channel=123; path_player=456; query_account_id=789; body_id=101; queryParameters={}; returnFullResponse=false
Example 2: Copy an ad with full response details using OAuth2
authentication=oauth2; path_channel=123; path_player=456; query_account_id=789; body_id=101; queryParameters={}; returnFullResponse=true
Example 3: Copy an ad and include additional related resource data
authentication=oauth2; path_channel=123; path_player=456; query_account_id=789; body_id=101; queryParameters={with=related}; returnFullResponse=true