The documentation is slightly cryptic when it comes to this field and there 
are no examples available anywhere. I've used the MediaService to upload an 
image to AdWords, I got a mediaId  back, I now want to "bind it" to an ad. 
With a text ad I used to send the following ADD operation:

{
    'operator': 'ADD',
    'operand': {
        'xsi_type': 'AdGroupAd',
        'adGroupId': arg['adgroup_id'],
        'ad': {
            'xsi_type': 'TextAd',
            'finalUrls': [arg['final_url']],
            'displayUrl': arg['display_url'],
            'description1': arg['description1'],
            'description2': arg['description2'],
            'headline': arg['headline']
        },
        'status': 'ENABLED'
    }
}

What do I send if I want to use the uploaded image with an ad? Specifically 
the "Image" field is a bit uncertain.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae98c9ad-f60a-4b5d-8f86-9af9688ac7c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • What should I s... Farid el Nasire
    • Re: What s... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to