Create Ads ​
Endpoint ​
POST /unified/ads/ads
Integrations supported
- Meta Marketing API
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79d
The format of the response.
unified
will return the response with unified mappings applied.raw
will return the raw response from the remote API.normalized
will apply the unified mappings and return the data in a normalized format.
Defaults to unified
.
unified
raw
normalized
unified
Excludes the remote_data
attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=name
Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=bar
Request Body ​
Refer Writing data using Unified APIsThe unique identifier for the account.
Supported in
- Meta Marketing API
The labels for the ad.
Supported in
- Meta Marketing API
The unique identifier for the label.
The name of the label.
The unique identifier for the ad_group.
Supported in
- Meta Marketing API
The bid for the ad.
Supported in
- Meta Marketing API
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.
Supported in
- Meta Marketing API
The unique identifier for the creative.
Supported in
- Meta Marketing API
The name of the ad.
Supported in
- Meta Marketing API
The status of the ad.
active
paused
deleted
archived
in_process
with_issues
campaign_paused
pending_review
disapproved
preapproved
pending_billing_info
adset_paused
Enum support by integration
- Meta Marketing API
active
paused
Supported in
- Meta Marketing API
Any additional data that should be passed as part of the request body. This data is not transformed by Truto and is passed as is to the remote API.
Response Body ​
The unique identifier for the ad.
The name of the ad.
The type of the ad
The status of the ad.
active
paused
deleted
archived
in_process
with_issues
campaign_paused
pending_review
disapproved
preapproved
pending_billing_info
adset_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.