I want to get the search volume data of multiple countries at once, but there seems to be no relevant description in Api. I pass in multiple locations in LocationSearchParams and only get one result. Can I get the grouped search volume of multiple locations?
在2021年7月1日星期四 UTC+8 上午12:59:19<adsapi> 写道: > Hello, > > This is demonstrated in the code sample > <https://developers.google.com/google-ads/api/docs/samples/add-keyword-plan>. > Specifically, the section: > > // Optional: Set additional criteria for filtering estimates. > // See > http://code.google.com/apis/adwords/docs/appendix/countrycodes.html > // for a detailed list of country codes. > // Set targeting criteria. Only locations and languages are > supported. > $unitedStates = new Location(); > $unitedStates->setId(2840); > > // See > http://code.google.com/apis/adwords/docs/appendix/languagecodes.html > // for a detailed list of language codes. > $english = new Language(); > $english->setId(1000); > > $campaignEstimateRequest->setCriteria([$unitedStates, $english]); > > As the language criterion is also optional, this can be removed if it is > not needed. > > > Regards, > Matt > Google Ads API Team > > [image: Google Logo] > Matt > Google Ads API Team > > > ref:_00D1U1174p._5004Q2IydlG:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d9ca8d4b-42fb-4ca4-82a7-527d5100cd20n%40googlegroups.com.