Map<String, dynamic> toJson() => { 'method': method, 'error': error, 'view_id': viewId, 'ad_type': adType, };