Cheers chap, I see where I didn't understand the documentation now I should fly through the rest.
On Nov 30, 4:33 pm, "Anash P. Oommen" <anash.p.oommen +fo...@google.com> wrote: > Hi, > > You can ignore Ad.Type. It is meant to help dynamic languages deserialize a > type correctly at runtime. You should specify xsi:type as TextAd at the ad > level instead. > Seehttp://code.google.com/apis/adwords/docs/reference/latest/AdGroupAdSe...for > details. Also see a reference xml below. > > <?xml version="1.0" encoding="utf-8"?> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <soap:Header> > <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201109"> > <authToken > xmlns="https://adwords.google.com/api/adwords/cm/v201109">******</authToken> > <developerToken > xmlns="https://adwords.google.com/api/adwords/cm/v201109">******</developerToken> > <clientCustomerId > xmlns="https://adwords.google.com/api/adwords/cm/v201109">******</clientCustomerId> > <userAgent > xmlns="https://adwords.google.com/api/adwords/cm/v201109">AwApi-DotNet-0.0.0|INSERT_YOUR_COMPANY_OR_APPLICATION_NAME_HERE</userAgent> > </RequestHeader> > </soap:Header> > <soap:Body> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201109"> > <operations> > <operator>ADD</operator> > <operand> > <adGroupId>2024941696</adGroupId> > <ad xsi:type="TextAd"> > <url>http://www.example.com</url> > <displayUrl>www.example.com</displayUrl> > <headline>Luxury Cruise to Mars</headline> > <description1>Visit the Red Planet in style.</description1> > <description2>Low-gravity fun for everyone!</description2> > </ad> > </operand> > </operations> > </mutate> > </soap:Body> > </soap:Envelope> > > Cheers, > Anash P. Oommen, > AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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