Re-posting the last inquiry (
https://groups.google.com/g/adwords-api/c/ZJPeynGQ-xM) from the forum as it 
wasn't routed to our support queue.

Regards,
Carmela
Google Ads API Team
On Friday, February 10, 2023 at 12:13:30 PM UTC+8 [email protected] wrote:

> Dear team,
>
> I can't retrieve geo targets, particularly:
>
>    - campaign_criterion.proximity.geo_point.latitude_in_micro_degrees
>    - campaign_criterion.proximity.geo_point.longitude_in_micro_degrees
>    - 
>    
> campaign_criterion.proximity.radius,campaign_criterion.proximity.radius_units
>
>
> I'm following these instructions: 
> https://developers.google.com/google-ads/api/docs/targeting/location-targeting
>
> I targeted a campaign for proximity to location and I can see the results 
> in the GoogleAds platform. However, the queries are not returning values.
>
> *QUERY 1: LOCATION_VIEW*
>
> SELECT 
> campaign_criterion.proximity.geo_point.latitude_in_micro_degrees,
> campaign_criterion.proximity.geo_point.longitude_in_micro_degrees,
>
> campaign_criterion.proximity.radius,campaign_criterion.proximity.radius_units,
> campaign_criterion.resource_name,
> campaign_criterion.status,
> campaign.id 
> FROM 
> location_view WHERE customer.id = <customer_id>
>
> *Result:*
> criterion_location: 0
>
> *QUERY 2:  campaign_criterion*
>
> It doesn't return all requested fields.
>
> SELECT
> campaign_criterion.campaign,
> campaign_criterion.location.geo_target_constant,
> campaign_criterion.proximity.geo_point.longitude_in_micro_degrees,
> campaign_criterion.proximity.geo_point.latitude_in_micro_degrees,
> campaign_criterion.proximity.radius,
> campaign_criterion.negative 
> FROM 
> campaign_criterion 
> WHERE campaign_criterion.campaign = 
> 'customers/<customer_id>/campaigns/<campaign_id>'  AND 
> campaign_criterion.type IN (LOCATION, PROXIMITY)
>
> *Result:*
>
> Request made: ClientCustomerId: <login_customer_id>, Host: 
> googleads.googleapis.com, Method: 
> /google.ads.googleads.v12.services.GoogleAdsService/SearchStream, 
> RequestId: 2f18imiTy5ddprSPpJuXRA, IsFault: True, FaultMessage: Invalid 
> customer ID <customer_id>
>
> Could you please help me to solve this?
>
> Thanks,
> Claudia.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19e64ecd-241d-45e0-b625-6e62e5dacfb1n%40googlegroups.com.
  • Re... Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to