Hi all,

I would like to imitate the below client script behavior using Google Ads 
API.

   1. is that possible in general using Google Ads API?
   2. if yes, can you please provide me some pointers to examples on how to 
   achieve that or references to java classes involved (I'll use the Java 
   library to integrate with GAM API)

Thank you in advance for your time!

*client script*:
<!-- Start GPT Tag -->
<script async 
src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'></script>
<script>
  window.googletag = window.googletag || {cmd: []};
  googletag.cmd.push(function() {
    googletag.defineSlot('/network_id/ad_unit_code', size, div_id)
             .setTargeting('target1_key', 'target1_value')            
             .addService(googletag.pubads());
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
  });
</script>
<!-- End GPT Tag -->

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e37d30c-7dd7-461c-af24-ee44e4243aben%40googlegroups.com.
  • Ge... Dimitris Karaiskos
    • ... Sharjeel Aslam
    • ... Shweta Suthar
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to