コード例 #1
0
        public void Init()
        {
            string budgetResourceName   = ExampleTestsUtils.CreateBudget(client, false);
            string campaignResourceName = ExampleTestsUtils.CreateCampaign(client,
                                                                           budgetResourceName);

            campaignId = long.Parse(CampaignName.Parse(campaignResourceName).CampaignId);
            string campaignDraftResourceName = ExampleTestsUtils.CreateCampaignDraft(client,
                                                                                     config.ClientCustomerId, campaignId);

            draftId = long.Parse(CampaignDraftName.Parse(campaignDraftResourceName)
                                 .DraftId);
        }
コード例 #2
0
        public void Init()
        {
            string budgetResourceName   = ExampleTestsUtils.CreateBudget(client, false);
            string campaignResourceName = ExampleTestsUtils.CreateCampaign(client,
                                                                           budgetResourceName);
            long   campaignId = ExampleTestsUtils.GetCampaign(client, campaignResourceName);
            string campaignDraftResourceName = ExampleTestsUtils.CreateCampaignDraft(client,
                                                                                     config.ClientCustomerId, campaignId);
            string experimentResourceName = ExampleTestsUtils.CreateCampaignExperiment(
                client, config.ClientCustomerId, campaignDraftResourceName);

            campaignExperimentId = ExampleTestsUtils.GetCampaignExperiment(
                client, config.ClientCustomerId, experimentResourceName);
        }