Problem to push ad with trademark sign

19 views
Skip to first unread message

Alex Antonov

unread,
Jun 9, 2016, 2:42:51 PM6/9/16
to AdWords API Forum
Hello!

I faced kinda strange situtation. I'm rewriting working application to support batches, but it looks like I can't push the same ad to adwords.

There is ruby representation of what I'm pushing to BatchJobService:

[{:xsi_type=>"AdGroupOperation",
 
:operator=>"ADD",
 
:operand=>
   
{:xsi_type=>"AdGroup",
   
:campaign_id=>"608618095",
   
:name=>"The dealer name",
   
:id=>-1,
   
:bidding_strategy_configuration=>{:bids=>[{:xsi_type=>"CpcBid", :cpc_bid_source=>"CRITERION", :bid=>{:micro_amount=>5000000}}]}}},
 
{ big amount of valid ruby operations here - I checked them },
 
{:xsi_type=>"AdGroupAdOperation",
 
:operator=>"ADD",
 
:operand=>
   
{:xsi_type=>"AdGroupAd",
   
:ad_group_id=>-1,
   
:ad=>
     
{:xsi_type=>"TextAd", :id=>-4, :display_url=>"someurl.com", :final_urls=>["http://someurl.com"], :headline=>"BMW® (C)", :description1=>"Body1 3", :description2=>"Body2 3"}
 
}}]

The problem is with the last ad I want to add here: it looks it doesn't support ® sign (it's on headline of last operation). It successfully pushing to the server, but batch is always has AWAITING_FILE status. If I'm removing registered sign, everything is well.

The pushing worked fine when I used plain old pushing without batches.

Shwetha Vastrad (AdWords API Team)

unread,
Jun 9, 2016, 3:57:00 PM6/9/16
to AdWords API Forum
Hi Alex,

The AWAITING_FILE status of a BatchJob means that the service is still expecting more operations to be uploaded. You can indicate that this is the last request by setting the Content-Range HTTP header to the final total bytes. The add_keywords_using_incremental_batch_job Ruby example demonstrates how to use BatchJobService to upload keywords in bulk. You can modify this example to add Ads in bulk.

If you still see that the status is in AWAITING_FILE, please provide the SOAP XML request and response logs generated for this operation. Please use Reply privately to author when responding.

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages