Hey Milind, As explained in the Question, I'm already using the 
ConversionTrackerService and fetching the google Event snippet.  The event 
snipped that I get from ConversionTrackerService is 
<script>
  gtag('event', 'conversion', {'send_to': 
'AW-123456789/P_1234_1234567890123'});
</script>
The response which I get from the API is different from the Conversion 
Snippet that is being shown in the conversions page of Adwords, which looks 
like
like<!-- Google Code for XXXXXXXXX Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 123456789;
var google_conversion_label = "P_1234_1234567890123";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.
com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.
googleadservices.com/pagead/conversion/123456789/?label=P_1234_1234567890123
&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
So what my question is that, Is there any way to get the conversion code 
which is similar to what is being shown in the Adwords conversion page 
through Adwords API or Is there any way to get the <noscript> code from the 
above snippet through Adwords API?


On Tuesday, 10 July 2018 01:12:16 UTC+5:30, Milind Sankeshware (AdWords API 
Team) wrote:
>
> Hi Krishna,
>
> In AdWords API, you can use ConversionTrackerService.get() 
> <https://developers.google.com/adwords/api/docs/reference/v201806/ConversionTrackerService#get>
>  to 
> get googleeventsnippet 
> <https://developers.google.com/adwords/api/docs/reference/v201806/ConversionTrackerService.AppConversion#googleeventsnippet>
>  field. 
> Please refer the Java sample code here 
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201806/remarketing/AddAudience.java#L172>.
>  
> The sample in other languages can be found here 
> <https://developers.google.com/adwords/api/docs/clientlibraries>. I hope 
> this will help you. If not, please elaborate your question so that I can 
> assist you in a better way.
>
> Thanks,
> Milind, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e2774112-9797-41a7-bc15-17179e9eea79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Krishna Kishore
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Krishna Kishore
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to