Hello everyone, I'm migrating from MutateJobService to BatchJobService and to get started am experimenting with a test account and a script derived from v201601\CampaignManagement\AddKeywordsUsingIncrementalBatchJob.php
I can add batches of *Keywords* and *Negative Keywords* no problem. However when I attempt to add a batch of TextAds I'm being returned the following error, which would indicate an issue with the input file <https://developers.google.com/adwords/api/docs/reference/v201601/BatchJobService.BatchJobProcessingError#trigger> . Processing error [0]: errorType=BatchJobProcessingError, trigger=, errorString=BatchJobProcessingError.FILE_FORMAT_ERROR, fieldPath=, reason= FILE_FORMAT_ERROR I'm building my TextAd in the usual fashion, *but I don't know what I'm doing to disturb the file formatting*. I've output the upload request created in BatchJobUtils.php (see below - XML Opened up for viewing purposes) but can't see anything wrong with the XML Formatting. Any help would be appreciated. Many thanks array (size=3) 'headers' => array (size=3) 'Content-Type' => string 'application/xml' (length=15) 'Content-Length' => int 1120 'Content-Range' => string 'bytes 0-1119/1120' (length=17) 'body' => string '<?xml version="1.0" encoding="UTF-8"?> <ns1:mutate xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201601"> <operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:AdGroupCriterionOperation"> <operand xsi:type="ns1:AdGroupAd"> <adGroupId>***</adGroupId> <ad xsi:type="ns1:TextAd"> <headline>Mars570b5c9b812a4-0</headline> <description1>Visit the Red Planet.</description1> <description2>Low-gravity fun!</description2> <displayUrl>www.example.com</displayUrl> <finalUrls>http://www.example.com</finalUrls> </ad> <status>ENABLED</status> </operand> <operator>ADD</operator> </operations> <operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:AdGroupCriterionOperation"> <operand xsi:type="ns1:AdGroupAd"> <adGroupId>***</adGroupId> <ad xsi:type="ns1:TextAd"> <headline>Mars570b5c9b812a4-1</headline> <description1>Visit the Red Planet.</description1> <description2>Low-gravity fun!</description2> <displayUrl>www.example.com</displayUrl> <finalUrls>http://www.example.com</finalUrls> </ad> <status>ENABLED</status> </operand> <operator>ADD</operator> </operations> </ns1:mutate>' (length=1120) 'length' => int 1120 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/e6ff8aa7-f3de-46da-b807-3d55bd08b9ac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
