Trying to set TargetingSetting attributes via the PHP libraries at the campaign level, but receiving this error:
Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element ns1:settings
Only see examples for setting at the adgroup level and not the campaign level but is this the proper way to set this?
$targetingSetting = new TargetingSetting();
$targetingSetting->details[] = new TargetingSettingDetail('USER_INTEREST_AND_LIST', true);
$targetingSetting->targetAll = 'true';
$campaign->settings[] = $targetingSetting;