Re: Retrieve each campaigns geographic target

2022-03-13 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Scratch, Thank you for the reply. I am also a member of the Google Ads API team and let me provide support to your concern. I would like to inform you first that there is no sample implementation for the suggestion that I will mention. Moving forward, I would suggest using the geographic_vi

Re: Retrieve each campaigns geographic target

2022-03-13 Thread scratch27
Hi Nirmita, I have written the following query but I get a Call to Undefined Method... SELECT campaign.name FROM campaign_criterion WHERE campaign_criterion.proximity.address.country_code='FR' My sole and only question is how to get the country geographically targeted from a search campaign. I

Re: Retrieve each campaigns geographic target

2022-03-11 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Scratch, Thank you for reaching out to the Google Ads API support team. With regards to your concern, you can use campaign_criterion.proximity.address.country_code=FR. Let me know if you have any question. Thanks, Nirmita Google Ads API Team ref:_00D1U1174p._5004Q2XmRLE:ref -- -- =~=~=~

Re: Retrieve each campaigns geographic target

2022-03-11 Thread scratch27
Hi Aryeh, Going with your first query, how do you get the targeted country for the campaign please? I understood that we can get the country code like FR for France if France is targeted by this campaign? Thank a lot! Le jeudi 10 mars 2022 à 15:53:56 UTC+1, adsapi a écrit : > Hi Scratch, > >

Re: Retrieve each campaigns geographic target

2022-03-10 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Scratch, To get all your targeted and excluded geographic locations per campaign you can query "SELECT campaign.id, campaign_criterion.location.geo_target_constant, campaign_criterion.negative, campaign_criterion.type FROM campaign_criterion WHERE campaign_criterion.type = 'LOCATION'". The n

Re: Retrieve each campaigns geographic target

2022-03-09 Thread scratch27
Hi Jinky, Thank you for you help. How do I get the campaign name from the Geo Target Constant please? I can't get it in my query, could you write down the query please? Massive thanks! Le mercredi 9 mars 2022 à 16:32:04 UTC+1, adsapi a écrit : > Hi Scratch, > > Thank you for the replies. I wor

Re: Retrieve each campaigns geographic target

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Scratch, Thank you for the replies. I work with Darwin and allow me to provide support here. The geographic_view could not return the country ID in ISO format. The geographic_view.country_criterion_id will only return the criterion ID of specific geo based on this document. With this, if yo

Re: Retrieve each campaigns geographic target

2022-03-09 Thread scratch27
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 thi

Re: Retrieve each campaigns geographic target

2022-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
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

Re: Retrieve each campaigns geographic target

2022-03-08 Thread scratch27
Hi Nirmita, Thank you for your reply :) I have been to the page of the geographic view but I can't find out how to get the campaign name... I also checked on the Google ads query builder and in attributed resource fields I only see customer and can't find campaign name. Could you tell me whic

RE: Retrieve each campaigns geographic target

2022-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Scratch, Thank you for reaching out to the Google Ads API support team. With regards to your concern, you can use geographic_view report and you can pull fields from the r campaign reports in the "attributed resources”. Let me know if you have any question. Thanks, Nirmita Google Ads API T

Retrieve each campaigns geographic target

2022-03-08 Thread scratch27
Hi there, I would like to retrieve my search campaigns geographic targets. The one that they are targeting and with targeting type (person located in the area etc.) And the one that are excluded from the campaign. I tried to do it with the geographic_view but I am unable to get the campaign na