
Hi,
Thank you for reaching out to the Google Ads API support team.
As per the API guide, the campaign.status field represents the status of the campaign. When a new campaign is added, the status defaults to “ENABLED” state. Whereas the campaign.primary_status field represents the primary status of the campaign. This field provides insight into why a campaign is not serving or not serving optimally. Modification to the campaign and its related entities might take a while to be reflected in this status. This field have enum values like ELIGIBLE, ENDED, LEARNING, LIMITED, MISCONFIGURED, NOT_ELIGIBLE, PAUSED, PENDING, REMOVED, UNKNOWN, or UNSPECIFIED.
I would suggest you to check the below GAQL query from asset group level and campaign level:
SELECT asset_group.final_urls, campaign.id, campaign.name FROM asset_group WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX' AND campaign.primary_status = 'ELIGIBLE'
SELECT campaign.id, campaign.name FROM campaign WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX' AND campaign.primary_status = 'ENDED'
You can use the search or searchStream methods in making the API calls while retrieving the data. Additionally, you can utilize the Google Ads Query Builder and Query Validator to build and validate the queries for retrieving the data from the Google Ads API.
If you still need assistance even after following the given suggestion, please provide the uncropped UI screenshots with visible Google Ads customer ID.
You can send the details via Reply privately to the author option or direct private reply to this email.