I'm new to the ruby api and am trying to get the gender report to work for 
me

if I do this

  def get_report_definition_request(report_name, min_date, max_date)
     selector = {
        :fields => ['CampaignName', 'Clicks', 'Cost', 'Impressions'],
        :date_range => {
            :min => min_date.strftime('%Y%m%d'),
            :max => max_date.strftime('%Y%m%d')
        }
    }

    return {
        :selector => selector,
        :report_name => report_name,
        :report_type => "GENDER_PERFORMANCE_REPORT",
        :download_format => "XML",
        :date_range_type => "CUSTOM_DATE"
    }
  end

I get no gender info in the xml that comes back. If I try to put 'Gender' 
in the fields list I get an error that there is no Gender field for this 
report. What am I doing wrong here?


Thanks for any help

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4bfc3646-5c85-46c7-b054-60c6b088b532%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Get gender field from GEND... Michael Mastroianni

Reply via email to