Campaign criterion query is not getting keywords

137 views
Skip to first unread message

Özgür Nevres

unread,
Jan 30, 2024, 6:31:50 AM1/30/24
to Google Ads API and AdWords API Forum
Hi,

For one CustomerClient, the Campaign criterion query is not getting keywords, but getting other criteria. 

  1. For other CustomerClients, it is getting keywords successfully
  2. Yes, there are both positive and negative keywords for that particular customer client, I can see them on the GoogleAds website.
What can be the problem?

my query is:

SELECT campaign_criterion.ad_schedule.day_of_week, campaign_criterion.ad_schedule.end_hour, campaign_criterion.ad_schedule.end_minute, campaign_criterion.ad_schedule.start_hour, campaign_criterion.ad_schedule.start_minute, campaign_criterion.age_range.type, campaign_criterion.bid_modifier, campaign_criterion.brand_list.shared_set, campaign_criterion.campaign, campaign_criterion.carrier.carrier_constant, campaign_criterion.combined_audience.combined_audience, campaign_criterion.content_label.type, campaign_criterion.criterion_id, campaign_criterion.custom_affinity.custom_affinity, campaign_criterion.custom_audience.custom_audience, campaign_criterion.device.type, campaign_criterion.display_name, campaign_criterion.gender.type, campaign_criterion.income_range.type, campaign_criterion.ip_block.ip_address, campaign_criterion.keyword.text, campaign_criterion.keyword.match_type, campaign_criterion.keyword_theme.free_form_keyword_theme, campaign_criterion.keyword_theme.keyword_theme_constant, campaign_criterion.language.language_constant, campaign_criterion.listing_scope.dimensions, campaign_criterion.local_service_id.service_id, campaign_criterion.location.geo_target_constant, campaign_criterion.location_group, campaign_criterion.location_group.enable_customer_level_location_asset_set, campaign_criterion.location_group.feed, campaign_criterion.mobile_app_category.mobile_app_category_constant, campaign_criterion.mobile_application.app_id, campaign_criterion.mobile_application.name, campaign_criterion.mobile_device.mobile_device_constant, campaign_criterion.negative, campaign_criterion.operating_system_version.operating_system_version_constant, campaign_criterion.parental_status.type, campaign_criterion.placement.url, campaign_criterion.proximity.address.city_name, campaign_criterion.proximity.address.country_code, campaign_criterion.proximity.address.postal_code, campaign_criterion.proximity.address.province_code, campaign_criterion.proximity.address.province_name, campaign_criterion.proximity.address.street_address, campaign_criterion.proximity.geo_point.latitude_in_micro_degrees, campaign_criterion.proximity.radius, campaign_criterion.proximity.geo_point.longitude_in_micro_degrees, campaign_criterion.proximity.radius_units, campaign_criterion.resource_name, campaign_criterion.status, campaign_criterion.topic.path, campaign_criterion.topic.topic_constant, campaign_criterion.type, campaign_criterion.user_interest.user_interest_category, campaign_criterion.user_list.user_list, campaign_criterion.webpage.conditions, campaign_criterion.webpage.coverage_percentage, campaign_criterion.webpage.criterion_name, campaign_criterion.webpage.sample.sample_urls, campaign_criterion.youtube_channel.channel_id, campaign_criterion.youtube_video.video_id, campaign.id FROM campaign_criterion

Google Ads API Forum Advisor

unread,
Jan 30, 2024, 7:17:11 AM1/30/24
to ozgur....@earnado.com, adwor...@googlegroups.com
Hi,

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

After reviewing your query, I understand that you are not getting keywords for the campaign criterion query. To analyze your issue further, I would kindly request that you provide us with the complete API logs (request and response with request-id and request header) along with the uncropped UI screenshot generated at your end to better assist you on this request. 

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02ryeV8:ref"

Thanks,
 
Google Logo Google Ads API Team

 

Özgür Nevres

unread,
Jan 30, 2024, 10:36:18 AM1/30/24
to Google Ads API and AdWords API Forum
Hi,

thanks for the response. It seems the user added those keywords using a LIST.
How can I get these keywords?

Özgür Nevres

unread,
Jan 30, 2024, 10:42:54 AM1/30/24
to Google Ads API and AdWords API Forum
I mean,
Is there a query to get lists, their type (i.e. negative keywords), and on which campaign(s) these lists applied?

Google Ads API Forum Advisor

unread,
Jan 30, 2024, 5:33:01 PM1/30/24
to ozgur....@earnado.com, adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

As you are able to see the both positive and negative keywords for a particular customer client in the Google Ads account. In order to assist you further, kindly provide us with the uncropped screenshot of the Google Ads account where you are seeing the both positive and negative keywords
Reply all
Reply to author
Forward
0 new messages