Hi Miguel,
Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
With regards to your concern, I agree with @Zweitze said, "If you want to minimize the number of API calls. then you should consider to combine it in one call. The period for the API call stretches over both date ranges. Make sure you add 'date' as a segment field. Write code to handle the result, meaning, check the rows in the result, and its date field, then determine whether results should be included for the first or second period. Fields like cost, impressions, conversions etc. are just the sum of the days included in the respective periods. Fields like CPC and Click rate should be recalculated, it's not too hard to determine how to recalculate these. "
Let us know if you have further questions.
Regards,
|
||||||