|
@@ -112,7 +112,8 @@ class SpTargetsBidRecommendations:
|
|
|
axis=1)
|
|
|
out_df.drop(labels='bidValues', inplace=True, axis=1)
|
|
|
out_df.drop(labels='value', inplace=True, axis=1)
|
|
|
- out_df.rename(columns={'type': 'targetingExpression_type'}, inplace=True)
|
|
|
+ out_df.rename(columns={'type': 'targetingExpression_type',
|
|
|
+ 'keywordId': 'keyword'}, inplace=True)
|
|
|
json_data = json.loads(out_df.to_json(orient='records', force_ascii=False))
|
|
|
return json_data
|
|
|
|