Create ads
POST {{baseUrl}}/ad_accounts/:ad_account_id/ads
This endpoint is currently in beta and not available to all apps. Learn more.
Create multiple new ads. Request must contain adgroupid, creativetype, and the source Pin pinid.
Request Body
{"0"=>{"ad_group_id"=>"2680059592705", "pin_id"=>"394205773611545468", "creative_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "android_deep_link"=>"sit consectetur ut", "carousel_android_deep_links"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "carousel_destination_urls"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "carousel_ios_deep_links"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "click_tracking_url"=>"enim irure eiusmod", "destination_url"=>"dolore", "ios_deep_link"=>"nulla quis", "is_pin_deleted"=>false, "is_removable"=>false, "name"=>"Excepteur Lorem u", "status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tracking_urls"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "view_tracking_url"=>"irure enim Ut culpa"}, "1"=>{"ad_group_id"=>"2680059592705", "pin_id"=>"394205773611545468", "creative_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "android_deep_link"=>"est consequat", "carousel_android_deep_links"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "carousel_destination_urls"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "carousel_ios_deep_links"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "click_tracking_url"=>"elit sed cupidatat anim", "destination_url"=>"veniam", "ios_deep_link"=>"culpa enim cillum", "is_pin_deleted"=>false, "is_removable"=>false, "name"=>"cupidatat do", "status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tracking_urls"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "view_tracking_url"=>"aliquip eu"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"items":[{"data":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"exceptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"data":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"exceptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}