Hi Alex,
I'm Kevin from the Google Ads Scripts team.
Upon checking, it appears that the resource names in your script is not yet migrated. In order to filter by campaign name/status, you will need to use the campaign.name and campaign.status fields. For additional reference, you may check out our Resource Mappings documentation to determine the new names of the fields that you're using. I also suggest that you utilize the Google Ads Query Builder tool for keyword_view to build your condition in the WHERE clause.
If you are still having issues, please further elaborate what you would like to achieve then provide your CID and script name so we can further investigate.
Regards,
 |
| Kevin Gil |
| Google Ads Scripts Team |
|
|
| |

ref:_00D1U1174p._5004Q2j22Cy:ref