Implement a script for working with the meta ads API
Develop a script that will automatically export data about advertising campaigns from Meta Ads (Facebook Ads) to Google Sheets using the META ADS API. The script should collect key metrics (CTR, CPA, CPC, CPM, Spend) with the ability to set a time interval and regularly update the data.
2. Functional Requirements
Data Retrieval from Meta Ads:
Connecting to the Meta Ads advertising account via API.
Exporting the following metrics:
CTR (Click-Through Rate)
CPA (Cost Per Action)
CPC (Cost Per Click)
CPM (Cost Per Mille)
Spend (expenses)
The ability to specify a time range (e.g., the last 7 days or specific dates).
Support for data levels:
Campaign
Ad Set
Ad.
Data filtering:
By campaign name (e.g., campaigns with a specific word).
By campaign status (active/pause).
Writing Data to Google Sheets:
Connecting to Google Sheets via API.
Creating a new file or using an existing one.
Writing data in tabular form:
The first row — metric headers.
The remaining rows — data on campaigns.
Clearing the table before each new entry (optional).
Automation:
Setting up a schedule for script execution (daily, weekly).
-
489 3 1 1 Good day!
I am ready to develop a script for automatic data export from Meta Ads to Google Sheets, taking into account all your requirements.
Script functionality:
Data retrieval from Meta Ads:
Connecting to the advertising account via the Meta Ads API.
Collecting key metrics:
… CTR (Click-Through Rate),
CPA (Cost Per Action),
CPC (Cost Per Click),
CPM (Cost Per Mille),
Spend (expenses).
Setting the time range for data export (e.g., the last 7 days or a specific interval).
Data levels:
Campaign,
Ad Set,
Ad.
Data filtering:
By campaign names (e.g., including keywords).
By campaign status (active/paused).
Writing data to Google Sheets:
Connecting to Google Sheets via API.
Creating a new document or using an existing one.
Data formatting:
First row - metric headers.
Remaining rows - campaign data.
Option to clear the sheet before new entry.
Automation:
Setting up a schedule for script execution via Cron or other task schedulers (daily/weekly).
Technologies for implementation:
Python:
facebook_business library for working with the Meta Ads API.
gspread or google-api-python-client library for working with Google Sheets.
Automation:
Using Cron (on Linux) or Task Scheduler (on Windows) to run the script.
Why me?
Experience with the Meta Ads API and integration with Google Sheets.
Understanding of digital marketing tasks and key metrics.
Implementation of a secure and scalable solution.
I am ready to discuss details, timelines, and your additional wishes.
I look forward to collaborating!
-
8796 60 0 1 Good afternoon. I am ready to complete the task.
I have experience in implementing similar projects.
I write in Python and hold 2nd place on the platform.
I will develop a script for automatic data export about advertising campaigns
from Meta Ads to Google Sheets. The script will collect key metrics. You will be able to set the time interval and control the frequency of data updates.
I will create a user-friendly interface and optimize it.
My portfolio:Freelancehunt
… Write to me, we will discuss the details and I will get started on the work.
-
726 9 1 Hello! Your project has sparked great interest in me. I am ready to start working immediately and ensure high quality execution.
-
Як в google ads тільки ще з діапазонами?ніби
-
А рекламные компании чьи? Если ваши, то без проблем, а если чужие, то Мета просто не даст доступа, или необходимо будет получать согласие от других компаний
-
Current freelance projects in the category Bot Development
Automation setup: Form on the website → WhatsApp bot → CRM (Make + WATI)Project Description: There is a transportation company website. Clients submit requests through a form on the site — the form is sent to email. We need to set up the following automation:Stage 1 — Form → WhatsApp — When a new request comes to the email from the website, the… Web Programming, Bot Development ∙ 1 day 17 hours back ∙ 44 proposals |
Telegram chatbot for a closed club
22 USD
Good day! I need to set up a bot for Telegram. Task: selling access to a closed channel. The bot should accept payments and after successful payment, issue a one-time invitation link. It is also necessary to set up automatic removal of a participant from the channel when their… Bot Development ∙ 4 days 3 hours back ∙ 96 proposals |
Mini apps Telegram. StoreGood afternoon An application is required in Telegram (online store) Example - essentially 1 to 1 like here brandspacebot Your experience is important, the stack you propose to use and why Price and timeframe approximately to start, I will be waiting for questions Web Programming, Bot Development ∙ 4 days 6 hours back ∙ 91 proposals |
Bots"I am looking for a programmer to create a turnkey Telegram bot. The bot should be an intelligent conversationalist based on AI (Gemini or ChatGPT), helping people on any topic and in any language. Payment (Monobank or LiqPay) for subscription needs to be integrated as well. I… Bot Development ∙ 4 days 14 hours back ∙ 62 proposals |
Need an AI agent for cold calls in Ukrainian.
445 USD
Need an AI agent for cold calls in Ukrainian. The topic is biofertilizers. The agent should call clients, work with a script, answer typical questions, and transfer interested clients to the manager. Need the cost of setup and monthly expenses. Bot Development ∙ 5 days 2 hours back ∙ 38 proposals |