Create a creative
POST/ads/{connection_id}/creative
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
Payload
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
campaign_idstring
group_idstring
(reference to AdsGroup)
item_idstring
references Commerce Item ID (reference to CommerceItem)
organization_idstring
widthnumber
heightnumber
asset_urlsstring array
Hosted asset mode (best-effort, provider-specific
link_urlstring
Destination URL for creatives with links
bodystring
titlestring
ctastring
third_party_tagstring
vast_tag_urlstring
external_creative_referencestring
external_placement_referencestring
external_ad_referencestring
path1string
Display URL path 1 (Microsoft RSA Path1)
path2string
Display URL path 2 (Microsoft RSA Path2)
datastring
Returns
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
campaign_idstring
group_idstring
(reference to AdsGroup)
item_idstring
references Commerce Item ID (reference to CommerceItem)
organization_idstring
widthnumber
heightnumber
asset_urlsstring array
Hosted asset mode (best-effort, provider-specific
link_urlstring
Destination URL for creatives with links
bodystring
titlestring
ctastring
third_party_tagstring
vast_tag_urlstring
external_creative_referencestring
external_placement_referencestring
external_ad_referencestring
path1string
Display URL path 1 (Microsoft RSA Path1)
path2string
Display URL path 2 (Microsoft RSA Path2)
datastring
const options = {
method: 'POST',
url: 'https://api.unified.to/ads/5de520f96e439b002043d8dc/creative',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know