-  @advertisement_id = @response['id']
+  @advertisement_id = @response['advertisement']['id']