Can you please provide an example of how to programmatically assign a value to geo_target_constants?
On Tuesday, August 15, 2023 at 3:14:11 PM UTC-4 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for coming back to us and providing your insights. I hope you > are doing well today. > > In relation to your concern, please code sample below for reference. > > Request ------- MethodName: > google.ads.googleads.v14.services.ConversionValueRuleService/MutateConversionValueRules > > Endpoint: *googleads.googleapis.com:443* > <http://googleads.googleapis.com:443/> Headers: > {developer-token=REDACTED, x-goog-api-client=gl-java/15.0.7 > gccl/25.0.1-SNAPSHOT gapic/25.0.1-SNAPSHOT gax/2.29.0 grpc/1.55.1} Body: > customer_id: "4985776047" operations { create { action { operation: > ADD value: 45.0 } geo_location_condition { geo_target_constants: > "geoTargetConstants/1014044" geo_match_type: ANY } } } validate_only: > true response_content_type: MUTABLE_RESOURCE partial_failure: true > > Response -------- Headers: > Metadata(content-disposition=attachment,content-type=application/grpc,request-id=1AB7zOJHHOrDg_RTPIaOuw,date=Tue, > > 15 Aug 2023 17:50:56 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; > ma=2592000) Body: Failure message: null Status: Status{code=OK, > description=null, cause=null}. > > I have raised a feature request for this to be available in the Google Ads > API documentation. This request is subject for review and for now, I would > suggest keeping an eye on our *blog post* ( > https://ads-developers.googleblog.com/) or *release notes* ( > https://developers.google.com/google-ads/api/docs/release-notes) for the > updates. > > I hope this will help you. Have a great day. > > This message is in relation to case "ref:_00D1U1174p._5004Q2nrBho: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/1a9d2517-7732-4f57-9470-99b510ab5e35n%40googlegroups.com.