Update ad groups
PATCH {{baseUrl}}/ad_accounts/:ad_account_id/ad_groups
Update multiple existing ad groups.
Request Body
{"0"=>{"id"=>"2680060704746", "name"=>"Ad Group For Pin: 687195905986", "status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "budget_in_micro_currency"=>5000000, "bid_in_micro_currency"=>5000000, "optimization_goal_metadata"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "budget_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "start_time"=>5686848000, "end_time"=>5705424000, "targeting_spec"=>{"deseruntd2c"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "esse73b"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "lifetime_frequency_cap"=>100, "tracking_urls"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "auto_targeting_enabled"=>true, "placement_group"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "pacing_delivery_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "campaign_id"=>"626736533506", "billable_event"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "bid_strategy_type"=>"MAX_BID"}}
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"},{"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"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}]}