Update ads
PATCH {{baseUrl}}/ad_accounts/:ad_account_id/ads
This endpoint is currently in beta and not available to all apps. Learn more.
Update multiple existing ads
Request Body
{"0"=>{"id"=>"687195134316", "ad_group_id"=>"2680059592705", "android_deep_link"=>"deserunt ea sit", "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"=>"commodo incididunt sit in", "creative_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "destination_url"=>"qui minim dolor et", "ios_deep_link"=>"occaecat magna Ut dolor", "is_pin_deleted"=>false, "is_removable"=>false, "name"=>"non minim ad aute", "pin_id"=>"394205773611545468", "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"=>"nisi non"}, "1"=>{"id"=>"687195134316", "ad_group_id"=>"2680059592705", "android_deep_link"=>"nostrud laborum aliqua", "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 laboris aute", "creative_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "destination_url"=>"ut enim", "ios_deep_link"=>"reprehenderit et esse cillum", "is_pin_deleted"=>false, "is_removable"=>false, "name"=>"laboris nisi ut in", "pin_id"=>"394205773611545468", "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"=>"ut labore nostrud"}}
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"}}]}