Hi Darwin,

Thank you for you reply!

I'm sorry I can't figure out how to get for each campaign the targeted 
country location.

I select the campaign.name and the geographic_view.country_criterion_id 
from the geographic.view
But when I echo the country criterion Id in php I have int(2250) but this 
does not correspond to a country ID inthe ISO format

Could you specify how to get campaign name and associated targeted or 
excluded country please?

Thank you so much!

Le mercredi 9 mars 2022 à 06:06:31 UTC+1, adsapi a écrit :

> Hi Scratch,
>  
>
> Thanks for reaching out to the Google Ads API Support team.
>  
>
> Let me assist you in this concern, The Google Ads Query Language (GAQL) 
> can query the Google Ads API for resources and their related attributes, 
> segments, and metrics, also Google Ads Query Language queries demonstrate 
> how to return the same data as screens in the Google Ads UI.
>
>
> You can see the use of GAQL query in this documentation check this *link* 
> <https://developers.google.com/google-ads/api/docs/query/cookbook?hl=en#campaigns>
>  for 
> your references. To specifically answer your question, you can add the 
> campaign.name 
> <https://developers.google.com/google-ads/api/fields/v10/campaign#campaign.name>
>  in 
> the geographic_view 
> <https://developers.google.com/google-ads/api/fields/v10/geographic_view>
>  report.
>
>
> Let us know if you have any questions.
>
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2XmRLE:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8f34913f-a686-4664-8d91-c84b117c9a0an%40googlegroups.com.
  • Re... scratch27
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... scratch27
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... scratch27
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... scratch27
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... scratch27
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... scratch27
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to