Hi Jakeia, My understanding is that the segmentation can only retrieve campaign data from earlier period, but for search volume I need to create new campaign and ad groups. I am not sure how the old search volume can be retrieved through the segmentation?
Best, Xinyi On Tuesday, January 11, 2022 at 2:58:27 AM UTC+8 adsapi wrote: > Hello Xinyi, > > Thanks for reaching out to the Google Ads API support. MonthlySearchVolume > <https://developers.google.com/google-ads/api/reference/rpc/v9/MonthlySearchVolume> > > on the Google Ads API provides only the number of searches for the past > twelve months. Please refer to the attached documentation for further > details. However, you can use the segmentation > <https://developers.google.com/google-ads/api/docs/reporting/segmentation?hl=en> > > on the segments field to retrieve the records that are older than 12 > months. Sharing an example of segmentation below : > Example query: “SELECT campaign.name, metrics.clicks, segments.quarter, > segments.month > FROM campaign > WHERE segments.year > 2015 > AND segments.year < 2020” > Hope this helps, feel free to reply if you have any follow-up questions. > > Best regards, > [image: Google Logo] > Jakeia Sabrina > Google Ads API Team > > > ref:_00D1U1174p._5004Q2UiJmC: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 "Google Ads API and AdWords 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/ea0525be-0574-44ef-89e4-e1582f6f6ef7n%40googlegroups.com.