Bug: Missing enum in API (SmartCampaignStatus)

59 views
Skip to first unread message

Levi Kline

unread,
May 1, 2024, 10:06:28 PM5/1/24
to Google Ads API and AdWords API Forum
According to the Google Ads documentation, there is a SmartCampaignStatus enum that includes the PENDING status. However, this enum does not appear to be referenced anywhere in the documentation nor is it available in the query builder.

How am I supposed to determine if a Smart Campaign is under review via the API without this status?

Note that for Search campaigns this is not an issue since the CampaignPrimaryStatusReason includes MOST_ADS_UNDER_REVIEW​. However, because of the nature of Smart campaigns, these statuses aren't present.​

Google Ads API Forum Advisor

unread,
May 2, 2024, 11:56:33 AM5/2/24
to le...@usestyle.ai, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Kindly note that campaign.primary_status has the enum 'PENDING' and campaign.primary_status_reasons has the enum 'MOST_ADS_UNDER_REVIEW' are available in the query builder. Kindly check the below query to retrieve the primary status and primary status reasons for the smart campaign using the campaign report:
SELECT campaign.id, campaign.name, campaign.advertising_channel_type, campaign.primary_status, campaign.primary_status_reasons, campaign.status FROM campaign WHERE campaign.advertising_channel_type = 'SMART' AND campaign.primary_status = 'PENDING' AND campaign.primary_status_reasons CONTAINS ALL ('MOST_ADS_UNDER_REVIEW')
You can use Query Builder to create your query and Query Validator to validate your query. Also, kindly try making the request to the search or searchStream endpoint by passing your customer ID and developer token and let us know how this goes on your end.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tIr88:ref" (ADR-00233375)

Thanks,
 
Google Logo Google Ads API Team


Levi Kline

unread,
May 6, 2024, 4:48:36 AM5/6/24
to Google Ads API and AdWords API Forum
To follow up -- could you please clarify the meaning of the `PENDING` status? We have several Smart campaigns that only have a primary status of `ELIGIBLE,` but are pending review according to the Google Ads dashboard. How are we able to determine if a Smart campaign is under review? Thanks for the clarification.

Best,
Levi

Google Ads API Forum Advisor

unread,
May 6, 2024, 11:17:34 AM5/6/24
to le...@usestyle.ai, adwor...@googlegroups.com
Hi,

Please be informed that the campaigns with pending status means the campaign has a start date in the future, so its ads have not started running yet. You can change the start date any time before it's reached. To know more information about Campaign status, I would recommend you refer to this help center article on Campaign status.

To find campaigns under review in Google Ads, you may check the "Status" column in the campaigns, look for the campaigns that have the PENDING status. If you hover over the PENDING status, a tooltip will appear that says "Under review".

Andrew Wirtz

unread,
May 6, 2024, 1:55:30 PM5/6/24
to Google Ads API and AdWords API Forum
What do you mean by "pending review according to the Google Ads dashboard"? I have been having similar issues with Smart Campaigns where the Dashboard says something about a "quick policy review".

Google Ads API Forum Advisor

unread,
May 6, 2024, 8:22:23 PM5/6/24
to andrew...@feathrapp.com, adwor...@googlegroups.com

Hi,

According to the help center article, pending status indicates that the campaign will start in the future once the future date arrives. If you want to change the campaign date, you can change it at any time to start the campaign.

However, if you want more assistance on this, please get back to us so that we can route you to the appropriate support team.

Kindly note that we can only support Google Ads API-related concerns and technical issues. 

Reply all
Reply to author
Forward
Message has been deleted
0 new messages