Example #1
0
 public static string CampaignSimulation(long customerId, long campaignId,
                                         SimulationType type, SimulationModificationMethod modificationMethod,
                                         DateTime startDate, DateTime endDate)
 {
     return($"customers/{customerId}/campaignSimulations/{campaignId}~" +
            $"{ProtobufUtilities.GetOriginalEnumFieldName(type)}~" +
            $"{ProtobufUtilities.GetOriginalEnumFieldName(modificationMethod)}~" +
            $"{startDate:yyyy-MM-dd}~{endDate:yyyy-MM-dd}");
 }
Example #2
0
 public static string AdGroupCriterionSimulation(long customerId, long adGroupId, long criterionId, SimulationType type, SimulationModificationMethod modificationMethod, DateTime startDate, DateTime endDate)
 {
     return($"customers/{customerId}/adGroupCriterionSimulations/{adGroupId}~{criterionId}~{type.ToString().ToUpper()}~{modificationMethod.ToString().ToUpper()}~{startDate.ToString("yyyy-MM-dd")}~{endDate.ToString("yyyy-MM-dd")}");
 }
Example #3
0
 public static string CampaignCriterionSimulation(long customerId, long campaignId, long criterionId, SimulationType type, SimulationModificationMethod modificationMethod, DateTime startDate, DateTime endDate)
 {
     return($"customers/{customerId}/campaignCriterionSimulations/{campaignId}~{criterionId}~{type}~{modificationMethod}~{startDate.ToString("yyyy-MM-dd")}~{endDate.ToString("yyyy-MM-dd")}");
 }
Example #4
0
 public static string AdGroupCriterionSimulation(long customerId, long adGroupId,
                                                 long criterionId, SimulationType type, SimulationModificationMethod modificationMethod,
                                                 DateTime startDate, DateTime endDate)
 {
     return($"customers/{customerId}/adGroupCriterionSimulations/{adGroupId}~" +
            $"{criterionId}~{ProtobufUtilities.GetOriginalEnumFieldName(type)}~" +
            $"{ProtobufUtilities.GetOriginalEnumFieldName(modificationMethod)}~" +
            $"{startDate:yyyy-MM-dd}" +
            $"~{endDate:yyyy-MM-dd}");
 }