以前使用していたAdwordAPIからAdsAPIへ移行調査をしています。
AdwordAPIではTargetingIdeaServiceを使用していましたが AdsAPIではKeywordPlanIdeaServiceに変更するときに TargetingIdeaServiceで以下の設定をする場合、 KeywordPlanIdeaServiceではどのように設定するのでしょうか? *具体的なコードの例で教えて下さい。* - TargetingIdeaService $targetingIdeaService = new AdWordsServices()->get(SESSION, TargetingIdeaService::class); $selector = new TargetingIdeaSelector(); $selector->setRequestType(RequestType::STATS); $selector->setIdeaType(IdeaType::KEYWORD); $selector->setRequestedAttributeTypes([ AttributeType::KEYWORD_TEXT, AttributeType::SEARCH_VOLUME, AttributeType::COMPETITION, AttributeType::TARGETED_MONTHLY_SEARCHES]); // Create related to query search parameter. $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter(); $relatedToQuerySearchParameter->setQueries(['KEYWORD']); $searchParameters[] = $relatedToQuerySearchParameter; // 関連ワード「入力した語句を含む候補のみを表示」の設定 $ideatextfilterSearchParameter = new IdeaTextFilterSearchParameter(); $ideatextfilterSearchParameter->setIncluded(array($keyword)); $searchParameters[] = $ideatextfilterSearchParameter; // 関連ワード「アダルト関連の候補を表示」の設定 $includeadultcontentSearchParameter = new IncludeAdultContentSearchParameter (); $searchParameters[] = $includeadultcontentSearchParameter; $selector->setSearchParameters($searchParameters); $targetingIdeaService->get($selector); -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ed3edea4-b37d-4eba-b0d4-f32f21482aba%40googlegroups.com.