Delete Ads ​
Endpoint ​
DELETE /unified/ads/ads/{id}Integrations supported
- Meta Marketing API
Path parameters ​
The ID of the resource.
23423523Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79dThe format of the response.
unifiedreturns the response with unified mappings applied.rawreturns the unprocessed, raw response from the remote API.normalizedapplies the unified mappings and returns the data in a normalized format.streamreturns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.
Defaults to unified.
unifiedrawnormalizedstream
unifiedExcludes the remote_data attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=nameQuery parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=barResponse Body ​
The unique identifier for the ad.
The name of the ad.
The type of the ad
The status of the ad.
activepauseddeletedarchivedin_processwith_issuescampaign_pausedpending_reviewdisapprovedpreapprovedpending_billing_infoadset_paused
The unique identifier for the account.
The unique identifier for the ad_group.
The unique identifier for the campaign.
The labels for the ad.
The unique identifier for the label.
The name of the label.
The schedule for the ad.
The end time for the ad.
The start time for the ad.
The bid for the ad.
The bid adjustments for the ad.
The bid amount for the ad.
The bid constraints for the ad.
The bid values for different objectives of the ad.
The bid strategy for the ad.
The unique identifier for the bid strategy.
The name of the bid strategy.
The conversion domain for the ad.
The creative for the ad.
The unique identifier for the creative.
The issues for the ad that prevented the ad from being delivered.
The code for the issue.
The error message for the issue.
The error summary for the issue.
The level for the issue.
The type for the issue.
The preview URL for the ad.
The URL for the preview.
The type for the preview.
The tracking specs for the ad.
The date and time the ad was created.
The date and time the ad was last updated.
Raw data returned from the remote API call.