ads-yelp
Skill1 starsChanged 5 days agoMITView on GitHub
Integrate Yelp Ads measurement through Yelp Conversions API, Yelp click-ID attribution, and Yelp partner advertising APIs.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- itsryanarmani/skillsword for word, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- itsryanarmani/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository325 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accept-x402-paymentsSkill
- ad-auto-optimizerSkill
- ad-conversion-hubSkill
- ad-creative-generationSkill
- ad-creative-templatesSkill
- ad-experimentsSkill
- ad-image-prompt-librarySkill
- adobe-express-addonSkill
- ad-platform-credentialsSkill
- ads-amazonSkill
- ads-apple-searchSkill
- ads-baiduSkill
- ads-bilibiliSkill
- ads-chatgptSkill
- ads-copilotSkill
- ads-criteoSkill
- ads-discordSkill
- ads-douyinSkill
- ads-googleSkill
- ads-hotstarSkill
- ads-kakaoSkill
- ads-kuaishouSkill
- ads-lgSkill
- ads-lineSkill
- ads-linkedinSkill
- ads-mercadolibreSkill
- ads-meta-aiSkill
- ads-metaSkill
- ads-microsoftSkill
- ads-mojSkill
- ads-naverSkill
- ads-nextdoorSkill
- ads-outbrainSkill
- ads-perplexitySkill
- ads-pinterestSkill
- ads-quoraSkill
- ads-redditSkill
- ads-rokuSkill
- ads-samsungSkill
- ads-sharechatSkill
- ads-shopeeSkill
- ads-snapchatSkill
- ads-spotifySkill
- ads-stackadaptSkill
- ads-stravaSkill
- ads-taboolaSkill
- ads-tencentSkill
- ads-tiktokSkill
- ads-trade-deskSkill
- ads-twitchSkill
- ads-vkSkill
- ads-wazeSkill
- ads-weiboSkill
- ads-xiaohongshuSkill
- ads-xSkill
- ads-yahoo-japanSkill
- ads-yandex-directSkill
- agent-avatar-systemSkill
- agent-browser-consolesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 16 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use ad-conversion-hub for the canonical event envelope, consent gate, identity rules, retry policy, and adapter contract.
- Distinctive: line 29
Create an app and copy its Client ID.
- Distinctive: line 31
Wait for Yelp to enable the app's API key for the Conversions API.
- Very specific: line 37
Use a local server-only secret such as YELP_CAPI_API_KEY.
- Distinctive: line 48
Ask a Yelp account representative or Solutions Engineer for access.
- Distinctive: line 50
Test the program lifecycle against those test listings.
- Very specific: line 53
Test credentials use a username and password against https://partner-api.yelp.com/v1/.
- Distinctive: line 57
Do not add OAuth scopes to this Ads API adapter.
- Distinctive: line 66
If using GTM, send GA4 events to a server-side container and install Yelp's server-side Conversion API template.
- Very specific: line 150
Use the hub's bounded retry and dead-letter policy.
- Distinctive: line 203
Use the hub's canonical event ID for retries and any separate collection route.
- Distinctive: line 204
Keep the event name stable for one conversion.
- Distinctive: line 219
Do not add a conversion rule ID, pixel ID, OAuth scope, or console toggle unless Yelp supplies it for the account.
- Distinctive: line 230
If the account has Reporting API access, request reports through the Yelp representative.
- Distinctive: line 233
Do not use the Reporting API as proof of pixel or store-visit attribution.
- Distinctive: line 238
Keep the Yelp API key in a server-only adapter secret.
- Distinctive: line 240
Do not send a raw email, phone, name, or other field marked hashed.
- Very specific: line 242
Do not hash ylpcid. Yelp requires the click ID unmodified and unhashed.
- Distinctive: line 244
Do not send a purchase before payment confirmation.
- Very specific: line 246
Do not interpret 202, a valid API key, or a stored event as ad attribution.
- Very specific: line 248
Do not retry with a new event_id after an uncertain response.
- Distinctive: line 250
Keep the API key in the server secret store.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Yelp Ads
Yelp has a Conversions API, but Yelp does not document self-serve activation for it. Yelp says the product is intended for businesses with 10 or more locations, and asks interested advertisers to work with a Yelp Sales or Customer Success representative. Smaller businesses may not receive attribution reporting. See Yelp Conversions API availability and access.
Yelp also has a separate Advertising API. No open self-serve access is documented for it. It is a Partner API with access disabled by default. Its documented endpoints manage advertising programs; conversion ingestion is documented separately in CAPI. See Yelp Ads API access and scope and Yelp Conversions API.
Use ad-conversion-hub for the canonical event envelope, consent gate, identity rules, retry policy, and adapter contract. Pair this skill with ad-experiments for one-audience tests, seed sizing, and PII-export authorization.
Account and access
For Yelp Conversions API access, follow the sequence in Yelp's CAPI data-access guide:
- Sign in to Yelp developer app management.
- Create an app and copy its Client ID.
- Send the Client ID to the assigned Yelp Customer Success representative.
- Wait for Yelp to enable the app's API key for the Conversions API.
Yelp's guide says the API key is required, should be treated as secret, and can be refreshed after a compromise. The key is not usable for CAPI until Yelp enables it. See Yelp CAPI data access.
Use a local server-only secret such as YELP_CAPI_API_KEY. This name is an
adapter convention, not a Yelp parameter. Never put the key in browser code,
URLs, logs, screenshots, or commits.
The separate Yelp Advertising API uses Basic HTTP authentication over SSL and the credentials used for Yelp's Data Ingestion API. Yelp says access is disabled by default and requires working with the Yelp account team. See Yelp Advertising API authentication.
The Ads API onboarding guide describes a managed two-phase route. See Yelp Ads API onboarding.
- Ask a Yelp account representative or Solutions Engineer for access.
- Receive test credentials and Yelp-provided test business IDs.
- Test the program lifecycle against those test listings.
- Request live credentials after Yelp validates the integration.
Test credentials use a username and password against
https://partner-api.yelp.com/v1/. Live credentials are tied to the active Yelp
payment account. See Yelp Ads API onboarding.
Do not add OAuth scopes to this Ads API adapter. The current Ads API guide documents Basic authentication, not OAuth. See Yelp Ads API authentication.
Client-side tag
The current Yelp CAPI guide documents a server-side Google Tag Manager template. It does not provide a Yelp browser pixel snippet, browser SDK, or public pixel ID for this integration. Do not invent one. See Yelp GTM CAPI integration.
If using GTM, send GA4 events to a server-side container and install Yelp's
server-side Conversion API template. Yelp says the template uses the API under
the hood and handles normalization and hashing. Set the GTM
first_party_collection field to true when passing user data to the server
container. See Yelp's GTM setup.
Yelp's guide recommends the direct API or S3 method when possible because GTM debugging can be cumbersome. See Yelp's transfer-method guidance.
Rule setup and event mapping
The direct CAPI schema requires event_time, event_name, action_source, and
custom_data. user_data is optional. Direct event_name values are purchase,
lead, or a custom name prefixed with custom_; names are limited to 50
characters. action_source accepts app, physical_store, or website. See
Yelp's CAPI schema.
The server-side GTM template separately maps standard GA4 names such as
checkout, purchase, lead, view_content, and signup. Other names receive
a custom_ prefix in that template. See Yelp's published GTM event mappings.
| Hub event | Direct API event_name | GTM event name | Dispatch rule |
page_view | No conversion name | Not a documented CAPI goal | Keep in first-party analytics. Yelp says not to send page views when measuring a transaction. |
view_content | custom_view_content | view_content | Send only when this event is a measured conversion. |
lead | lead | lead | Send after the lead is accepted. |
signup | custom_signup | signup | Send after account creation succeeds. |
begin_checkout | custom_begin_checkout | checkout | Send only if checkout start is a measured goal. |
purchase | purchase | purchase | Send after the payment provider confirms the charge. Include custom_data.value for ROAS. |
subscription_start | custom_subscription_start | No documented mapping | Send only if the advertiser has chosen this custom goal. |
refund | No documented name | No documented mapping | Reconcile with payment truth. Do not dispatch an invented Yelp refund event. |
The custom names follow Yelp's documented custom_ rule, and the GTM names
follow its published template mapping. These are separate routes. See Yelp event names.
Server-side conversions API
Yelp documents two POST endpoints. The single endpoint accepts one conversion;
the bulk endpoint accepts an events array with up to 1,000 events per request.
Successful requests return 202 Accepted. Yelp recommends bulk requests above
100,000 events per day. See Yelp CAPI endpoints and limits.
The documented request uses a Bearer API key and wraps one event in event. See Yelp's single-event example:
POST https://api.yelp.com/v3/conversion/event
Authorization: Bearer <YELP_CAPI_API_KEY>
Content-Type: application/json{
"event": {
"event_id": "<CANONICAL_EVENT_ID>",
"event_time": 1693946978,
"event_name": "purchase",
"action_source": "website",
"user_data": {
"em": ["<SHA256_EMAIL_HEX>"],
"ylpcid": "<YELP_CLICK_ID>"
},
"custom_data": {
"value": 10.0,
"currency": "USD",
"order_id": "<ORDER_ID>"
}
},
"test_event": true
}The bulk endpoint uses the same event schema inside an events array. See Yelp's bulk-event example:
POST https://api.yelp.com/v3/conversion/events
Authorization: Bearer <YELP_CAPI_API_KEY>
Content-Type: application/jsonYelp documents test_event as an optional Boolean. When true, Yelp runs
normal validation without submitting the data to production. Omitting it means
production behavior. Each endpoint accepts up to 100 requests per second and
50,000 requests per day. See Yelp CAPI testing and rate limits.
Use the hub's bounded retry and dead-letter policy. Keep the same
event_id when retrying a request whose final result is unknown. See Yelp's deduplication rule.
Identity and consent
Apply the hub's consent gate before collecting or hashing ad-user data. Yelp requires SHA-256 hashing for fields marked hashed and says its system prevents unhashed personal identification data from being processed. See Yelp hashing requirements.
For direct API submissions, normalize values as Yelp documents, then hash the fields that require hashing. See Yelp's normalization and hashing rules:
- Email: lowercase and trim leading or trailing spaces.
- Phone: send 11 digits with a leading
1, without punctuation or+. - First and last name: lowercase, with spaces and punctuation removed.
- Birth date:
YYYYMMDD. - Country: lowercase two-character ISO-3166 code.
- Postal code: lowercase alphanumeric characters only.
- IP address and user agent: do not hash.
Yelp's schema marks these fields as normalized or hashed and marks IP address and user agent as not hashed. Use only the fields relevant to the measured conversion. See Yelp normalization and field constraints.
Yelp documents em, ph, fn, ln, db, ge, country, st, zp, ct,
and external_id in user_data. madid is for mobile events. lead_id is
relevant only when using Yelp's Leads API. See Yelp user-data fields.
Click ID and first-party storage
Yelp appends the ylpcid query parameter to a destination URL when a user
clicks a Yelp ad. Capture it on the landing request, store it in your own
first-party session or cookie storage, and send it in user_data.ylpcid. Yelp
says to send this value exactly as received. Do not modify, truncate, or hash
it. See Yelp Click ID guidance.
Yelp says ylpcid can directly match a conversion to the ad click and can
improve attribution for users who are not logged in. The CAPI schema marks
ylpcid optional, so do not block a confirmed conversion when the parameter is
absent. See Yelp attribution matching guidance.
Yelp's public guide does not state a ylpcid lifetime. See Yelp's Click ID documentation. Do not promise a
30-day, seven-day, or other attribution window. Store it for the period defined
by your consent and measurement policy.
Deduplication
Yelp recommends event_id and says it combines event_id with event_name to
form the deduplication key. event_id is optional, must be at most 128
characters, and should uniquely identify one conversion. Without it, Yelp says
it cannot deduplicate. Reusing one ID across multiple conversions can lose
data. See Yelp CAPI deduplication.
Use the hub's canonical event ID for retries and any separate collection route. Keep the event name stable for one conversion. Yelp does not document a browser-pixel/server-event deduplication contract in this guide. See Yelp CAPI deduplication. Do not invent one.
Yelp settings that override code
- Yelp must enable the app's API key before CAPI requests can work. Yelp says an
inactive or incorrect key can produce
404; missing or invalid auth can produce401. See Yelp CAPI access errors. - A malformed payload or un-hashed required field can produce
400. A rate limit breach can produce429. See Yelp CAPI errors. - CAPI availability and attribution reporting depend on the advertiser's eligibility and Yelp representative. See Yelp CAPI availability.
- Yelp's Advertising API is separately gated. Do not assume Ads API credentials grant CAPI access. See Yelp API access separation and Yelp CAPI activation.
Do not add a conversion rule ID, pixel ID, OAuth scope, or console toggle unless Yelp supplies it for the account. The fetched CAPI guide documents an API key, not those fields. See Yelp's current CAPI guide.
Verification
- Send a minimal payload with
test_event: true. Record the redacted request, response status, canonical event ID, and consent decision. Yelp says test mode validates the request without sending it to production. See Yelp test events. - For production, treat
202 Acceptedas request acceptance. Reconcile the event with the succeeded payment, lead, or signup record. See Yelp API response behavior. - If the account has Reporting API access, request reports through the Yelp representative. Reporting API access has separate setup from Ads API and Data Ingestion API access. See Yelp Reporting API access.
- Do not use the Reporting API as proof of pixel or store-visit attribution. Yelp says those signals are not reflected in that API today. See Yelp Reporting API limitations.
Common pitfalls and security
- Keep the Yelp API key in a server-only adapter secret. Yelp's CAPI guide calls it an API key, not a browser pixel or OAuth credential. See Yelp CAPI data access.
- Do not send a raw email, phone, name, or other field marked hashed. Yelp can reject fields that are required to be hashed. See Yelp field validation.
- Do not hash
ylpcid. Yelp requires the click ID unmodified and unhashed. See Yelp Click ID requirements. - Do not send a purchase before payment confirmation. Use payment-provider truth for purchase and refund reconciliation.
- Do not interpret
202, a valid API key, or a stored event as ad attribution. Confirm the account's Yelp reporting path. See Yelp CAPI response and reporting guidance. - Do not retry with a new
event_idafter an uncertain response. That can defeat Yelp's documented deduplication key. See Yelp CAPI deduplication. - Keep the API key in the server secret store. Yelp says not to give it to unauthorized users and provides a refresh action if it is compromised. See Yelp API key handling.
- A vendor failure must not fail checkout or a payment webhook. Record the failure, apply the hub retry policy, and dead-letter after the hub limit.
Official sources checked (2026-08-31)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

