Age Range sample data

394 views
Skip to first unread message

Justin Coon

unread,
Aug 24, 2014, 11:26:12 AM8/24/14
to adwor...@googlegroups.com
Hi,

I'm using a test/non-production token and trying to get sample report data. Obviously this is futile since there's no real activity to report off of in my test account. Can anyone be so kind as to provide some sample XML that comes back from the Age Range and Gender sample reports? I want to see what it looks like when aggregated by the age ranges and genders. 

Thanks!
Justin

Josh Radcliff (AdWords API Team)

unread,
Aug 25, 2014, 9:48:33 AM8/25/14
to adwor...@googlegroups.com
Hi Justin,

Even though your test account isn't serving ads, you can still get reporting data back from that account by including zero impressions. Our Zero Impression Reports Guide explains how to do this, and the download_criteria_report sample in each client library's example set shows how to set the includeZeroImpressions flag in your report requests.

Please give that a try and let me know if you have any trouble getting back data.

Cheers,
Josh, AdWords API Team

Josh Radcliff (AdWords API Team)

unread,
Aug 25, 2014, 10:39:07 AM8/25/14
to adwor...@googlegroups.com
Hi,

Just to clarify, even on my test account, if I submit:

<?xml version="1.0"?>
<ns2:selector>
  <ns2:fields>CampaignId</ns2:fields>
  <ns2:fields>AdGroupId</ns2:fields>
  <ns2:fields>Id</ns2:fields>
  <ns2:fields>Criteria</ns2:fields>
  <ns2:fields>Impressions</ns2:fields>
  <ns2:fields>Clicks</ns2:fields>
  <ns2:fields>Cost</ns2:fields>
  <ns2:predicates>
    <ns2:field>AdGroupId</ns2:field>
    <ns2:operator>EQUALS</ns2:operator>
    <ns2:values>8138389615</ns2:values>
  </ns2:predicates>
</ns2:selector>
<ns2:reportName>Age range performance report #1408977295555</ns2:reportName>
<ns2:reportType>AGE_RANGE_PERFORMANCE_REPORT</ns2:reportType>
<ns2:dateRangeType>YESTERDAY</ns2:dateRangeType>
<ns2:downloadFormat>XML</ns2:downloadFormat>
<ns2:includeZeroImpressions>true</ns2:includeZeroImpressions>
</reportDefinition>

Then I'll get back:

<?xml version="1.0"?>
<report>
<report-name name="Criteria performance report #1408977295555"/>
<date-range date="Aug 24, 2014"/>
<table>
  <columns>
    <column name="campaignID" display="Campaign ID"/>
    <column name="adGroupID" display="Ad group ID"/>
    <column name="criterionID" display="Criterion ID"/>
    <column name="ageRange" display="Age Range"/>
    <column name="impressions" display="Impressions"/>
    <column name="clicks" display="Clicks"/>
    <column name="cost" display="Cost"/>
  </columns>
  <row campaignID="164997895" adGroupID="8138389615" criterionID="503001" ageRange="18-24" impressions="0" clicks="0" cost="0"/>
  <row campaignID="164997895" adGroupID="8138389615" criterionID="503002" ageRange="25-34" impressions="0" clicks="0" cost="0"/>
  <row campaignID="164997895" adGroupID="8138389615" criterionID="503003" ageRange="35-44" impressions="0" clicks="0" cost="0"/>
  <row campaignID="164997895" adGroupID="8138389615" criterionID="503004" ageRange="45-54" impressions="0" clicks="0" cost="0"/>
  <row campaignID="164997895" adGroupID="8138389615" criterionID="503005" ageRange="55-64" impressions="0" clicks="0" cost="0"/>
  <row campaignID="164997895" adGroupID="8138389615" criterionID="503006" ageRange="65 or more" impressions="0" clicks="0" cost="0"/>
  <row campaignID="164997895" adGroupID="8138389615" criterionID="503999" ageRange="Undetermined" impressions="0" clicks="0" cost="0"/>
</table>
</report>

In other words, AdWords will still give me an idea of the report contents (ageRange values), even though I'm using a test account.

Cheers,
Josh, AdWords API Team

Justin Coon

unread,
Aug 25, 2014, 1:28:27 PM8/25/14
to Josh Radcliff, adwor...@googlegroups.com
Hi Josh - thats great and gives me some promise! i must be doing something wrong with my call - heres my result set

<report>
  <report-name name="AGE_RANGE_PERFORMANCE_REPORT" />
  <date-range date="Jul 1, 2014-Jul 31, 2014" />
  <table>
    <columns>
      <column name="campaignID" display="Campaign ID" />
      <column name="campaign" display="Campaign" />
      <column name="day" display="Day" />
      <column name="clicks" display="Clicks" />
      <column name="impressions" display="Impressions" />
      <column name="ctr" display="CTR" />
    </columns>
  </table>
</report>

I will re-look at how I am configuring my call to the API (selectors/predicates). I appreciate the quick response so much and will update you after I re-check my query.




--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/7ZrIKY1CEP4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/5ec558bc-2c65-4f15-bb86-fa91f3e3c603%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Justin Coon

unread,
Aug 25, 2014, 5:57:37 PM8/25/14
to Josh Radcliff, adwor...@googlegroups.com

Josh - are ad groups required for this report? Or can we aggregate the results at a campaign or even higher at the account level? I know I can do it manually by making multiple calls and aggregating myself.

--

Josh Radcliff (AdWords API Team)

unread,
Aug 27, 2014, 9:28:53 AM8/27/14
to adwor...@googlegroups.com, adwordsapia...@google.com
Hi Justin,

Do you mean will the report always break out the results by ad group? If so, then from my tests it would appear that the answer is yes. If I missed your point, though, let me know.

Also, you may find the following lists helpful:
Reply all
Reply to author
Forward
0 new messages