Re: How to create vertical in v201109

2012-03-22 Thread Sanjay Vel
I created the operation like this operations = [] operation << { :operator => 'ADD', :operand => { :xsi_type => 'NegativeCampaignCriterion', :campaign_id => campaignId, :criterion => { :xsi_type => 'Vertical', :id => 29, :path => ["Real Estate"] } } } Thi

How to download report from request url in v201109

2012-02-17 Thread Sanjay Vel
How to download a report using reportDefinitionService.downloadReport, which should return a csv values. Can anyone give me the ruby code for this scenario? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://gro

Re: How to update CampaignCriterion in v201109

2012-02-16 Thread Sanjay Vel
I wrote my update code like this. Is this code was right? I don't want to merge the criterions which takes more conditions to check rather than remove and add campaignCriterions. require 'rubygems' require 'adwords_api' API_VERSION = :v201109 adwords = AdwordsApi::Api.new campaign_criterion_srv

How to update CampaignCriterion in v201109

2012-02-14 Thread Sanjay Vel
I am trying to update the CampaignCriterion using the operation operation = { :operator => 'SET', :operand => { :xsi_type => 'NegativeCampaignCriterion', :campaign_id => campaign_id, :criterion => {:xsi_type => 'Gender', :id => 11} } } I am stuck with the following err

undefined method `module' for #

2011-12-30 Thread Sanjay Vel
I migrated to adwords version v201109. The line in my campaign.rb rtb = campaign_srv.module::RealTimeBiddingSetting.new causes the following error "NoMethodError: undefined method `module' for #" How to create new RealTimeBiddingSetting in this version? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: UNEXPECTED_INTERNAL_API_ERROR when adding RemarketingUserList

2011-12-27 Thread Sanjay Vel
Hi tony Have u found solutin for this problem? I am also getting the same error/ -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

UNEXPECTED_INTERNAL_API_ERROR when adding RemarketingUserList and ConversionType

2011-12-27 Thread Sanjay Vel
I am using google-adwords version v201101. When trying to insert the RemarketingUserList, I am getting the following error [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro] My UserListTest.java UserListC