Re: Can't set DYNAMIC_IMAGE MediaType when uploading animated GIF image via MediaService

2018-02-27 Thread Layne Shepherd
Yes, it works as expected when we upload with IMAGE.  

If you can't use VIDEO when uploading an actual video, then what MediaType 
do you use?  Documentation says it is required for an ADD operation using 
MediaService.upload.

On Tuesday, February 27, 2018 at 8:32:59 AM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> While I look into this, are your ads working as expected when you upload 
> the animated gifs as IMAGE?
>
> The MediaService 
> <https://developers.google.com/adwords/api/docs/reference/v201710/MediaService>
>  documentation 
> lists all media types, but some of those types are only supported in *get* or 
> *query* requests, such as *VIDEO*. It may be that *DYNAMIC_IMAGE* falls 
> into the read-only category as well. I'll find out if that's the case, and 
> if so, have our documentation updated accordingly.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, February 26, 2018 at 12:15:08 PM UTC-5, Layne Shepherd wrote:
>>
>> I'm uploading new images, inlining image data, and it still gets rejected 
>> when using DYNAMIC_IMAGE.  The only way I can upload is to use IMAGE for 
>> MediaType.  These were animated gifs, so I'm wondering what DYNAMIC_IMAGE 
>> is even used for (has it ever worked?) if I can't upload an animated gif to 
>> MediaService -- it certainly doesn't work as advertised in the API 
>> documentation.
>>
>> DYNAMIC_IMAGE Animated image, such as animated GIF.
>> IMAGE Static image; for image ad.
>> On Sunday, February 25, 2018 at 6:05:27 AM UTC-8, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> My other post 
>>> <https://groups.google.com/forum/#!msg/adwords-api/JW9EPgtuGek/xagyMMjFBWEJ>
>>>  from 
>>> around the same time sheds some light on this and suggests inlining the 
>>> image data instead of passing a *mediaId*. Have you tried that approach?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Thursday, February 22, 2018 at 6:47:24 PM UTC-5, Layne Shepherd wrote:
>>>>
>>>> I'm getting the same error, 3+ years later.  Would be nice if you guys 
>>>> posted the solution here instead of just let me take a look at your 
>>>> account 
>>>> with no information posted thereafter...
>>>>
>>>> On Wednesday, June 11, 2014 at 11:09:47 AM UTC-7, Josh Radcliff 
>>>> (AdWords API Team) wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Please see my reply to your other post 
>>>>> <https://groups.google.com/d/msg/adwords-api/JW9EPgtuGek/xagyMMjFBWEJ>. 
>>>>> Let's continue the discussion on that post if you have further questions.
>>>>>
>>>>> Cheers,
>>>>> Josh, AdWords API Team
>>>>>
>>>>> On Tuesday, June 10, 2014 9:35:36 AM UTC-4, Josh Radcliff (AdWords API 
>>>>> Team) wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Thanks for clarifying. At this point I think it would be best if I 
>>>>>> could look at your particular account. Could you send the following 
>>>>>> *only 
>>>>>> to me *by clicking *Reply to Author*?
>>>>>>
>>>>>> 1. Your customer ID
>>>>>> 2. The mediaIds of the images you've uploaded
>>>>>> 3. The image file you uploaded
>>>>>> 4. Any request/response logs that may be helpful
>>>>>>
>>>>>> Also, how do you ultimately want to use the image? In a template ad 
>>>>>> or in an image ad?
>>>>>>
>>>>>> Thanks,
>>>>>> Josh, AdWords API Team
>>>>>>
>>>>>> On Tuesday, June 10, 2014 9:29:50 AM UTC-4, Chingiz Aitkul wrote:
>>>>>>>
>>>>>>> Hi, yes I can create the ad using UI with the very same animated gif 
>>>>>>> Image.
>>>>>>>
>>>>>>> Actually I can upload the Image via MediaService, and get a 
>>>>>>> generated mediaId. The problem is that the Image media is not 
>>>>>>> retrievable 
>>>>>>> after that. On the other hand, when I upload a static GIF or JPEG 
>>>>>>> Image, it 
>>>>>>> is always retrievable via MediaService after that. The Java example 
>>>>>>> code from google sets the media type as MediaMediaType.IMAGE, before 
>>>>>>>

Re: Can't set DYNAMIC_IMAGE MediaType when uploading animated GIF image via MediaService

2018-02-26 Thread Layne Shepherd
I'm uploading new images, inlining image data, and it still gets rejected 
when using DYNAMIC_IMAGE.  The only way I can upload is to use IMAGE for 
MediaType.  These were animated gifs, so I'm wondering what DYNAMIC_IMAGE 
is even used for (has it ever worked?) if I can't upload an animated gif to 
MediaService -- it certainly doesn't work as advertised in the API 
documentation.

DYNAMIC_IMAGE Animated image, such as animated GIF.
IMAGE Static image; for image ad.
On Sunday, February 25, 2018 at 6:05:27 AM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> My other post 
> <https://groups.google.com/forum/#!msg/adwords-api/JW9EPgtuGek/xagyMMjFBWEJ> 
> from 
> around the same time sheds some light on this and suggests inlining the 
> image data instead of passing a *mediaId*. Have you tried that approach?
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, February 22, 2018 at 6:47:24 PM UTC-5, Layne Shepherd wrote:
>>
>> I'm getting the same error, 3+ years later.  Would be nice if you guys 
>> posted the solution here instead of just let me take a look at your account 
>> with no information posted thereafter...
>>
>> On Wednesday, June 11, 2014 at 11:09:47 AM UTC-7, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> Please see my reply to your other post 
>>> <https://groups.google.com/d/msg/adwords-api/JW9EPgtuGek/xagyMMjFBWEJ>. 
>>> Let's continue the discussion on that post if you have further questions.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, June 10, 2014 9:35:36 AM UTC-4, Josh Radcliff (AdWords API 
>>> Team) wrote:
>>>>
>>>> Hi,
>>>>
>>>> Thanks for clarifying. At this point I think it would be best if I 
>>>> could look at your particular account. Could you send the following *only 
>>>> to me *by clicking *Reply to Author*?
>>>>
>>>> 1. Your customer ID
>>>> 2. The mediaIds of the images you've uploaded
>>>> 3. The image file you uploaded
>>>> 4. Any request/response logs that may be helpful
>>>>
>>>> Also, how do you ultimately want to use the image? In a template ad or 
>>>> in an image ad?
>>>>
>>>> Thanks,
>>>> Josh, AdWords API Team
>>>>
>>>> On Tuesday, June 10, 2014 9:29:50 AM UTC-4, Chingiz Aitkul wrote:
>>>>>
>>>>> Hi, yes I can create the ad using UI with the very same animated gif 
>>>>> Image.
>>>>>
>>>>> Actually I can upload the Image via MediaService, and get a generated 
>>>>> mediaId. The problem is that the Image media is not retrievable after 
>>>>> that. 
>>>>> On the other hand, when I upload a static GIF or JPEG Image, it is always 
>>>>> retrievable via MediaService after that. The Java example code from 
>>>>> google sets the media type as MediaMediaType.IMAGE, before uploading via 
>>>>> MediaService, so I tried to set MediaMediaType.DYNAMIC_IMAGE instead, 
>>>>> which 
>>>>> generated an error I posted above.
>>>>>
>>>>> The question is, why does MediaService reply with ok when I upload an 
>>>>> animated GIF Image by specifying media type IMAGE, but then somehow 
>>>>> "forget" it? If it is media type DYNAMIC_IMAGE, i should use when 
>>>>> uploading 
>>>>> animated GIFs, why do I get error from MediaService?
>>>>>
>>>>>
>>>>> On Monday, June 9, 2014 8:26:32 PM UTC+2, Josh Radcliff (AdWords API 
>>>>> Team) wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> The UI supports a wide variety of ads, but the API may not 
>>>>>> necessarily support every one of these formats. As a starting point, 
>>>>>> have 
>>>>>> you tried creating the ad through the UI using the image in question? If 
>>>>>> the UI won't create the ad, then the API will not either.
>>>>>>
>>>>>> Also, the MediaService is meant for usage with template ads 
>>>>>> <https://developers.google.com/adwords/api/docs/appendix/templateads>, 
>>>>>> which does *not* include ImageAd 
>>>>>> <https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupAdService.ImageAd>s.
>>>>>>  
>>>>>> If you want to create an *Im

Re: Can't set DYNAMIC_IMAGE MediaType when uploading animated GIF image via MediaService

2018-02-22 Thread Layne Shepherd
I'm getting the same error, 3+ years later.  Would be nice if you guys 
posted the solution here instead of just let me take a look at your account 
with no information posted thereafter...

On Wednesday, June 11, 2014 at 11:09:47 AM UTC-7, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> Please see my reply to your other post 
> . 
> Let's continue the discussion on that post if you have further questions.
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, June 10, 2014 9:35:36 AM UTC-4, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> Thanks for clarifying. At this point I think it would be best if I could 
>> look at your particular account. Could you send the following *only to 
>> me *by clicking *Reply to Author*?
>>
>> 1. Your customer ID
>> 2. The mediaIds of the images you've uploaded
>> 3. The image file you uploaded
>> 4. Any request/response logs that may be helpful
>>
>> Also, how do you ultimately want to use the image? In a template ad or in 
>> an image ad?
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, June 10, 2014 9:29:50 AM UTC-4, Chingiz Aitkul wrote:
>>>
>>> Hi, yes I can create the ad using UI with the very same animated gif 
>>> Image.
>>>
>>> Actually I can upload the Image via MediaService, and get a generated 
>>> mediaId. The problem is that the Image media is not retrievable after that. 
>>> On the other hand, when I upload a static GIF or JPEG Image, it is always 
>>> retrievable via MediaService after that. The Java example code from 
>>> google sets the media type as MediaMediaType.IMAGE, before uploading via 
>>> MediaService, so I tried to set MediaMediaType.DYNAMIC_IMAGE instead, which 
>>> generated an error I posted above.
>>>
>>> The question is, why does MediaService reply with ok when I upload an 
>>> animated GIF Image by specifying media type IMAGE, but then somehow 
>>> "forget" it? If it is media type DYNAMIC_IMAGE, i should use when uploading 
>>> animated GIFs, why do I get error from MediaService?
>>>
>>>
>>> On Monday, June 9, 2014 8:26:32 PM UTC+2, Josh Radcliff (AdWords API 
>>> Team) wrote:
>>>
 Hi,

 The UI supports a wide variety of ads, but the API may not necessarily 
 support every one of these formats. As a starting point, have you tried 
 creating the ad through the UI using the image in question? If the UI 
 won't 
 create the ad, then the API will not either.

 Also, the MediaService is meant for usage with template ads 
 , 
 which does *not* include ImageAd 
 s.
  
 If you want to create an *ImageAd* you'll have to skip *MediaService* 
 altogether and pass the image data directly on the ImageAd.image.data 
 
  field in 
 your *AdGroupAdService* request.

 Cheers,
 Josh, AdWords API Team

 On Friday, June 6, 2014 12:08:42 PM UTC-4, Chingiz Aitkul wrote:
>
> Hi there, I am trying to upload an animated GIF Image via upload() 
> method of MediaService using example code provided with Java library for 
> AdWords API. When I upload a static GIF or JPEG file it works ok.
>
> When I try to upload an animated GIF Image, the Service replies with a 
> MediaID without any errors, but when I query for all available media 
> files, 
> I don't recieve any entries for the animated GIF Images, only the static 
> Image Uploads I retrieved.
>
> I noticed that in the example code 
> (adwords.axis.v201402.misc.UploadImage.java) the MediaType of the Image 
> is 
> set before uploading to MediaMediaType,IMAGE. So I Change it to 
> MediaMediaType.DYNAMIC_IMAGE, and when I do so, I get the following error.
>
> Could you please advice, if this is a bug or I am doing something 
> wrong here?
>
> *http://schemas.xmlsoap.org/soap/envelope/* 
> 
>
> *">https://adwords.google.com/api/adwords/cm/v201402* 
> 
>
>
>
>
>
>
>
>
>
>
>
>
> *">
> 0004fb2cc9f931980ae06184c4000fa2
> MediaService
> upload
> 1
> 600
> 
> soap:Server
> [MediaError.UNSUPPORTED_OPERATION @ 
> media[0].type]
> https://adwords.google.com/api/adwords/cm/v201402* 
> 
>
>
> *">[MediaError.UNSUPPORTED_OPERATION @ 
> media[0].type]
> 

Re: Translations of Verticals?

2017-11-20 Thread Layne Shepherd
Sreelakshmi,

Thanks for your response.  That was exactly what I was looking for.  I had 
tried that earlier but was comparing the results to the csv here (
https://developers.google.com/adwords/api/docs/appendix/affinity_categories.csv)
 
(which appears to be outdated) and not to the list of affinity categories 
in the adwords UI.

On Monday, November 20, 2017 at 11:27:35 AM UTC-8, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Layne, 
>
> You can use the userInterestTaxonomyType 
> 
>  : 
> BRAND to get the Affinity categories 
> 
>  via 
> API.
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+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 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/325266ac-b055-4959-8157-08f89c5421b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Translations of Verticals?

2017-11-20 Thread Layne Shepherd
Unfortunately, ConstantDataService.getUserInterestCriterion does not return 
affinity categories.  How can i retrieve affinity categories 
programmatically via the API?

On Wednesday, September 20, 2017 at 7:51:54 AM UTC-7, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi, 
>
> Criteria with the prefix "uservertical" are of type CriterionUserInterest 
> .
>  To 
> get more details for each identifier, you need to use either of the 
> following:
>
>- The Affinity categories 
>
> 
> and In-market categories 
>
> 
> documentation.
>- ConstantDataService.getUserInterestCriterion 
>
> 
>  with 
>userInterestTaxonomyType = IN_MARKET.
>
> I'm afraid both the options will provide data in English only. You'll need 
> to use a translation tool to get categories in Chinese. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+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 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/b6b3399e-21f4-4aea-bf87-0f18f9ac98ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Translations of Verticals?

2017-11-20 Thread Layne Shepherd
Unfortunately, ConstantDataService.getUserInterestCriterion does not return 
affinity categories.  How can i retrieve affinity categories 
programmatically via the API?

On Wednesday, September 20, 2017 at 7:51:54 AM UTC-7, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi, 
>
> Criteria with the prefix "uservertical" are of type CriterionUserInterest 
> .
>  To 
> get more details for each identifier, you need to use either of the 
> following:
>
>- The Affinity categories 
>
> 
> and In-market categories 
>
> 
> documentation.
>- ConstantDataService.getUserInterestCriterion 
>
> 
>  with 
>userInterestTaxonomyType = IN_MARKET.
>
> I'm afraid both the options will provide data in English only. You'll need 
> to use a translation tool to get categories in Chinese. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+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 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/1e2d2465-8cbd-445d-b159-4f99313d8904%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.