Regarding Location And Objective in Google Ads Api

114 views
Skip to first unread message

Abhishek Battu

unread,
Apr 10, 2023, 2:56:36 AM4/10/23
to Google Ads API and AdWords API Forum
Dear Team, 

We are getting data from airbyte to google bigquery,but we are not able to find the appropriate field names for campaign location and objective,please help me resolve this at the earliest.

Regards,
Abhishek Battu

Google Ads API Forum Advisor

unread,
Apr 10, 2023, 5:28:21 PM4/10/23
to abhi...@codewave.com, adwor...@googlegroups.com

Hi Abhishek,

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

With regard to your concern for field names for campaign location and objective, for campaign location, if you're looking for locations the campaign is targeting, you should look into campaign_criterion.location.geo_target_constant (https://developers.google.com/google-ads/api/fields/v13/campaign_criterion#campaign_criterion.location.geo_target_constant). Then for campaign objectives, you may try to use the campaign_conversion_goal (https://developers.google.com/google-ads/api/docs/conversions/goals/campaign-goals?hl=en#retrieving_campaign_goals) reports for retrieving campaign goal objective details.

However, if this is not what you're looking for, kindly provide us the screenshot of the data you're getting in your end, and the logs from airbyte (if possible), for us to properly provide the field names of your concern. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2kTbob:ref

Abhishek Battu

unread,
Apr 11, 2023, 7:57:58 AM4/11/23
to Google Ads API and AdWords API Forum
  Hi Team,

I got solution for campaign location.But for the campaign objective you have given a field name called campaign_conversion_goal,i have written queries using the field name( campaign_conversion_goal) on the following tables namely conversion_goal_campaign_config,campaign_conversion_goal,custom_conversion_goal,customer_conversion_goal using google ads api,i didn't got the appropriate output,can you please guide me to get the desired output.

Regards,
Abhishek Battu

Google Ads API Forum Advisor

unread,
Apr 11, 2023, 8:15:36 PM4/11/23
to abhi...@codewave.com, adwor...@googlegroups.com

Hi Abhishek,

Thank you for getting back to us. 

As mentioned in our previous response, would you be able to provide us the screenshot of the data you're getting in your end, and the logs from airbyte (if possible), for us to provide the appropriate field names for your concern? You may send the requested logs and screenshot via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

You may refer to these links for sharing your logs in this format.

Abhishek Battu

unread,
Apr 25, 2023, 1:08:16 AM4/25/23
to Google Ads API and AdWords API Forum
Hi Team,

Is there any possible way to find the campaign obejctive or marketing objective through other fields names in google ads api.

Thank you
Reply all
Reply to author
Forward
0 new messages