Query Regarding Campaign Objective in Google Ads

70 views
Skip to first unread message

Amit Tomar

unread,
May 22, 2024, 9:24:49 AM5/22/24
to Google Ads API and AdWords API Forum
Hello,

I have a couple of questions about the campaign objective feature in Google Ads.

1. Campaign Objective Field Usage:
When creating a campaign using the Google Ads UI, the first step is to select a campaign objective. However, it appears that there is no field or attribute in the campaign data to explicitly define the value of the objective. I have tested this by querying campaign data using the Google Ads Query Builder and found that the objective value is not present. Am I correct in understanding that the campaign objective is used only for guiding the UI flow and validation, such as determining the next input screens based on the selected objective?

2. Managing Campaign Objectives Using Google Ads API:
If the campaign objective is only used in the UI for validation, how can we manage this using the Google Ads API? Specifically, how can we determine the required and optional fields for different campaign types (e.g., Sales campaign vs. App Promotion campaign) programmatically?

Thank you for your assistance.

Google Ads API Forum Advisor

unread,
May 22, 2024, 3:25:18 PM5/22/24
to amittomar...@gmail.com, adwor...@googlegroups.com
Hi,

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

In order to investigate the issue further, kindly provide us with the uncropped UI screenshot of the Google Ads Account with the visibility of the customer ID where you are able to see campaign objectives.  

This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ3cb:ref" (ADR-00236030)

Thanks,
 
Google Logo Google Ads API Team


Amit Tomar

unread,
May 22, 2024, 3:34:43 PM5/22/24
to Google Ads API and AdWords API Forum
PFA
objective.png

Google Ads API Forum Advisor

unread,
May 23, 2024, 2:42:28 AM5/23/24
to amittomar...@gmail.com, adwor...@googlegroups.com
Hi,

You can use the following query to retrieve the list of CampaignConversionGoals for your account. For convenience, you can include attributes of campaign in the SELECT clause, or use them in the WHERE clause to only retrieve the campaign goals for specific campaigns.
SELECT
  campaign_conversion_goal.campaign,
  campaign_conversion_goal.category,
  campaign_conversion_goal.origin,
  campaign_conversion_goal.biddable,
  campaign.id,
  campaign.name
FROM campaign_conversion_goal
Also, I would recommend you to kindly refer to the "Campaign goals" documentation to implement the campaign objective via the Google Ads API.

I hope this helps.
Reply all
Reply to author
Forward
0 new messages