Sorry, typed wrong code im my post, what I tried was actually this:
*TemplateAd templateAd = new TemplateAd();*
*templateAd.setTemplateId(432L);*
*...*
*Image image = new Image();image.setMediaId(**351043323*
*);templateAd.setAdAsImage(image);*
On Tuesday, June 10, 2014 3:57:57 PM UTC+2, aitkul
e MediaService
> <https://developers.google.com/adwords/api/docs/reference/v201402/MediaService>
>
> is only meant for:
>
>- Upload new images for *location extensions*.
>- Get the IDs of *videos* you want to use in template ads.
>
> Cheers,
> Josh
Hello, I am working with a test account while implementing a software that
uses AdWords API. It is very useful during the development phase, as I can
be sure that no production data is affected.
Now, I would also like to run large integration tests on my test account
which will include many cam
Hello, is there a way to select the number of adGroups within a campaign
using one AWQL query? At the moment I query all adGroups and count them
iteratively, which takes really long for large campaigns.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+
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 an
gt; 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 ex
Hi there, I was able to create an Image TemplateAd (templateId=432) by
directly creating a new Image via
com.google.api.ads.common.lib.utils.Media.getMediaDataFromFile.
What I want to do now, is to reuse an Image I have previously uploaded via
MediaService by its mediaId.
When I do this:
*Tem