Example #1
0
        public void Init()
        {
            string budgetResourceName   = ExampleTestsUtils.CreateBudget(client);
            string campaignResourceName = ExampleTestsUtils.CreateCampaign(client, budgetResourceName);

            campaignId = ExampleTestsUtils.GetCampaign(client, campaignResourceName);
        }
Example #2
0
        public void Init()
        {
            string budgetResourceName   = ExampleTestsUtils.CreateBudget(client);
            string campaignResourceName = ExampleTestsUtils.CreateCampaign(client, budgetResourceName);
            string adGroupResourceName  = ExampleTestsUtils.CreateAdGroup(client, campaignResourceName);

            adGroupId = ExampleTestsUtils.GetAdGroup(client, adGroupResourceName);
        }
Example #3
0
        public void Init()
        {
            string budgetResourceName   = ExampleTestsUtils.CreateBudget(client);
            string campaignResourceName = ExampleTestsUtils.CreateStandardShoppingCampaign(client,
                                                                                           budgetResourceName, long.Parse(config.MerchantCenterAccountId));

            campaignId = ExampleTestsUtils.GetCampaign(client, campaignResourceName);
        }
Example #4
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);
        }
Example #5
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);
        }