Hi Mathis,

The way you add dummy data into a test account is just like the way you 
make calls to a normal AdWords account. The only differences are
- You'd use the customer id of your test account instead of your production 
account in the clientCustomerId header.
- Test accounts don't serve ads, so you cannot use it to test reports.

To test reports, you could download the desired type of report from UI and 
use that as a data source. There would be some minor differences between 
that report and the ones you download from the API in terms of the 
supported columns (e.g. reports from UI don't have ID columns), but other 
than that, they are in the same format and will contain the same data.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, July 23, 2014 3:43:20 AM UTC-4, Mathis Lübbers wrote:
>
> Hey Kevin,
> you said, you have worked on a mini guide which explains how to add dummy 
> data to a test account. Where can I find that guide? 
> Thank You!
>
> Am Montag, 15. April 2013 16:59:21 UTC+2 schrieb Kevin Winter (AdWords API 
> Team):
>>
>> We're working on a mini-guide explaining how to approach this.  In the 
>> meantime, here's a draft:
>>
>> Test accounts will not serve impressions, therefore they will not have 
>> any metrics.  It is still possible to download structural reports 
>> <https://developers.google.com/adwords/api/docs/guides/structure-reports> 
>> - but you will only see zero-impression rows, which means that segments 
>> will not work.  To get around this limitation, we suggest displaying fake 
>> data.  The Token Review team needs to see that your application can 
>> interact with and display report data.  By mocking out the report call 
>> (i.e. pretending the report call succeeded and using a locally stored file 
>> containing fake report data), you can work with report data without 
>> actually having such data come back from the API.
>>
>> The reports come back in a predictable format.  Let's say you wanted to 
>> run a Campaign Performance Report pulling Date, Campaign Name, Id, 
>> Impressions, Clicks, Cost. An example file could look like this:
>>
>> "CAMPAIGN_PERFORMANCE_REPORT (Mar 20, 2013-Mar 23, 2013)"
>> Day,Campaign,Campaign ID,Impressions,Clicks,Cost
>> 20130320,Widgets,123,1211,19,14.92
>> 20130320,Sprockets,456,300,4,2.92
>> 20130321,Widgets,123,901,12,9.86
>> 20130321,Sprockets,456,340,5,3.86
>> 20130322,Widgets,123,1065,16,11.23
>> 20130322,Sprockets,456,509,6,5.23
>> 20130323,Widgets,123,1005,15,10.12
>> 20130323,Sprockets,456,287,3,1.12
>>
>> By constructing such a file and storing it locally, you could have your 
>> application mock the call to the API - when the report is requested, return 
>> the stored file and process that rather than making an actual API call. 
>>  You can create one file like this for each report you’d like to display.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Wednesday, April 10, 2013 9:08:45 AM UTC-4, William Rufino wrote:
>>>
>>> Can anyone give me an idea how to test report api without data?
>>>
>>> Em segunda-feira, 8 de abril de 2013 11h17min19s UTC-3, William Rufino 
>>> escreveu:
>>>>
>>>> How do we test the api if we can't have data in it?
>>>>
>>>> Does anyone can help with that?
>>>>
>>>> Em sexta-feira, 5 de abril de 2013 11h04min22s UTC-3, Paul Matthews 
>>>> (AdWords API Team) escreveu:
>>>>>
>>>>> Hi Jonathan,
>>>>>
>>>>> There is currently no way to add test data to your test account. We 
>>>>> are aware of this feature request and we're looking into it.
>>>>>
>>>>> Regards,
>>>>>
>>>>> - Paul, AdWords API Team.
>>>>>
>>>>> On Monday, 25 March 2013 03:15:41 UTC, Jonathan Sosa wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I'm trying to get the Campaign Performance Report for my test 
>>>>>> account, but it returns no rows.
>>>>>>
>>>>>> I think the reason is adding the required segment field ClickType. 
>>>>>> (All my test campaigns have no clicks)
>>>>>>
>>>>>> Is there a way to add dummy data Clicks/Impressions/etc to my test 
>>>>>> campaigns?
>>>>>>
>>>>>> Best
>>>>>> Jonathan
>>>>>>
>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to