Hi all,

I'm getting ad error response AD_FORMAT_NOT_SPECIFIED trying to add a 
TemplateAd. The currrent implementation was working before but suddenly 
stopped working.

Request:
<operations>
    <operator>ADD</operator>
    <operand>
        <adGroupId>7795861716</adGroupId>
        <ad xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201306"; 
xsi:type="ns2:TemplateAd">
            
<ns2:url>http://www.ivntest.com?v=1&amp;source=3D7097CC&amp;akw={keyword}</ns2:url>
            <ns2:displayUrl>www.ivntest.com</ns2:displayUrl>
            <ns2:Ad.Type>TemplateAd</ns2:Ad.Type>
            <ns2:templateId>277</ns2:templateId>
            <ns2:adUnionId xsi:type="ns2:TempAdUnionId">
                <ns2:id>68449356</ns2:id>
            </ns2:adUnionId>
            <ns2:templateElements>
                <ns2:uniqueName>adData</ns2:uniqueName>
                <ns2:fields>
                    <ns2:name>creationContext</ns2:name>
                    <ns2:type>TEXT</ns2:type>
                    
<ns2:fieldText>WORKFLOW:DEFAULT,TEMPLATE_SOURCE:BROWSING_CONTENT_PAGE</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>backgroundColor</ns2:name>
                    <ns2:type>ENUM</ns2:type>
                    <ns2:fieldText>#ffffff</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_IMAGE_0_Z</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>1</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_TEXT_0_Height</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>25</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_TEXT_0_Width</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>120</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_TEXT_0_Z</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>2</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_TEXT_0_TextSize</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>20</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_TEXT_0_TextColor</ns2:name>
                    <ns2:type>ENUM</ns2:type>
                    <ns2:fieldText>#000000</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_TEXT_0_TextFont</ns2:name>
                    <ns2:type>ENUM</ns2:type>
                    <ns2:fieldText>arialuni</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_TEXT_0_Text</ns2:name>
                    <ns2:type>TEXT</ns2:type>
                    <ns2:fieldText>My Template Ad2</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_Height</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>30</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_Width</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>100</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_Z</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>3</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_TextSize</ns2:name>
                    <ns2:type>NUMBER</ns2:type>
                    <ns2:fieldText>18</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_ButtonColor</ns2:name>
                    <ns2:type>ENUM</ns2:type>
                    <ns2:fieldText>#000000</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_TextColor</ns2:name>
                    <ns2:type>ENUM</ns2:type>
                    <ns2:fieldText>#ffffff</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_TextFont</ns2:name>
                    <ns2:type>ENUM</ns2:type>
                    <ns2:fieldText>arialuni</ns2:fieldText>
                </ns2:fields>
                <ns2:fields>
                    <ns2:name>CUSTOM_BUTTON_0_Text</ns2:name>
                    <ns2:type>TEXT</ns2:type>
                    <ns2:fieldText>My link</ns2:fieldText>
                </ns2:fields>
            </ns2:templateElements>
            <ns2:dimensions>
                <ns2:width>468</ns2:width>
                <ns2:height>60</ns2:height>
            </ns2:dimensions>
            <ns2:name>First Template Ad</ns2:name>
        </ad>
        <status>ENABLED</status>
        <approvalStatus>DISAPPROVED</approvalStatus>
        <trademarkDisapproved>true</trademarkDisapproved>
        <stats>
            <network>SEARCH</network>
            <Stats.Type>AdStats</Stats.Type>
            <percentServed>0.0</percentServed>
        </stats>
    </operand>
</operations>

Response:
<soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[0].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[1].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[2].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[3].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[4].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[5].operand.ad.adFormat]</faultstring>
            <detail>
                <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>
                    <message>[AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[0].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[1].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[2].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[3].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[4].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
operations[5].operand.ad.adFormat]</message>
                    
<ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="AdError">
                        
<fieldPath>operations[0].operand.ad.adFormat</fieldPath>
                        <trigger/>
                        
<errorString>AdError.AD_FORMAT_NOT_SPECIFIED</errorString>
                        <ApiError.Type>AdError</ApiError.Type>
                    </errors>
                    ...

I updated to 201306 but no results.

Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to