Hi, You are correct, using the API only you can't upload new images or icons. Unfortunately the ID's of the standard icons aren't available, but if you convert an existing LBA to a location extension you should be able to read this field with the API and determine the value.
Best, - Eric On Jan 18, 4:12 am, veseo <hernicet...@gmail.com> wrote: > Hi, > > so, using only the API, we could not use iconMediaId and imageMediaId? > Do these fields accept null values, because the documentation says it > expects xsd:long but, at least the sandbox, accepts strings too? Can > we use some default icons, like these from the LBA businessImage and > if yes - where can I get the list of the ids (I guess it's not > Standart_1 to _17 like LBA, as the documentation says it's expecting > xsd:long)? > > On Jan 15, 5:04 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > Hi, > > > To address your questions: > > > 1) Location extensions in v2009 support custom icons that are uploaded > > to the AdWords server, referred to by these IDs. Unfortunately the > > API doesn't yet support the ability to upload these images, and it > > currently must be done through the AdWords web interface. > > 2) Same as above, correlating to the LBA businessImage field. > > 3) A CampaignAdExtension is for adding LocationExtensions at the > > campaign level, which will apply to all ads within the campaign. The > > AdExtensionOverrideService is for assigning a specific > > LocationExtension to be used exclusively for an ad. More information > > on these services and how to use them can be found on the AdWords API > > Blog: > > > http://adwordsapi.blogspot.com/2009/12/discover-v2009-location-extens... > > > Best, > > - Eric Koleda, AdWords API Team > > > On Jan 14, 4:37 am, veseo <hernicet...@gmail.com> wrote: > > > > Any help, please? > > > > On Jan 12, 6:18 pm, veseo <hernicet...@gmail.com> wrote: > > > > > Hello, > > > > > I am implementing the CampaignAdExtensionService and got to the point > > > > where I must send the LocationExtension object, where I ran into some > > > > problems: > > > > > 1) What is the iconMediaId field? I would guess that uses the same > > > > icons from LocalBusinessAds (v13 > > > > -http://code.google.com/apis/adwords/docs/developer/LocalBusinessAd.html > > > > ) but there the values are strings (Standart_1 to _17), while > > > > LocationExtension expects xsd:long? What are the possible values? > > > > 2) Similar question - what is the imageMediaId field? The > > > > documentation says nothing specific about it. > > > > 3) What is the difference between CampaignAdExtensionService and > > > > AdExtensionOverrideService ? > > > > > P.S. I am shocked how unclear and, honestly, unfinished is the v2009 > > > > documentation, especially compared to the nearly perfect v13 (and > > > > below) ones. This, combined with the total rework of the API and the > > > > close deadline (you stop v13 support somewhere in April 2010, right?) > > > > makes everything a small nightmare. I am sure I am not alone in > > > > that... > > > > > Thanks in advance for the information.
-- 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-...@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.