Tuesday, 5 April 2016

Creating Image Ad

Hello Google Ads API team,

I have a question related to Image Ads.

I am creating an image ad using Google API.  I am using the reference id that is a read only provided by Google as the media Id. 

But when I try to create an image ad I am getting "RangeError.TOO_LOW" error on media id when media id < 0.

1. Is it wrong to use reference id as media id ?
2. Should I still abs value of reference id as media id ?
3. Can I generate a random number and use that as the media id  or is there a another way ? 

Could you please help me with this question

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords 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+unsubscribe@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@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/81ef5be4-f056-4bb1-bca1-542f3ee951a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment