linkedin-api

Parameter 'targetingCriteria' is invalid for audience count with LinkedIn marketing API

半城伤御伤魂 提交于 2021-01-28 13:01:09
问题 I was trying to get audience count by using targetingCriteriaV2 by Curl and Guzzle request but its showing as targetingCriteria is invalid. API url 1: https://api.linkedin.com/v2/audienceCountsV2?q=targetingCriteriaV2&targetingCriteria=(include:(and:List((or:(urn%3Ali%3AadTargetingFacet%3Alocations:List(urn%3Ali%3AcountryGroup%3Ana))),(or:(urn%3Ali%3AadTargetingFacet%3Askills:List(urn%3Ali%3Askill%3A17)))))) API url 2: https://api.linkedin.com/v2/audienceCountsV2?q=targetingCriteriaV2

Parameter 'targetingCriteria' is invalid for audience count with LinkedIn marketing API

≯℡__Kan透↙ 提交于 2021-01-28 12:59:32
问题 I was trying to get audience count by using targetingCriteriaV2 by Curl and Guzzle request but its showing as targetingCriteria is invalid. API url 1: https://api.linkedin.com/v2/audienceCountsV2?q=targetingCriteriaV2&targetingCriteria=(include:(and:List((or:(urn%3Ali%3AadTargetingFacet%3Alocations:List(urn%3Ali%3AcountryGroup%3Ana))),(or:(urn%3Ali%3AadTargetingFacet%3Askills:List(urn%3Ali%3Askill%3A17)))))) API url 2: https://api.linkedin.com/v2/audienceCountsV2?q=targetingCriteriaV2

Linkedin Ads API What's the format of the `dateRange` request parameter?

纵饮孤独 提交于 2021-01-27 13:11:02
问题 What's the right format for dateRange for rest-li v2? The current examples in the documentation do not support it, and I don't understand from the rest-li documentation what's the format for it, exactly. This is the request I make: Headers: X-Restli-Protocol-Version: 2.0.0 Authorization: Bearer <token-here> URL (with request parameters): https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&pivot=CAMPAIGN&dateRange.start.day=1&dateRange.start.month=1&dateRange.start.year=2017&timeGranularity

Connecting to Linkedin adAnalytics API - Unpermitted fields present in parameter

拥有回忆 提交于 2021-01-27 13:03:29
问题 I am having trouble connecting to the LinkedIn AdAnalytics API. While using postman to test my connection - I receive the error: { "serviceErrorCode": 100, "message": "Unpermitted fields present in PARAMETER: Data Processing Exception while processing fields [/daterange]", "status": 403 } I can verify I have access. I am able to generate the access token with Oath 2.0 in postman. I used https://docs.microsoft.com/en-us/linkedin/marketing/getting-started to setup Oauth 2.0 access on postman

LinkedIn API: Unpermitted fields present in REQUEST BODY when trying to make post in group

筅森魡賤 提交于 2021-01-07 02:42:55
问题 I am trying to write a code for making posts in my LinkedIn group automatically. I am using the following API command (with my person and group): POST https://api.linkedin.com/v2/ugcPosts BODY { "author": "urn:li:person:123ABC", "containerEntity": "urn:li:group:123", "lifecycleState": "PUBLISHED", "specificContent": { "com.linkedin.ugc.ShareContent": { "media": [ { "description": { "attributes": [], "text": "Check out our awesome group!" }, "status": "READY", "thumbnails": [], "title": {

LinkedIn API: Unpermitted fields present in REQUEST BODY when trying to make post in group

故事扮演 提交于 2021-01-07 02:42:03
问题 I am trying to write a code for making posts in my LinkedIn group automatically. I am using the following API command (with my person and group): POST https://api.linkedin.com/v2/ugcPosts BODY { "author": "urn:li:person:123ABC", "containerEntity": "urn:li:group:123", "lifecycleState": "PUBLISHED", "specificContent": { "com.linkedin.ugc.ShareContent": { "media": [ { "description": { "attributes": [], "text": "Check out our awesome group!" }, "status": "READY", "thumbnails": [], "title": {

LinkedIn API: Unpermitted fields present in REQUEST BODY when trying to make post in group

♀尐吖头ヾ 提交于 2021-01-07 02:41:00
问题 I am trying to write a code for making posts in my LinkedIn group automatically. I am using the following API command (with my person and group): POST https://api.linkedin.com/v2/ugcPosts BODY { "author": "urn:li:person:123ABC", "containerEntity": "urn:li:group:123", "lifecycleState": "PUBLISHED", "specificContent": { "com.linkedin.ugc.ShareContent": { "media": [ { "description": { "attributes": [], "text": "Check out our awesome group!" }, "status": "READY", "thumbnails": [], "title": {