adding audience to adgroup using API version v201809

24 views
Skip to first unread message

Ankit Rawat

unread,
Apr 16, 2019, 6:44:40 AM4/16/19
to AdWords API and Google Ads API Forum
hi, I am adding Audience or interest to my adgroup but getting error Internal API error.
Please, can anyone tell me how to resolve it?

$criterionUserInterest = new CriterionUserInterest();
$criterionUserInterest->setId($interest['Criterion_ID']);
$interestBiddableAdGroupCriterion = new BiddableAdGroupCriterion();
$interestBiddableAdGroupCriterion->setAdGroupId($adGroupId);
$interestBiddableAdGroupCriterion->setCriterion($criterionUserInterest);
$BiddableAdGroupCriterionOperation = new AdGroupCriterionOperation();
$BiddableAdGroupCriterionOperation->setOperand($interestBiddableAdGroupCriterion);
$BiddableAdGroupCriterionOperation->setOperator(Operator::ADD);
$operations[] = $BiddableAdGroupCriterionOperation ;
error.png

googleadsapi...@google.com

unread,
Apr 16, 2019, 11:52:34 AM4/16/19
to ankit...@gmail.com, AdWords API and Google Ads API Forum
Hi Ankit,

Can you please provide your SOAP request and response through reply privately to author so I can further investigate?

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
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 adwords-api+unsubscribe@googlegroups.com.
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/7fe3b265-728c-4972-b279-f363f6836619%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages