Hello I am creating negative Parental status criterion. My Code looks like 
this:

AdRocketCampaignCriterion adrocket_google_campaign_criterion_negative_label 
= AdRocketCampaignCriterion.*builder*()//

// .withResourceName(CampaignCriterionName.format(customer_id, campaign_id,

// Long.toString(tempIdGenerator.next())))//

.withCampaign(campaign_name)//

.withCriterionId(tempIdGenerator.next())//

.withIsNegative(true)//

.withParentalStatusInfo(ParentalStatusInfo.*newBuilder*
().setType(parental_status).build())//

.withCriterionType(*CriterionType*.*PARENTAL_STATUS*)//

.build();


I am getting the following results:

Error Message for Operation Index: 19, Msg: 'The operation is not allowed 
for the given context., at 
mutate_operations[19].campaign_criterion_operation.create.parental_status', 
Code: INVALID_ARGUMENT

Am I missing something? It looks like all the other negative campaign 
criterion I am making, and those work.  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/009e3ce3-e7ef-4e9e-8084-dd451e001ed6n%40googlegroups.com.
  • Ne... Andrew Towe
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to