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;
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/a2fd39f2-a784-487d-a1be-79d493db7e80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.