Skip to content

Conversation

juanshishido
Copy link
Contributor

Scheduled Tweets

  • add ScheduledTweet class to creative.py
    • Note: The interface is consistent with the existing ads entities, where the save method is used; it does not use the create method.
  • add scheduled_tweets method under the Account class to retrieve Scheduled Tweets belonging to the current account
  • add preview method under the ScheduledTweet class

Scheduled Promoted Tweets

  • add 'ScheduledPromotedTweet` class to campaign.py
  • add scheduled_promoted_tweetsmethod under theAccount` class to retrieve Scheduled Promoted Tweets belonging to the current account

Also, added a Scheduled Tweets example: creating and promoting it.

* add `ScheduledTweet` class to creative.py
* add `scheduled_tweets` method under the `Account` class to retrieve Scheduled Tweets belonging to the current account
* add Scheduled Tweet create example

**Note**: The interface is consistent with the existing ads entities, where the `save` method is used; it does not use the `create` method.
scheduled_tweet.preview()

# associate with a line item
account.line_items().next().id

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe better to create a new and paused line item if we want to match what they are likely to do if they wanted to test 'manually' but we can leave as an improvement...(the examples should kind of match what we would do if we want to test it ourselves)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call

@juanshishido juanshishido merged commit feaac84 into xdevplatform:master Nov 21, 2017
@juanshishido
Copy link
Contributor Author

Thanks, @jbabichjapan!

@juanshishido juanshishido deleted the scheduled-tweets branch November 21, 2017 06:38
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

Successfully merging this pull request may close these issues.

2 participants