Hello, 
It's my first time using google ads api and I'm a little lost with what we 
can and can't do. 
I want to use the google ads API in order to exclude automatically from the 
category "Where ads showed" some placements that met certain criteria. 

But in your documentation I can't see anything that can help me doing that. 

I tried this little script as a test  : 
function main() {
  removePlacement();
  
  function removePlacement() {
    var placementSelector = AdsApp.display().placements();
    
    var placementIterator = placementSelector.get();
    while (placementIterator.hasNext()) {
      var placement = placementIterator.next();
      var placementUrl = placement.getUrl();
      var campaign = placement.getCampaign();
      var regex = /[\u0600-\u06FF]/;
      var regexC = 
/[\u3040-\u30ff\u3400-\u4dbf\u4e00-\u9fff\uf900-\ufaff\uff66-\uff9f]/;
      if (placement.match(regex)) {
        Logger.log ("La campagne contient des emplacements avec des termes 
arabes")
      }
    }
}
}

Can you provide some more insights ? I thought it was because initially I 
was planning to use the google ads script and with Google Ads API I will 
have more possibilities. 

Thank you in advance ! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5ac8c676-6e4d-47da-b0b2-12538535c851n%40googlegroups.com.
  • Tr... Ataina00
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to