Your response does NOT address the problem.  After you set your geo 
locations on your campaign (which we have been doing for years), you need 
to be able to apply value rules to those locations.  That means there must 
be a way to specify a specific location that you want to apply a value rule 
to.  The geo_target_constants property of ValueRuleGeoLocationCondition 
seems like the logical place but it is a read only property.  Instead of 
posting a bunch of links to pages I have already read multiple times, how 
about you provide a code example of how to add a conversion value rule?

On Monday, August 14, 2023 at 6:29:56 PM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hi there,
>
> You may use *campaignCriterionService* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/CampaignCriterionService>
>  
> to set the location targeting as the CampaignCriterionService, 
> *AdGroupCriterionService* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/AdGroupCriterionService>,
>  
> and *CustomerNegativeCriterionService* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/CustomerNegativeCriterionService>
>  
> support targeting or excluding various types of criteria. 
>
> You may see following criteria: 
>
>    - *LocationInfo* 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v14/LocationInfo>
>    : 
>
> Named location targeting is implemented as *LocationInfo* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/LocationInfo> 
> and are created using a fixed set of criteria IDs. The available IDs are 
> listed in the *documentation* 
> <https://developers.google.com/google-ads/api/data/geotargets> and can be 
> individually searched for using the *GeoTargetConstantService* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/GeoTargetConstantService>.
>  
> These criteria can be configured as either positive or negative, with 
> negative targets overriding positive ones. By default a new campaign will 
> contain no location criteria, which means that all locations are targeted. 
> You may check more about *Named location targeting* 
> <https://developers.google.com/google-ads/api/docs/targeting/location-targeting#geo_target_campaigns_for_a_region>
> .
>
>    - *ProximityInfo* 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v14/ProximityInfo>
>    : 
>
> *Radius targets* 
> <https://support.google.com/google-ads/answer/1722043#radius> are 
> implemented as *ProximityInfo* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/ProximityInfo>
>  
> criteria. They can be created using either an address or 
> latitude/longitude, and by specifying a radius. They can only be configured 
> as positive, and by default a new campaign will not contain proximity 
> criteria. You may check more about *Radius targeting* 
> <https://developers.google.com/google-ads/api/docs/targeting/location-targeting#target_campaigns_for_proximity_to_a_location>
> .
>
>    - *LocationGroupInfo* 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v14/LocationGroupInfo>
>    : 
>
> A *LocationGroup* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/LocationGroupInfo>
>  
> lets campaigns target multiple geographic regions. These regions are 
> defined by a set of locations and a distance radius around each location in 
> either meters or miles. The set of locations is derived from the location 
> extensions for the campaign. You can optionally use a *Feed* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/Feed> to 
> define the set of locations. The targeting of these locations can be 
> filtered using a list of *geotargeting criteria IDs* 
> <https://developers.google.com/google-ads/api/data/geotargets>. You may 
> check more about *targeting multiple geographic regions* 
> <https://developers.google.com/google-ads/api/docs/targeting/location-targeting#target_multiple_geographic_regions>
> .
>
> Once you already have the targeting, then you may refer to the *location 
> targeting guide* 
> <https://developers.google.com/google-ads/api/docs/targeting/location-targeting#retrieve_geo_targets>
>  
> for how to retrieve location resource names. For more information, you may 
> see below links:
>
>    - 
>    
> https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionValueRule
>  
>    - 
>    
> https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionValueRule.ValueRuleGeoLocationCondition
>  
>
>
> Let us know if you have any questions. 
> 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/a2441424-16d9-4757-8f35-f7ab7b846316n%40googlegroups.com.
  • Ne... gator...@gmail.com
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... gator...@gmail.com
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... gator...@gmail.com
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... Veyis Ahsak
              • ... gator...@gmail.com
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... gator...@gmail.com
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... gator...@gmail.com
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... gator...@gmail.com

Reply via email to