Skip to content

Commit

Permalink
Issue #1089 - Special Category Ads added
Browse files Browse the repository at this point in the history
  • Loading branch information
nbartels committed Aug 27, 2020
1 parent 410dddf commit 9a1b141
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/lombok/com/restfb/types/ads/Campaign.java
Expand Up @@ -260,11 +260,19 @@ public class Campaign extends NamedAdsObject implements HasCreatedTime {
/**
* The campaign's Special Ad Category. One of {@code HOUSING}, {@code EMPLOYMENT}, {@code CREDIT}, or {@code NONE}.
*/
@Deprecated
@Getter
@Setter
@GraphAPI(until = "7.0")
@Facebook("special_ad_category")
private String specialAdCategory;

@Getter
@Setter
@GraphAPI(since = "7.0")
@Facebook("special_ad_categories")
private List<String> specialAdCategories = new ArrayList<>();

/**
* A spend cap for the campaign, such that it will not spend more than this cap. Expressed as integer value of the
* subunit in your currency.
Expand Down

0 comments on commit 9a1b141

Please sign in to comment.