If I upgrade the API version to v15, would it solve my problem? On Wednesday, November 15, 2023 at 12:51:05 PM UTC+7 Google Ads API Forum Advisor wrote:
> Hi Dan, > > Thank you for reaching out to the Google Ads API support team. > > Please find the response below for your query: > > How can I have access to both VISIT_SITE and WATCH_NOW enum values of > CallToActionTypeEnum and also be able to use the > ExplorerAutoOptimizerSetting class? > > To access both VISIT_SITE and WATCH_NOW enum values, you can either > downgrade the version of the Google Ads API client library that you are > using or use a different version of the library that includes both features. > > Option 1: Downgrade the Google Ads API client library > > You can downgrade the version of the Google Ads API client library that > you are using to 14.26.0.0. This version of the library includes the > ExplorerAutoOptimizerSetting class and does not require you to use the > VISIT_SITE and WATCH_NOW enum values. > > Option 2: Use a different version of the Google Ads API client library > > You can use a different version of the Google Ads API client library that > includes both the VISIT_SITE and WATCH_NOW enum values and the > ExplorerAutoOptimizerSetting class. This version of the library is > currently in development, but it is expected to be released soon. > > I hope this helps. Kindly get back to us if you have any further queries. > > This message is in relation to case "ref:!00D1U01174p.!5004Q02qBx9z:ref" > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/84549ae2-c574-48cf-abf2-4e721aaf7bf4n%40googlegroups.com.