googleads-dfa-reporting-samples icon indicating copy to clipboard operation
googleads-dfa-reporting-samples copied to clipboard

Unable to insert all flight bodies in a package

Open rrishabh27 opened this issue 1 year ago • 0 comments

I am inserting flight data into packages using the CM360 API. The data comes from a pandas dataframe. The problem is that the new inserted flight replaces the existing flights. For example, I want to insert 3 flights into a package at once. The first flight will be inserted, then the second one replaces the first one and finally, the third flight replaces the second one. I am using placementGroups patch() method to achieve this. Any suggestions or fixes you have for this? I have attached a picture of the code.

get_data_and_insert_cm360

rrishabh27 avatar Nov 29 '23 10:11 rrishabh27