-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
106 changed files
with
1,324 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
proxies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalField.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.microsoft.bingads.v12.campaignmanagement; | ||
|
||
/** | ||
* Enum class for AdExtensionAdditionalField. | ||
*/ | ||
public enum AdExtensionAdditionalField { | ||
|
||
FINAL_URL_SUFFIX("FinalUrlSuffix"); | ||
|
||
private final String value; | ||
|
||
AdExtensionAdditionalField(String v) { | ||
value = v; | ||
} | ||
|
||
public String value() { | ||
return value; | ||
} | ||
|
||
public static AdExtensionAdditionalField fromValue(String v) { | ||
for (AdExtensionAdditionalField c : AdExtensionAdditionalField.values()) { | ||
if (c.value.equals(v)) { | ||
return c; | ||
} | ||
} | ||
throw new IllegalArgumentException(v); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalFieldConverter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package com.microsoft.bingads.v12.campaignmanagement; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Collection; | ||
|
||
/** | ||
* Reserved for internal use. | ||
*/ | ||
public class AdExtensionAdditionalFieldConverter { | ||
|
||
public static Collection<AdExtensionAdditionalField> convertToList(String enums) { | ||
String[] values = enums.split(" "); | ||
|
||
Collection<AdExtensionAdditionalField> result = new ArrayList<AdExtensionAdditionalField>(); | ||
|
||
for (String value : values) { | ||
result.add(AdExtensionAdditionalField.fromValue(value)); | ||
} | ||
|
||
return result; | ||
} | ||
|
||
public static String convertToString(Collection<AdExtensionAdditionalField> enums) { | ||
String result = ""; | ||
|
||
for (AdExtensionAdditionalField entity : enums) { | ||
result += (entity.value() + " "); | ||
} | ||
|
||
result = result.substring(0, result.length() - 1); | ||
|
||
return result; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalField.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.microsoft.bingads.v12.campaignmanagement; | ||
|
||
/** | ||
* Enum class for AdGroupAdditionalField. | ||
*/ | ||
public enum AdGroupAdditionalField { | ||
|
||
FINAL_URL_SUFFIX("FinalUrlSuffix"); | ||
|
||
private final String value; | ||
|
||
AdGroupAdditionalField(String v) { | ||
value = v; | ||
} | ||
|
||
public String value() { | ||
return value; | ||
} | ||
|
||
public static AdGroupAdditionalField fromValue(String v) { | ||
for (AdGroupAdditionalField c : AdGroupAdditionalField.values()) { | ||
if (c.value.equals(v)) { | ||
return c; | ||
} | ||
} | ||
throw new IllegalArgumentException(v); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalFieldConverter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package com.microsoft.bingads.v12.campaignmanagement; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Collection; | ||
|
||
/** | ||
* Reserved for internal use. | ||
*/ | ||
public class AdGroupAdditionalFieldConverter { | ||
|
||
public static Collection<AdGroupAdditionalField> convertToList(String enums) { | ||
String[] values = enums.split(" "); | ||
|
||
Collection<AdGroupAdditionalField> result = new ArrayList<AdGroupAdditionalField>(); | ||
|
||
for (String value : values) { | ||
result.add(AdGroupAdditionalField.fromValue(value)); | ||
} | ||
|
||
return result; | ||
} | ||
|
||
public static String convertToString(Collection<AdGroupAdditionalField> enums) { | ||
String result = ""; | ||
|
||
for (AdGroupAdditionalField entity : enums) { | ||
result += (entity.value() + " "); | ||
} | ||
|
||
result = result.substring(0, result.length() - 1); | ||
|
||
return result; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupCriterionAdditionalField.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.microsoft.bingads.v12.campaignmanagement; | ||
|
||
/** | ||
* Enum class for AdGroupCriterionAdditionalField. | ||
*/ | ||
public enum AdGroupCriterionAdditionalField { | ||
|
||
FINAL_URL_SUFFIX("FinalUrlSuffix"); | ||
|
||
private final String value; | ||
|
||
AdGroupCriterionAdditionalField(String v) { | ||
value = v; | ||
} | ||
|
||
public String value() { | ||
return value; | ||
} | ||
|
||
public static AdGroupCriterionAdditionalField fromValue(String v) { | ||
for (AdGroupCriterionAdditionalField c : AdGroupCriterionAdditionalField.values()) { | ||
if (c.value.equals(v)) { | ||
return c; | ||
} | ||
} | ||
throw new IllegalArgumentException(v); | ||
} | ||
} |
Oops, something went wrong.