Re: Unable to obtain all the results that I can see in UI

2022-05-20 Thread Arturo Martínez Pacheco
Hi! I found that the problem is that the python client library has some bug where a query brings results from the previous query, they are in the same if condition but each report has its own function,. For example: def get_all_reports(region): try: if region == "IRELAND":

BUG, A QUERY BRINGS THE RESULTS FROM PREVIOUS QUERY

2022-05-20 Thread Arturo Martínez Pacheco
Im making a query for an account that I have in Spain, and then a query for another account that it is in Mexico, the reports of the second query, brings also results from Spain, even my functions are in different scopes, but in the same "if" -- --

Unable to obtain all the results that I can see in UI

2022-05-19 Thread Arturo Martínez Pacheco
Im making a query to obtain all the campaigns that are enabled or stopped, like so: SELECT ... FROM ad_group_ad WHERE campaign.status IN ('ENABLED', 'PAUSED', 'REMOVED', 'UNKNOWN') AND ad_group_ad.status IN ('ENABLED', 'PAUSED', 'REMOVED', 'UNKNOWN') AND campaign.name LIKE "%ES%" AND