Re: using the media service to avoid upload image for every image ad

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi, This thread seems to be outdated. Can you please start the new thread? Please separate your code into two parts, uploading an image and making a image ad. Please narrow down the issue by following the image uploading example

Re: using the media service to avoid upload image for every image ad

2013-11-08 Thread sandboxe2
Hi, I am struggling with this error... Please help out .. I have created below custom function to push image ads ... but getting error : [NullError.NULL_CONTENT @ operations[0].operand.ad.image.data] function AddImageAdsExample(AdWordsUser $user, $adGroupId) { $mediaService = $user->GetS

Re: using the media service to avoid upload image for every image ad

2012-05-01 Thread u...@taykey.com
Hi Kevin! Thank you very much, You were very helpful, now i know for sure that i dont need to use the media service for image ad :) Udy On Tuesday, May 1, 2012 9:27:23 PM UTC+3, Kevin Winter wrote: > > Hi, > Sorry about that, I was mistaken. The MediaService will only return > back entries

Re: using the media service to avoid upload image for every image ad

2012-05-01 Thread Kevin Winter
Hi, Sorry about that, I was mistaken. The MediaService will only return back entries for items uploaded via itself, which can be used in TemplateAds. When an image gets uploaded via a AdGroupAd operation, it is not visible via the MediaService. The converse is that you must upload an image v

Re: using the media service to avoid upload image for every image ad

2012-05-01 Thread u...@taykey.com
Hi Kevin, I tried to do it according to that way, however: i got an error: NullError.NULL_CONTENT @ operations[0].operand.ad.image.data this error got when trying to add the AdGroupAd p.s - im using the sandbox with the java client On Monday, April 30, 2012 10:41:32 PM UTC+3, Kevin Winter wr

Re: using the media service to avoid upload image for every image ad

2012-04-30 Thread u...@taykey.com
ok, so to make sure i underestand upload an image using the media service - got an media id of this image. then when creating a new adGroupAd, set the adGroupAd -> imageAd -> image -> mediaId with the received media id of the uploaded image got it ? 10x again :) On Monday, April 30, 2012 5:

Re: using the media service to avoid upload image for every image ad

2012-04-30 Thread Kevin Winter
Hi, When you send the ImageAd object to the AdWords API, you can populate the image field ( https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService.Image) and just specify the mediaId as returned by the MediaService. Most of the rest of the fields are readonly, and t

Re: using the media service to avoid upload image for every image ad

2012-04-30 Thread u...@taykey.com
Hi Kevin, thank you very much for your replay i know aobut the adToCopyImageFrom field. i wanted to know about the media service, once i upload an image with the media service, how then can i use this imgae ? 10x ! udy On Monday, April 30, 2012 5:08:06 PM UTC+3, Kevin Winter wrote: > > Hi, > A

Re: using the media service to avoid upload image for every image ad

2012-04-30 Thread Kevin Winter
Hi, Actually, the AdGroupAdService makes this easier if another Ad already has the image you wish. You can use the adToCopyImageFrom field of the ImageAd object to tell it to reuse the Image of an existing ad: https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService.Ima

using the media service to avoid upload image for every image ad

2012-04-21 Thread u...@taykey.com
hi, is the media service can be used in such way that when creating an image ad we wont need to tupload an image every time ? thanx in advnace! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.googl