Select adGroup count using AWQL

2014-07-29 Thread aitkul
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+

Test account deleted item limits

2014-07-09 Thread aitkul
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

Re: Reuse uploaded image from MediaService when creating TemplateAd (templateId=432)

2014-06-12 Thread 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

Re: Reuse uploaded image from MediaService when creating TemplateAd (templateId=432)

2014-06-11 Thread aitkul
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

Reuse uploaded image from MediaService when creating TemplateAd (templateId=432)

2014-06-10 Thread Chingiz Aitkul
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

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

2014-06-10 Thread Chingiz Aitkul
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

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

2014-06-06 Thread Chingiz Aitkul
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