Skip to content

Commit

Permalink
Fetch upstream (#17)
Browse files Browse the repository at this point in the history
* Auto-generated ruby SDK code update

Summary: ignore-conflict-markers

Reviewed By: jingping2015

Differential Revision: D37562917

fbshipit-source-id: 03e474b82028ea50d36dcd10953220f9b01950f0

* Auto-generated ruby SDK code update

Summary: ignore-conflict-markers

Reviewed By: jawwad

Differential Revision: D40691138

fbshipit-source-id: 36c1249d96eb345c66c58dc3f621c90999055dff

* Bump rexml from 3.2.4 to 3.2.5 (facebook#140)

Summary:
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ruby/rexml/blob/master/NEWS.md">rexml's changelog</a>.</em></p>
<blockquote>
<h2>3.2.5 - 2021-04-05 {#version-3-2-5}</h2>
<h3>Improvements</h3>
<ul>
<li>
<p>Add more validations to XPath parser.</p>
</li>
<li>
<p><code>require &quot;rexml/document&quot;</code> by default.
[GitHub#36][Patch by Koichi ITO]</p>
</li>
<li>
<p>Don't add <code>#dcloe</code> method to core classes globally.
[GitHub#37][Patch by Akira Matsuda]</p>
</li>
<li>
<p>Add more documentations.
[Patch by Burdette Lamar]</p>
</li>
<li>
<p>Added <code>REXML::Elements#parent</code>.
[GitHub#52][Patch by Burdette Lamar]</p>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>
<p>Fixed a bug that <code>REXML::DocType#clone</code> doesn't copy external ID
information.</p>
</li>
<li>
<p>Fixed round-trip vulnerability bugs.
See also: <a href="https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/">https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/</a>
[HackerOne#1104077][CVE-2021-28965][Reported by Juho Nurminen]</p>
</li>
</ul>
<h3>Thanks</h3>
<ul>
<li>
<p>Koichi ITO</p>
</li>
<li>
<p>Akira Matsuda</p>
</li>
<li>
<p>Burdette Lamar</p>
</li>
<li>
<p>Juho Nurminen</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ruby/rexml/commit/a622645e980ea5b91ad7b4d6fec32d113f15df88"><code>a622645</code></a> Add 3.2.5 entry</li>
<li><a href="https://github.com/ruby/rexml/commit/3c137eb119550874b2b3e27d12b733ca67033377"><code>3c137eb</code></a> Fix a parser bug that some data may be ignored before DOCTYPE</li>
<li><a href="https://github.com/ruby/rexml/commit/9b311e59ae05749e082eb6bbefa1cb620d1a786e"><code>9b311e5</code></a> Fix a bug that invalid document declaration may be accepted</li>
<li><a href="https://github.com/ruby/rexml/commit/f9d88e4948b4a43294c25dc0edb16815bd9d8618"><code>f9d88e4</code></a> Fix a bug that invalid document declaration may be generated</li>
<li><a href="https://github.com/ruby/rexml/commit/f7bab8937513b1403cea5aff874cbf32fd5e8551"><code>f7bab89</code></a> Fix a bug that invalid element end may be accepted</li>
<li><a href="https://github.com/ruby/rexml/commit/6a250d2cd1194c2be72becbdd9c3e770aa16e752"><code>6a250d2</code></a> Fix a bug that invalid element start may be accepted</li>
<li><a href="https://github.com/ruby/rexml/commit/2fe62e29094d95921d7e19abbd2e26b23d78dc5b"><code>2fe62e2</code></a> Fix a bug that invalid notation declaration may be accepted</li>
<li><a href="https://github.com/ruby/rexml/commit/a659c63e37414506dfb0d4655e031bb7a2e73fc8"><code>a659c63</code></a> Fix a bug that invalid notation declaration may be generated</li>
<li><a href="https://github.com/ruby/rexml/commit/790dd113ce693ce831cbbc53f2f990a317643f75"><code>790dd11</code></a> Use ruby/setup-ruby (<a href="https://github-redirect.dependabot.com/ruby/rexml/issues/66">https://github.com/facebook/facebook-ruby-business-sdk/issues/66</a>)</li>
<li><a href="https://github.com/ruby/rexml/commit/eda1b2007dd8751f381bf741f16c9e33c5d3e52a"><code>eda1b20</code></a> Clean up and enhance high-level RDoc (<a href="https://github-redirect.dependabot.com/ruby/rexml/issues/65">https://github.com/facebook/facebook-ruby-business-sdk/issues/65</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rexml&package-manager=bundler&previous-version=3.2.4&new-version=3.2.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/facebook-ruby-business-sdk/network/alerts).

</details>

Pull Request resolved: facebook#140

Differential Revision: D41279979

Pulled By: stcheng

fbshipit-source-id: 139e202266a6c4495cbc731d2b3f89f85532c942

* Auto-generated ruby SDK code update

Summary: ignore-conflict-markers

Reviewed By: mengxuanzhangz

Differential Revision: D42508095

fbshipit-source-id: 8ba38b48e64f5dc026287e3d0309f9ba04ea9e21

* Auto-generated ruby SDK code update

Summary: ignore-conflict-markers

Reviewed By: mengxuanzhangz

Differential Revision: D42560829

fbshipit-source-id: a1cb970c0ed1f797a8538194ec7d97bd31100fcd

Co-authored-by: Shuotian Cheng <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: generatedunixname89002005295453 <[email protected]>
  • Loading branch information
4 people authored Jan 20, 2023
1 parent a76067e commit 6b3aece
Show file tree
Hide file tree
Showing 271 changed files with 1,739 additions and 1,628 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ GEM
rainbow (3.0.0)
rake (13.0.1)
regexp_parser (1.7.1)
rexml (3.2.4)
rexml (3.2.5)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
Expand Down
31 changes: 0 additions & 31 deletions examples/AdAccountActivityNode.rb

This file was deleted.

3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesEdge.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPost.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPost2CreateAdCreativeLinkAd.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPost2CreateLinkAdImageCrop.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPost2CreateMAIDPA.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPost2CreateVideoLeadAd.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPost2CreateVideoPageLikeAd.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPost3CreateAssetFeedSpec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPostCreateAdCreative.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdCreativesPostCreateAdCreativeCanvas.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPost2CreateMAIA.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
7 changes: 4 additions & 3 deletions examples/AdAccountAdSetsPostAdSetCreateCpa.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down Expand Up @@ -33,8 +34,8 @@
name: 'A CPA Ad Set',
campaign_id: '<adCampaignLinkClicksID>',
daily_budget: '5000',
start_time: '2022-01-26T10:39:14-0800',
end_time: '2022-02-02T10:39:14-0800',
start_time: '2023-01-16T15:01:45-0800',
end_time: '2023-01-23T15:01:45-0800',
billing_event: 'IMPRESSIONS',
optimization_goal: 'REACH',
bid_amount: '1000',
Expand Down
7 changes: 4 additions & 3 deletions examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down Expand Up @@ -33,8 +34,8 @@
name: 'A CPA Ad Set optimized for App Events',
campaign_id: '<adCampaignAppInstallsID>',
daily_budget: '300',
start_time: '2022-01-26T10:40:11-0800',
end_time: '2022-02-02T10:40:11-0800',
start_time: '2023-01-16T15:02:32-0800',
end_time: '2023-01-23T15:02:32-0800',
billing_event: 'IMPRESSIONS',
optimization_goal: 'OFFSITE_CONVERSIONS',
bid_amount: '100',
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostBehaviorTargeting.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostBidMultiplier.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
7 changes: 4 additions & 3 deletions examples/AdAccountAdSetsPostCreateAdSet.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down Expand Up @@ -32,8 +33,8 @@
adsets = ad_account.adsets.create({
name: 'My First AdSet',
lifetime_budget: '20000',
start_time: '2022-01-26T10:44:48-0800',
end_time: '2022-02-02T10:44:48-0800',
start_time: '2023-01-16T15:00:58-0800',
end_time: '2023-01-23T15:00:58-0800',
campaign_id: '<adCampaignLinkClicksID>',
bid_amount: '500',
billing_event: 'IMPRESSIONS',
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostCreateAudienceNetwork.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
7 changes: 4 additions & 3 deletions examples/AdAccountAdSetsPostDailyBudget20.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down Expand Up @@ -32,8 +33,8 @@
adsets = ad_account.adsets.create({
name: 'My First Adset',
daily_budget: '2000',
start_time: '2022-01-19T10:39:42-0800',
end_time: '2022-01-26T10:39:42-0800',
start_time: '2023-01-09T15:02:03-0800',
end_time: '2023-01-16T15:02:03-0800',
campaign_id: '<adCampaignLinkClicksID>',
bid_amount: '100',
billing_event: 'LINK_CLICKS',
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostDemographicTargeting.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostInterestTargeting.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down Expand Up @@ -32,8 +33,8 @@
adsets = ad_account.adsets.create({
name: 'My First Adset',
lifetime_budget: '20000',
start_time: '2022-01-19T10:39:52-0800',
end_time: '2022-01-29T10:39:52-0800',
start_time: '2023-01-09T15:02:13-0800',
end_time: '2023-01-19T15:02:13-0800',
campaign_id: '<adCampaignLinkClicksID>',
bid_amount: '100',
billing_event: 'LINK_CLICKS',
Expand Down
7 changes: 4 additions & 3 deletions examples/AdAccountAdSetsPostOfferClaim.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down Expand Up @@ -32,8 +33,8 @@
adsets = ad_account.adsets.create({
name: 'My Offer Claim AdSet',
lifetime_budget: '56000',
start_time: '2022-01-19T10:39:33-0800',
end_time: '2022-01-26T10:39:33-0800',
start_time: '2022-05-23T13:26:58-0700',
end_time: '2022-05-30T13:26:58-0700',
campaign_id: '<adCampaignLinkClicksID>',
billing_event: 'LINK_CLICKS',
optimization_goal: 'LINK_CLICKS',
Expand Down
7 changes: 4 additions & 3 deletions examples/AdAccountAdSetsPostOptimizePostEngagement.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down Expand Up @@ -32,8 +33,8 @@
adsets = ad_account.adsets.create({
name: 'My First Adset',
lifetime_budget: '20000',
start_time: '2022-01-19T10:40:02-0800',
end_time: '2022-01-29T10:40:02-0800',
start_time: '2023-01-09T15:02:22-0800',
end_time: '2023-01-19T15:02:22-0800',
campaign_id: '<adCampaignLinkClicksID>',
bid_amount: '500',
billing_event: 'IMPRESSIONS',
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostPageLikes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostPlacementTargeting.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdSetsPostReach.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdVideosPost.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdsPixelEdgeGetPixelCode.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdsPixelsPost.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdsPost.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdsPostAdsRedownload.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdsPostOfferClaim.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
3 changes: 2 additions & 1 deletion examples/AdAccountAdsPostTrackingPostEngagement.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
Expand Down
Loading

0 comments on commit 6b3aece

Please sign in to comment.