Hi all,

*GenerateKeywordHistoricalMetricsRequest* has an adult parameter as follows:

*include_adult_keywords* 

bool

If true, adult keywords will be included in response. The default value is 
false.

I am seeing very odd API behavior when running Keyword Ideas or 
HistoricalMetrics queries. This is what happens:
Getting metrics for the word "porn" - with include_adult_keywords set to 
false*,* I am getting an empty response (expected). When the setting set to 
true, I am getting response with metrics (also expected). However, when I 
change the word to "porno" - that is where API providing empty response 
notwithstanding the adult setting.

Same happens with other adult words, such as "sexy girls".

But what's really odd is that keywords such as "girls" or "boys" alone, 
result in empty responses too (no matter whether adult is ON/OFF). (Then 
"girls clothes" works fine with al the metrics...?).

Please advise if this is expected behavior and why 'adult' setting is not 
respected and many words appear to be as shadow-banned ?

[2023-02-08T22:53:16.334647+00:00] google-ads.DEBUG: Request
-------
Method Name: 
/google.ads.googleads.v12.services.KeywordPlanIdeaService/GenerateKeywordHistoricalMetrics
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/8.1.2-1ubuntu2.10 gccl\/17.1.0 gapic\/17.1.0 
gax\/1.19.0 grpc\/1.51.1 rest\/1.19.0 pb\/3.21.12+c",
"x-goog-request-params": "customer_id=86******229",
"developer-token": "REDACTED"
}
Request:
{"customerId":"86*******229","keywords":["girls"],"language":"languageConstants/1000","includeAdultKeywords":true,"geoTargetConstants":["geoTargetConstants/2840"],"keywordPlanNetwork":"GOOGLE_SEARCH_AND_PARTNERS"}

Response
-------
Headers: {
"content-disposition": "attachment",
"request-id": "i005uYMaq2UToa6Ij5AIXg",
"date": "Wed, 08 Feb 2023 22:53:16 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
Response:
{"results":[{"text":"girls"}]}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c99a875e-5bb3-4f1c-bd27-ab482e242ac8n%40googlegroups.com.
  • Bu... Ksenya Arsenevna
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to