count($keywordPlanServiceClient->generateHistoricalMetrics($keywordPlanResource)->getMetrics()) < count($passedKeywords)
where each of $passedKeywords where passed to
new KeywordPlanAdGroupKeyword([
'text' => $passedKeyword,
'match_type' => KeywordMatchType::EXACT
'keyword_plan_ad_group' => $planAdGroupResource
]);
So I have two questions here:
1. Why getMetrics() does not yield the same amount of results as the amount of passed keywords?
2. I'm struggling with debugging at this moment: Say, I want to know which keywords are let out. Either for providing more information at this place or just to skip them, and let my customer know, that these particular keywords were not queried. How to do this, when although I have a keyword-id for every passed keyword I cannot match the returned metrics to them, because the KeywordPlanHistoricalMetrics object does not contain any keyword id.
Cheers and thanks in advance
Alex
|
||||||
Hi Alexander,
Thanks for confirming that you are able to already solve the problem using v10.1. Should you have additional clarifications with the APIs, you may open a new thread, and we'll be happy to assist you.
Regards,
|
||||||
|
||||||
|
||||||