RE: Invalid tocpic path

2019-09-18 Thread Google Ads API Forum Advisor Prod
Hello Tony,

Looks like the "Apparel & Accessories" topic is not available for targeting 
hence you are facing the INVALID_TOPIC_PATH error. You can go to the account -> 
Topics view from the UI to search for the available topics for targeting. 
Please let me know if you have any further questions.

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UHH5VB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/MmbxJ0PY1GE700EPXcl7WfS7mbCUvHfg91Aw%40sfdc.net.


RE: Invalid tocpic path

2019-09-18 Thread Google Ads API Forum Advisor Prod
Hello Tony,

Thanks for sharing the details. We are looking into the issue, we will get back 
to you soon.

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UHH5VB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1bCc00PY17L800rDXgBHEYQ2eLsFNmkpmpOQ%40sfdc.net.


Invalid tocpic path

2019-09-17 Thread tony teo
I've created topic negative for campaign criterion but when I mutated 
operation, I got error with message: Invalid path
My Code: 

def create_topic_operation(client,campaign_resource):


campaign_criterion_operation_topic = 
client.get_type('CampaignCriterionOperation',
  version='v2')
campaign_criterion_topic = campaign_criterion_operation_topic.create
campaign_criterion_topic.type = client.get_type('CriterionTypeEnum').TOPIC
campaign_criterion_topic.campaign.value = campaign_resource
campaign_criterion_topic.negative.value =True
temp = ["Apparel & Accessories"]
for item in temp :
topic_path = campaign_criterion_topic.topic.path.add()
topic_path.value = item.strip()

return campaign_criterion_operation_topic

My Error:
 message: "Invalid topic path."
  trigger {
string_value: "[Apparel & Accessories]"
  }
  location {
field_path_elements {
  field_name: "operations"
  index {
value: 14
  }
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "topic"
}
  }
}
Please help me! Thank you in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1dc5b25d-a078-4538-9965-5481abe5a1a3%40googlegroups.com.