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 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 via the AdGroupAdService 
> (you must provide Name, Dimensions and ImageData).  You can use 
> the adToCopyImageFrom field to copy an image from an existing field - but 
> you cannot specify a mediaId as I incorrectly stated previously.  I 
> apologize for the confusion.
>
> - Kevin Winter, AdWords API Team
>
> On Tuesday, May 1, 2012 7:04:38 AM UTC-4, [email protected] wrote:
>>
>> 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 wrote:
>>>
>>> Hi,
>>>   Yes, this is the correct way to do it.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Monday, April 30, 2012 11:03:21 AM UTC-4, [email protected] wrote:
>>>>
>>>> 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:53:36 PM UTC+3, Kevin Winter wrote:
>>>>>
>>>>> 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 the name and imageData fields 
>>>>> should only be sent to the MediaService, not with AdGroupAdService 
>>>>> requests.
>>>>>
>>>>> - Kevin Winter
>>>>> AdWords API Team
>>>>>
>>>>> On Monday, April 30, 2012 10:34:49 AM UTC-4, [email protected] wrote:
>>>>>>
>>>>>> 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,
>>>>>>>   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.ImageAd#adToCopyImageFrom
>>>>>>>
>>>>>>> If the image does not already exist, you will have to upload it at 
>>>>>>> least once with the MediaService.
>>>>>>>
>>>>>>> - Kevin Winter, AdWords API Team
>>>>>>>
>>>>>>> On Sunday, April 22, 2012 2:44:01 AM UTC-4, [email protected] wrote:
>>>>>>>>
>>>>>>>> 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.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to