Re: calltoactiontypeenum missing
Hi, Thank you for getting back to us. Kindly note that, instead of using the deprecated ExplorerAutoOptimizerSetting class, which is deprecated in V12 itself, you can achieve the same functionality by utilizing the ad_group.optimized_targeting_enabled property from the ad_group resource. This property allows you to enable optimized targeting settings, providing the equivalent service as the deprecated class. I would recommend you check Deprecation and sunset to know more about deprecation and Sunset dates for each available version. Also, please check out Upgrade to the latest version documentation to upgrade and release notes of new features and updates that were introduced in the V15 Google Ads API. If the issue persists, please provide the complete API logs (request and response with request-id and request header) generated at your end to better assist you. If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag. This message is in relation to case "ref:!00D1U01174p.!5004Q02qBx9z:ref" Thanks, 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/pf-XL0S4ABHL00Uj3dkdKtSx-PsfITQmpGMw%40sfdc.net.
Re: calltoactiontypeenum missing
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.
CallToActionTypeEnum missing
Hello, I'm using API v14 (google-ads-stubs-v14-26.0.0) and faced exception caused by missing enum constants of VISIT_SITE and WATCH_NOW. I went thru the docs and saw that these value are supported in google-ads-stubs-v14-*27*.0.0. I tried to migrate to google-ads-stubs-v14-*27*.0.0 but there is another conflict where an imported class seems to be unsupported on the newer version: com.google.ads.googleads.v12.common.ExplorerAutoOptimizerSetting How can I have access to both VISIT_SITE and WATCH_NOW enum values of CallToActionTypeEnum and also be able to use ExplorerAutoOptimizerSetting class? Thanks Dan https://developers.google.com/google-ads/api/fields/v14/asset#asset.call_to_action_asset.call_to_action:~:text=False-,asset.call_to_action_asset.call_to_action,-Field%20description -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/865048ab-06b5-4995-abd2-626f032013c7n%40googlegroups.com.