Hello Joe,
This thread is two years old and in fact Takeshi has moved to a different team by now. Please start a new thread on the forum, including your request and response code (please make sure to remove sensitive information such as developer token). Our team will follow up on the issue. -Danial, AdWords API Team. On Wednesday, June 24, 2015 at 11:36:08 AM UTC+2, Joe Heald wrote: > > Takeshi, > > I am experiencing very similar errors, which I cannot find an explanation > for in the API docs. Below are the errors I am receiving... > > AdError.AD_FORMAT_NOT_SPECIFIED @ operations[0].operand.ad.adFormat > AdError.INVALID_INPUT @ operations[0].operand.ad.ddFeeds > > I am trying to create a new AdGroupAd, of the TemplateAd type. However, I > am attempting to use a custom TemplateAd ID, 416. I have created the ad > template 416 manually in the adwords admin panel, but I would love to use > this template structure to create new ads through the API. Is this not > possible. If needed, I can post the full SOAP XML that I am attempting, and > post the full response that I am receiving. Thanks in advance for any help > you can offer. > > -Joe > > > > On Monday, September 2, 2013 at 8:52:57 AM UTC-4, Takeshi Hagikura > (AdWords API Team) wrote: > > Hi Sam, > > It's not the expected behavior. > The fix will be applied anytime soon. > > Best, > - Takeshi, AdWords API Team > > On Friday, August 23, 2013 1:41:17 AM UTC+9, Sam wrote: > > Hi Takeshi, > > If it is an expected behavior, I'd very much appreciate if you can provide > guidance on how/where to set the AD_FORMAT. Can't seem find it anywhere in > the API. > > Regards, > Sam > > On Wednesday, August 21, 2013 11:57:14 PM UTC-6, Takeshi Hagikura (AdWords > API Team) wrote: > > Hi, > > Thanks for the xml logs. > I'm confirming the behavior if it's expected. > I'll update the thread. > > Best, > - Takeshi, AdWords API Team > > On Monday, August 19, 2013 11:25:51 PM UTC+9, Sam wrote: > > Hi Takeshi, > > Following is the full request/response minus sensitive info. Thanks for > your help. > > <?xml version="1.0" encoding="UTF-8"?> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"> > <soapenv:Header> > <ns1:RequestHeader xmlns:ns1=" > https://adwords.google.com/api/adwords/cm/v201306" > soapenv:mustUnderstand="0"> > <ns1:authToken>XXX</ns1:authToken> > <ns1:clientCustomerId>XXX-XXX-XXXX</ns1:clientCustomerId> > <ns1:developerToken>XXX</ns1:developerToken> > <ns1:userAgent>user-XXX-XXX-XXXX (AwApi-Java, > AdWords-Axis/1.18.1, Common-Java/1.18.1, Axis/1.4, Java/1.7.0_21, > maven)</ns1:userAgent> > <ns1:validateOnly>false</ns1:validateOnly> > <ns1:partialFailure>false</ns1:partialFailure> > </ns1:RequestHeader> > </soapenv:Header> > <soapenv:Body> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201306"> > <operations> > <operator>ADD</operator> > <operand> > <adGroupId>1256204474</adGroupId> > <ad xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201306" xsi:type="ns2:TextAd"> > <ns2:url> > http://www.example.com/roadshow.html?source=XXX1&akw={keyword} > <http://www.example.com/roadshow.html?source=XXX1&akw=%7Bkeyword%7D> > </ns2:url> > <ns2:displayUrl>www.example.com</ns2:displayUrl> > <ns2:Ad.Type>TextAd</ns2:Ad.Type> > <ns2:headline>Implementing REACH & > GHS</ns2:headline> > <ns2:description1>Practical Guidance > Roadshow</ns2:description1> > <ns2:description2>Sponsored by: > Example</ns2:description2> > </ad> > <status>ENABLED</status> > <approvalStatus>FAMILY_SAFE</approvalStatus> > <trademarkDisapproved>true</trademarkDisapproved> > <stats> > <network>SEARCH</network> > <Stats.Type>AdStats</Stats.Type> > <percentServed>0.0</percentServed> > </stats> > </operand> > </operations> > <operations> > <operator>ADD</operator> > <operand> > <adGroupId>1256204474</adGroupId> > <ad xmlns:ns3=" > https://adwords.google.com/api/adwords/cm/v201306" > xsi:type="ns3:TemplateAd"> > <ns3:url> > http://www.example.com/roadshow.html?source=XXX2&akw={keyword} > <http://www.example.com/roadshow.html?source=XXX2&akw=%7Bkeyword%7D> > </ns3:url> > <ns3:displayUrl>www.example.com</ns3:displayUrl> > <ns3:Ad.Type>TemplateAd</ns3:Ad.Type> > <ns3:templateId>37</ns3:templateId> > <ns3:adUnionId xsi:type="ns3:TempAdUnionId"> > <ns3:id>129464</ns3:id> > </ns3:adUnionId> > <ns3:templateElements> > <ns3:uniqueName>adData</ns3:uniqueName> > <ns3:fields> > <ns3:name>adName</ns3:name> > <ns3:type>TEXT</ns3:type> > <ns3:fieldText>Roadshow > Flash</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>text1</ns3:name> > <ns3:type>TEXT</ns3:type> > <ns3:fieldText>Example > presents</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>text1Font</ns3:name> > <ns3:type>ENUM</ns3:type> > <ns3:fieldText>futurabc</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>color1</ns3:name> > <ns3:type>ENUM</ns3:type> > <ns3:fieldText>#ffff66</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>text2</ns3:name> > <ns3:type>TEXT</ns3:type> > <ns3:fieldText>,</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>text2Font</ns3:name> > <ns3:type>ENUM</ns3:type> > > <ns3:fieldText>franklingothic_h</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>color2</ns3:name> > <ns3:type>ENUM</ns3:type> > <ns3:fieldText>#000000</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>text3</ns3:name> > <ns3:type>TEXT</ns3:type> > <ns3:fieldText>.</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>text3Font</ns3:name> > <ns3:type>ENUM</ns3:type> > > <ns3:fieldText>franklingothic_h</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>color3</ns3:name> > <ns3:type>ENUM</ns3:type> > <ns3:fieldText>#ffcc00</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>logoUrl</ns3:name> > <ns3:type>IMAGE</ns3:type> > <ns3:fieldMedia xsi:type="ns3:Image"> > <ns3:type>IMAGE</ns3:type> > > <ns3:referenceId>-4745007012736836904</ns3:referenceId> > <ns3:dimensions> > <ns3:key>FULL</ns3:key> > <ns3:value> > <ns3:width>100</ns3:width> > <ns3:height>36</ns3:height> > </ns3:value> > </ns3:dimensions> > <ns3:urls> > <ns3:key>FULL</ns3:key> > <ns3:value> > https://tpc.googlesyndication.com/pageadimg/imgad?id=XXX</ns3:value> > </ns3:urls> > <ns3:Media.Type>Image</ns3:Media.Type> > </ns3:fieldMedia> > </ns3:fields> > <ns3:fields> > <ns3:name>clickText</ns3:name> > <ns3:type>TEXT</ns3:type> > <ns3:fieldText>REGISTER!</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>clickTextFont</ns3:name> > <ns3:type>ENUM</ns3:type> > <ns3:fieldText>futurabc</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>color7</ns3:name> > <ns3:type>ENUM</ns3:type> > <ns3:fieldText>#000000</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>color6</ns3:name> > <ns3:type>ENUM</ns3:type> > <ns3:fieldText>#FFCF11</ns3:fieldText> > </ns3:fields> > <ns3:fields> > <ns3:name>product1</ns3:name> > <ns3:type>IMAGE</ns3:type> > <ns3:fieldMedia xsi:type="ns3:Image"> > <ns3:type>IMAGE</ns3:type> > > <ns3:referenceId>-2898028189745287274</ns3:referenceId> > <ns3:dimensions> > <ns3:key>FULL</ns3:key> > <ns3:value> > <ns3:width>300</ns3:width> > <ns3:height>196</ns3:height> > </ns3:value> > </ns3:dimensions> > <ns3:urls> > <ns3:key>FULL</ns3:key> > <ns3:value> > https://tpc.googlesyndication.com/pageadimg/imgad?id=XXX</ns3:value> > </ > > ... -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/35b41970-1a4d-4d7f-9c7c-edab01b8227d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.