I don't think there's an automatically populate campaign data. The
only thing that is automatically populated is the account data. You
will have to script the other data population yourself. Also, to my
knowlege, there is no way to have google supply "fake" performance
data via reporting. In the adwords documentation, google talks about
supplying random reporting data, but I don't think it works so you
will probably have to create your own test reporting data. Someone can
correct me if I'm wrong. Here is a C# example to create campaign data:
CampaignService cService = new CampaignService();
cService.Url = ADWORDS_URL + "/CampaignService";
cService.useragentValue = new useragent();
cService.useragentValue.Text = new String[] { "Test
Useragent" };
cService.emailValue = new email();
cService.emailValue.Text = new String[]
{ "[email protected]" };
cService.passwordValue = new password();
cService.passwordValue.Text = new String[]
{ "yourpassword" };
cService.developerTokenValue = new developerToken();
cService.developerTokenValue.Text = new String[]
{ "[email protected]++usd" };
cService.applicationTokenValue = new applicationToken();
cService.applicationTokenValue.Text = new String[]
{ "" };// not needed for sandbox
cService.clientCustomerIdValue = new clientCustomerId();
cService.clientCustomerIdValue.Text = new String[]
{ lCustomerId.ToString() }; // you can get this
Campaign tempcamp = new Campaign();
tempcamp.budgetAmount = 1000000000; // one thousand
dollars in micro-units
tempcamp.budgetPeriod = BudgetPeriod.Daily;
tempcamp.budgetAmountSpecified = true;
tempcamp.budgetPeriodSpecified = true;
tempcamp.name = "TestCampaign1";
cService.addCampaign(tempcamp);
On Jan 22, 3:03 pm, dustin <[email protected]> wrote:
> It seems from this
> dochttp://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo...
> that the sandbox comes with 5 sample clients accounts, but that they
> have no campaign data.
>
> Is there a way to automatically populate the sandbox with sample
> campaign (and performance) data?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---