Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“First View” campaign has line item returned as active entity, but not found for the account #237

Open
ChugaoQ opened this issue Dec 3, 2019 · 2 comments

Comments

@ChugaoQ
Copy link

ChugaoQ commented Dec 3, 2019

After pooling all active line item entities for the account, I made the request to pool properties for each line item ID. But I see the error:

twitter_ads.error.NotFound: <NotFound object at 0x1aa1b52ad08 code=404 details=[{'code': 'NOT_FOUND', 'message': 'Line Item xxxxx was not found for Account xxxxx', 'parameter': 'line_item_id'}]>

I was told that line item belongs to a "First View" campaign.

@sfontana
Copy link

sfontana commented Apr 1, 2020

I have the exact same problem.

LineItem.active_entities(account, start_time, end_time) returns active entities and indeed they all have some stats.
However when I try to get more information about a particular LineItem I get an error

LineItem.load(account, 'gsmga').name
twitter_ads.error.NotFound: <NotFound object at 0x10d443888 code=404 details=[{'message': 'Line Item gsmga was not found for Account xxxx', 'code': 'NOT_FOUND', 'parameter': 'line_item_id'}]>

and LineItem.all(account) does not include the missing LineItem gsmga.

and as @ChugaoQ also noticed these stats belong to Twitter First View campaign.
How can we properly get the information about First View LineItems and Campaign? In my case, I am especially interested in the Campaign Name for reporting purposes.

I cannot find anything related to this in this repository nor in the official documentation.

@tushdante can you shed some light on this? To me it looks like an important feature of Twitter Ads and I find it strange that there's nothing on this. I'm probably missing something, hence the question :)

@sfontana
Copy link

sfontana commented Apr 2, 2020

Got an answer in the Twitter forum here. View First campaigns are not supported 😮

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants