Campaign status enable meaning?

45 views
Skip to first unread message

hung lee

unread,
May 27, 2025, 10:04:56 PM5/27/25
to Google Ads API and AdWords API Forum
Hi

I'm using google ads api to search PERFORMANCE_MAX campaign
I use the query
SELECT
                  asset_group.final_urls,
                  campaign.id,
                  campaign.name
                FROM asset_group
                WHERE
                  campaign.advertising_channel_type = 'PERFORMANCE_MAX'
                  AND campaign.status = 'ENABLED'

And the result include this campaign
095415.png
But the status is Ended. I wonder if the result is correct?

Thanks

Google Ads API and AdWords API Forum

unread,
May 28, 2025, 1:15:54 AM5/28/25
to Google Ads API and AdWords API Forum

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.


Thanks,
Google Ads API team.

Reply all
Reply to author
Forward
0 new messages