data-manager-api-audience-ingestion
ما الذي تفعله
توضح هذه المهارة كيفية رفع أعضاء جمهور أو إزالتهم أو مسحهم، مثل قوائم Customer Match، عبر Data Manager API. وهي مناسبة للمطورين والمسوّقين الذين يديرون جماهير الإعلانات.
متى تستخدمها
- ✓عندما تريد رفع قائمة عملاء لإنشاء جمهور إعلاني أو توسيعه.
- ✓عندما تحتاج إلى إزالة أشخاص محددين من جمهور.
- ✓عندما تريد استبدال جمهور كامل أو مسحه والبدء من جديد.
رابط المهارة
https://github.com/google/skills/blob/main/skills/ads/data-manager-api-audience-ingestion/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ساعدني في رفع قائمة بريد عملائي إلى جمهور Customer Match في Google Ads باستخدام Data Manager API.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تتأكد المهارة أولًا من المنتج الذي تُرسَل إليه البيانات، وتقرأ الدليل المناسب، ثم تكتب كود الرفع أو الإزالة أو المسح لتلك الوجهة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Data Manager API Audience Ingestion
Implementation Workflow
Prerequisites
- Authentication & Library Installation: If you need to set up access to
the Data Manager API or install the client and utility libraries, refer to
the
data-manager-api-setupskill. - Audience Creation (if needed): If the user does not have an existing
audience or needs to create a new one, use the
Create an Audience reference. This step
provides the
product_destination_idneeded for the ingestion or removal requests.
Step 1: Identify Use Case & Read Documentation
- Determine Destination Account Type: [CRITICAL] If it's not clear where
the data is being sent (e.g., Google Ads, Display & Video 360, etc.), STOP
and CLARIFY with the user BEFORE generating any code. Do not assume Google
Ads by default. This maps to the
account_typefield of theoperating_accountin theDestination. - Read the implementation guide: Read the relevant guide for your destination and use case. Do this before answering questions or writing code because each destination has unique payload structures, consent rules, and required fields.
| Destination | Audience Type | Accepted Data Types | Upload Guide | Remove All/Replace All Guide |
|---|---|---|---|---|
| Google Ads | Customer Match | composite_data.user_data (contact info), mobile_data (device IDs), user_id_data (user IDs) |
Upload Data | Remove All/Replace All |
| Display & Video 360 (DV360) | Customer Match | composite_data.user_data (contact info), mobile_data (device IDs) |
Upload Data | Remove All/Replace All |
Step 2: Retrieve Code Sample
[!IMPORTANT] If writing or updating an ingestion script, ALWAYS retrieve the relevant code sample to use as a reference:
| Language | Sample |
|---|---|
| Python | ingest_audience_members.py |
| Java | IngestAudienceMembers.java |
| PHP | ingest_audience_members.php |
| Node | ingest_audience_members.ts |
| .NET | IngestAudienceMembers.cs |
Step 3: Retrieve Migration Guides
[!IMPORTANT] If refactoring code to upgrade from another Google API, ALWAYS extract the full contents of the relevant field mapping guide.
Google Ads
- Google Ads API Customer Match: Google Ads API to Customer Match Migration Field Mappings
Display & Video 360
- Display & Video 360 API Customer Match: Display & Video 360 API to Customer Match Migration Field Mappings
Step 4: Implementation
Implement the ingestion logic using the following checkpoints:
- Initialize Client: Instantiate the Data Manager client
(
IngestionServiceClient). - Define Destinations: Build the
Destinationobject using theproduct_destination_idand the appropriate account configurations:operating_account(target account receiving data),login_account(if authenticating using a manager account or a data partner account), andlinked_account(if you're a data partner accessing the account via a partner link to a manager account). **STR
الأسئلة الشائعة
هل تفترض أي منتج إعلاني أستخدم؟
لا. تسألك عن الوجهة قبل كتابة أي كود.
هل أحتاج إلى إعداد API أولًا؟
يمكن أن تحيلك المهارة إلى مهارة إعداد منفصلة للوصول ومكتبات العميل.
هل تساعدني في إنشاء جمهور جديد؟
نعم. إن لم يكن لديك جمهور بعد، تساعدك في إنشائه أولًا.
التفاصيل
الوصف الأصلي من المؤلف
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client libraries. Use this skill when the user wants to upload audience members, remove specific users, or clear/replace an entire audience for Customer Match, mobile device ID audiences, or any other audience use case supported by the Data Manager API. Don't use for uploading events or conversions (use the data-manager-api-event-ingestion skill).
repo: google/skills
الشعبية
- نجوم GitHub
- 22k
- الترتيب
- #10182
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
finding-google-skills
22kيساعد وكيلك على إيجاد أدلة Google المناسبة لمهمة إعداد، مثل الاستضافة وقواعد البيانات والتخزين وتسجيل الدخول وتقديم نماذج الذكاء الاصطناعي.
gcloud
22kيساعد وكيلك على كتابة أوامر gcloud الخاصة بـ Google Cloud والتحقق منها، والاطلاع على الصيغة الدقيقة قبل تشغيل أي شيء حتى لا يخمّن الخيارات.
google-cloud-recipe-auth
22kيرشد وكيلك خلال هوية Google Cloud والوصول إليها، بما في ذلك طريقة دخول الأشخاص والخدمات والأذونات التي يحصلون عليها.
google-cloud-recipe-onboarding
22kيرشد مطورًا جديدًا خلال الخطوات الأولى في Google Cloud، ويشمل اختيار المشروع وربط الفوترة ونشر أول مورد.
مهارات مشابهة
xurl
394kيساعد وكيلك على النشر والرد والبحث والقراءة على X، وإرسال الرسائل المباشرة ورفع الوسائط، باستخدام أداة xurl المصادَق عليها.
connections-optimizer
280kيحسّن روابطك على شبكات التواصل الاجتماعي. يقترح من تتابع ومن تلغي متابعته، ويساعدك على كتابة رسائل مخصصة لتوسيع شبكتك.
content-engine
280kينشئ محتوى لمنصات مختلفة. يساعد على إنتاج منشورات وسيناريوهات وتقاويم محتوى تناسب شبكات مثل X وLinkedIn وYouTube.