KeywordPlanIdeaService Historical data does not return data for keyword

295 views
Skip to first unread message

Parth Vallabhdas Makadiya

unread,
Jan 3, 2024, 9:11:22 AM1/3/24
to Google Ads API and AdWords API Forum
Hello,
I am trying to get search volume for some keywords. I get data for most of the keyword. For 5-10% of the keyword I don't get any data. I am using python library using v15.

Here is my req and response:

```[2024-01-03 14:55:53,583 - DEBUG] Request
-------
Method: /google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordHistoricalMetrics
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "XXXXXXX",
  "x-goog-api-client": "gl-python/3.8.18 grpc/1.44.0 gax/2.15.0 gccl/22.1.0 pb/4.25.1",
  "x-goog-request-params": "customer_id=XXXXXX"
}
Request: customer_id: "XXXXXX"
keywords: "winterjacken jungen"
keywords: "jungen winterjacken"
keywords: "winterjacke jungen 164"
keywords: "winterjacke herren sale"
keywords: "windbreaker kinder"
keywords: "weihnachtsoutfit baby"
keywords: "trekkingsandalen kinder"
keywords: "kinder trekkingsandalen"
keywords: "t shirt kinder"
keywords: "t-shirt kinder"
keywords: "sweatjacke kinder"
keywords: "still t shirt"
keywords: "still t-shirt"
keywords: "stiefel braun damen"
keywords: "sportschuhe kinder"
keywords: "kinder sportschuhe"
keywords: "sneakers weiß damen"
keywords: "sneakers weiss damen"
keywords: "damen sneakers weiß"
keywords: "damen sneakers weiss"
keywords: "kinderschuhe mädchen"
keywords: "kinderschuhe maedchen"
keywords: "kinder klamotten"
keywords: "kinder bikini"
keywords: "maedchen bikini"
keywords: "mädchen bikini"
keywords: "washing machine"
keywords: "waschmaschine"
keywords: "wasch maschine"
language: "languageConstants/1001"
geo_target_constants: "geoTargetConstants/2276"
keyword_plan_network: GOOGLE_SEARCH


Response
-------
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Wed, 03 Jan 2024 13:55:53 GMT",
  "request-id": "SBfYqZ7u-tvQ6XqzsRKt-g"
}
Response: results {
  text: "winterjacke herren sale"
  keyword_metrics {
    avg_monthly_searches: 14800
    monthly_search_volumes {
      year: 2022
      month: DECEMBER
      monthly_searches: 49500
    }
    monthly_search_volumes {
      year: 2023
      month: JANUARY
      monthly_searches: 22200
    }
    monthly_search_volumes {
      year: 2023
      month: FEBRUARY
      monthly_searches: 14800
    }
    monthly_search_volumes {
      year: 2023
      month: MARCH
      monthly_searches: 9900
    }
    monthly_search_volumes {
      year: 2023
      month: APRIL
      monthly_searches: 5400
    }
    monthly_search_volumes {
      year: 2023
      month: MAY
      monthly_searches: 1900
    }
    monthly_search_volumes {
      year: 2023
      month: JUNE
      monthly_searches: 1600
    }
    monthly_search_volumes {
      year: 2023
      month: JULY
      monthly_searches: 2400
    }
    monthly_search_volumes {
      year: 2023
      month: AUGUST
      monthly_searches: 4400
    }
    monthly_search_volumes {
      year: 2023
      month: SEPTEMBER
      monthly_searches: 8100
    }
    monthly_search_volumes {
      year: 2023
      month: OCTOBER
      monthly_searches: 27100
    }
    monthly_search_volumes {
      year: 2023
      month: NOVEMBER
      monthly_searches: 49500
    }
    competition: HIGH
    competition_index: 100
    low_top_of_page_bid_micros: 204128
    high_top_of_page_bid_micros: 764873
  }
}
results {
  text: "still t shirt"
  close_variants: "still t-shirt"
  keyword_metrics {
    avg_monthly_searches: 1900
    monthly_search_volumes {
      year: 2022
      month: DECEMBER
      monthly_searches: 1300
    }
    monthly_search_volumes {
      year: 2023
      month: JANUARY
      monthly_searches: 1900
    }
    monthly_search_volumes {
      year: 2023
      month: FEBRUARY
      monthly_searches: 1900
    }
    monthly_search_volumes {
      year: 2023
      month: MARCH
      monthly_searches: 2400
    }
    monthly_search_volumes {
      year: 2023
      month: APRIL
      monthly_searches: 2400
    }
    monthly_search_volumes {
      year: 2023
      month: MAY
      monthly_searches: 3600
    }
    monthly_search_volumes {
      year: 2023
      month: JUNE
      monthly_searches: 2400
    }
    monthly_search_volumes {
      year: 2023
      month: JULY
      monthly_searches: 2400
    }
    monthly_search_volumes {
      year: 2023
      month: AUGUST
      monthly_searches: 1900
    }
    monthly_search_volumes {
      year: 2023
      month: SEPTEMBER
      monthly_searches: 1600
    }
    monthly_search_volumes {
      year: 2023
      month: OCTOBER
      monthly_searches: 1300
    }
    monthly_search_volumes {
      year: 2023
      month: NOVEMBER
      monthly_searches: 1000
    }
    competition: HIGH
    competition_index: 100
    low_top_of_page_bid_micros: 478846
    high_top_of_page_bid_micros: 1256973
  }
}
results {
  text: "sneakers weiss damen"
  keyword_metrics {
    avg_monthly_searches: 22200
    monthly_search_volumes {
      year: 2022
      month: DECEMBER
      monthly_searches: 5400
    }
    monthly_search_volumes {
      year: 2023
      month: JANUARY
      monthly_searches: 14800
    }
    monthly_search_volumes {
      year: 2023
      month: FEBRUARY
      monthly_searches: 22200
    }
    monthly_search_volumes {
     
[2024-01-03 14:55:53,584 - INFO] Request made: ClientCustomerId: XXXXXX, Host: googleads.googleapis.com, Method: /google.ads.googleads.v15.services.```

Any help would be apriciated. 
Thank you

Parth Makadiya

Parth Vallabhdas Makadiya

unread,
Jan 3, 2024, 9:19:06 AM1/3/24
to Google Ads API and AdWords API Forum
RESPONSE DATA:
SCR-20240103-nndw.png

Google Ads API Forum Advisor

unread,
Jan 3, 2024, 12:36:18 PM1/3/24
to parth.vallab...@zalando.de, adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team.

After reviewing your query, I understand that you are not able to get any data for some keywords through Google Ads API. To investigate this issue further, please provide us with customer Id and uncropped screenshots of UI data which you are trying to retrieve via API. Also, highlight the keywords that you are not receiving data from the API.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02r54XI:ref"

Thanks,
 
Google Logo Google Ads API Team


Google Ads API Forum Advisor

unread,
Jan 3, 2024, 12:42:02 PM1/3/24
to parth.vallab...@zalando.de, adwor...@googlegroups.com
Hi,

Thank you for contacting the Google Ads API support team. Please ignore my previous response.

After reviewing your query, I understand that you are not able to get any data for some keywords through Google Ads API. To investigate this issue further, please provide us with the below details. 
  • Customer Id
  • Uncropped screenshots of UI data which you are trying to retrieve via API. Also, highlight the keywords that you are not receiving data from the API
  • Provide the complete API request and response logs with request ID and request header generated at your end.
You can send the details via 'Reply privately to the author option', or direct private reply to this email.

Parth Vallabhdas Makadiya

unread,
Jan 4, 2024, 3:23:56 AM1/4/24
to Google Ads API and AdWords API Forum
Hi,
I have shared all the details privately. Let me know if you need anything else.

Thank you.

Google Ads API Forum Advisor

unread,
Jan 4, 2024, 7:09:55 AM1/4/24
to parth.vallab...@zalando.de, adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

Kindly note that I didn't receive any logs, so I request you to resend the logs as a .txt attachment for further investigation.

Parth Vallabhdas Makadiya

unread,
Jan 4, 2024, 7:44:38 PM1/4/24
to Google Ads API and AdWords API Forum
Hi, I have shared the necessary details please check and let me know. ( I have used replied to author feature. Let me know if you have got it or not )

Google Ads API Forum Advisor

unread,
Jan 5, 2024, 3:25:38 AM1/5/24
to parth.vallab...@zalando.de, adwor...@googlegroups.com
Hi Parth,

Thank you for providing the additional information.

We have received the API log files "gads-req-res.txt, general req.txt" and "DE_output_with_response_data_monthly(02.01.2024).xlsx" file. In order to assist you further, as requested in the earlier email, kindly provide us with the uncropped UI screenshot (from Google Ads account) of the report that you are trying to fetch via the Google Ads API. Also, highlight the discrepancy in the data. Kindly note that the Google Ads API mirrors the Google Ads UI.

You can send the details via Reply privately to the author option, or direct private reply to this email.

Parth Vallabhdas Makadiya

unread,
Jan 5, 2024, 3:48:43 AM1/5/24
to Google Ads API and AdWords API Forum
Hi,
Here is the UI spreadsheet required by you. Please have a look. I am getting data for the keyword from the google ads UI. (but in the response it was empty. This is just a small list but it happens with a lot of keywords. (around 1200 keyword out of 12000 keywords. (empty data)))

Thank you.
Keyword Stats 2024-01-05 at 09_24_03.xlsx

Google Ads API Forum Advisor

unread,
Jan 5, 2024, 9:15:29 AM1/5/24
to parth.vallab...@zalando.de, adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

Kindly note that UI spreadsheet that you have provided is not sufficient to investigate your issue. We required uncropped UI screenshot (from your Google Ads account with a visible CID) of the report that you are trying to fetch via the Google Ads API. Also, highlight the discrepancy in the data. Kindly note that the Google Ads API mirrors the Google Ads UI.
Reply all
Reply to author
Forward
0 new messages