Create ads
POST {{baseUrl}}/ad_accounts/:ad_account_id/ads
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"=>"amet enim voluptate", "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"=>"esse", "destination_url"=>"reprehenderit", "ios_deep_link"=>"do", "is_pin_deleted"=>false, "is_removable"=>false, "name"=>"in eu laboris ex", "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"=>"proident aliqua voluptate esse"}}
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"}}]}