Doctrine Before the WeaponMy Code of Conduct in Digital Marketing and AI
This is the digital marketing code of conduct I work by — my rules set down in writing, not to vouch for myself, but so that whoever reads them can hold me to them.
This is the digital marketing code of conduct I work by. And before I begin it, I offer you a salute.
Not a courtesy. In military custom a salute is not deference paid by the junior to the senior — it is a mutual acknowledgement that each of us knows his place and keeps to his limits. That is why an officer returns it to a private, and why it is not waived by difference in rank.
I offer it because you are about to read what I say about myself — and you are entitled to know where these rules come from before you read them.
In the armed forces, power without a moral doctrine turns into chaos.A rule I worked by before I knew this field
Doctrine before the weapon
This is not a decorative phrase. It is the foundation every army is built on. A weapon in the hands of a man without doctrine is not strength — it is a danger to the one carrying it before the one facing it.
Which is why the order of training is settled: discipline first, then the weapon. The weapon is not issued to anyone who has not passed the first. And the rule in training is that what a man endures in camp decides what he is worth in the field — a man who takes discipline lightly in peacetime takes duty lightly when it counts.
Doctrine is not a restraint on capability, as those who have never served tend to assume. It is the condition of its survival. A disciplined unit still has its capability after the first engagement. A unit that let its discipline go is beaten from the inside before the enemy reaches it.
I found that same rule, word for word, in a field where no one carries a weapon.
And the limit of the metaphor: this is not a war
Since I am borrowing the vocabulary of the military, honesty requires that I mark its limit before I borrow it.
“All warfare is based on deception.”Sun Tzu — The Art of War
That is true where it belongs. And it is precisely what does not belong here.
Deception is legitimate in war because the other party is an enemy who means you harm. The man in front of me in my work is no enemy — he is someone who trusted me with his money and his reputation because he has no way of judging what I do.
The enemy may be deceived. The client may not.
Anyone who borrows the discipline of that school and borrows its stratagems along with it has turned his clients into adversaries while believing he is doing well by them.
What I take from it is the discipline, the rules of engagement, the honesty of the report, and the responsibility that rank does not lift. The stratagem stays where it belongs — on a battlefield that does not exist in my work.
Why this field needs a code of conduct
Professions that touch people’s money have systems of accountability. A doctor answers to his board, an accountant to a regulator, a serving officer to a disciplinary code that does not do favours.
Digital marketing has none of that. No licence to withdraw, no register to be struck from, no body to answer to. Anyone who wants to present himself as an expert today needs nothing more than to say so.
That leaves the client facing a question he has no means of answering: how do I know this man is not using a method that will take my account down in six months?
Where no authority imposes a doctrine, what remains is for the practitioner to write his own and be held to it.
This document does not vouch for me — a man’s testimony about himself is not accepted. It is a document that can be used against me. If I breach a clause in it, there is a published text with a date on it.
Reconnaissance and intrusion — two lines that never meet
Military practice does not confuse two things, however similar their results:
Reconnaissance reads what is exposed, gathers what has been put on show, and builds its assessment on what can be seen. It is a duty, not a merit — a commander who engages without it has failed in his job.
Intrusion enters where it has no permission.
What separates them is not the difficulty of the act, nor the chance of being caught. It is that the first reads what was offered to it, and the second takes what was not.
This is the line I stop well short of
In “competitor analysis” the two get confused often, sometimes in good faith. So I set the boundary in plain terms:
| Legitimate reconnaissance | Intrusion I will not go near |
|---|---|
| Reading a competitor’s published site | Accessing an ad account |
| Analysing their search rankings | Entering an analytics dashboard |
| Studying ads they run in public | Viewing a client list |
| Examining their published content and prices | Any internal system |
| Analysis tools that work on open data | Buying data obtained that way |
A statement that admits no interpretation
Loose talk about “hacking” attaches itself to people who work in this field, and I think the answer to it is plainness rather than hints. So I will say it once, without qualification:
I am not a hacker. I do not work in any branch of hacking. I do not accept work that comes near it or prepares the ground for it.
I do not enter a system I have no permission to enter. I do not open an account that is not mine. I do not extract data from anywhere it was not offered. I do not buy information I know was obtained that way.
Anyone who asks me for that — client or otherwise — gets no, and the conversation ends there.
And I will add this: were I offered a project at twice my rate on condition that I cross that line, I would turn it down. Not because I fear exposure, but because a man who sells his line once has no line left to sell the second time.
Technical capability is not permission. A man who has the capability and nothing to stop him is short of doctrine, not skill.
Capability is earned by training. The limit is earned by doctrine.Working rule
A man with the first alone is a hazard on a delay.
Evidence before claim
Talking about integrity costs the speaker nothing. What costs something is publishing what harms you.
So I am not asking you to believe any of the above. I am asking you to check these five facts:
A tool that measured my own brand and reported zero
I built a tool called Digital Maraya that measures whether AI models know a brand and recommend it when asked about its field without being given its name.
I ran it on myself. The result was zero. They do not know me and do not recommend me. The result is published on this site exactly as it came — I did not delete it, soften it, or put a better number in its place.
A man who builds a measuring tool and then publishes his own failure in it has no reason to do so except that the measurement matters to him more than the image.
A tool that declares its limits to the user’s face
The same tool queries three models only, and does not include ChatGPT or Claude — no free programmatic access is available to either. That is written inside the tool where every user sees it, not in a terms page nobody opens.
Saying nothing would have been easier. Anyone reading “measures your visibility in AI models” would assume the best-known ones were included, and the assumption works in my favour. But a tool that hides what it does not measure is selling an illusion in a technical wrapper.
An AI assistant forbidden from praising me
This site runs an AI assistant called Azim. Its governing instructions contain an explicit clause:
You are strictly forbidden from stating that Ashraf — or any brand — appears in, is mentioned by, or is recommended by ChatGPT, Claude, Copilot or Perplexity.
The reason is written into the instructions themselves: a tool on this site measured that and published the result, and a claim contradicted by a tool on the same site is worse than a figure with no source.
So when my own assistant declines to praise me, that is a prohibition I wrote with my own hand against my own interest.
Statistics deleted because they had no source
The figures that circulate in this field are familiar: “an eight-fold return”, “sixty-three per cent of budgets are wasted”, “seventy-five per cent never go past the first page”. They pass from one site to the next until repetition becomes their source.
I removed them from my service pages and did not replace them with anything. A page with no figure is weaker as marketing and more honest as practice — and I chose the second.
The rule I have worked by since: no figure without a source I own.
A registered work, by name and number
I registered the AI Campaign Audit Tool as intellectual property with the UAE Ministry of Economy and Tourism — certificate no. 2706 of 2026, Copyright and Neighbouring Rights Department. The number is given here so you can verify it, not so you are impressed by it.
And let me state what the certificate does not mean: it is proof of ownership and date. It is not a permit to exploit or trade, and it does not protect the idea — protection covers the implementation, not the idea. That is the wording of the certificate itself, carried over as it stands, because inflating its meaning would have been the first breach of this document.
Rules of engagement
These lines are not crossed. Not at a client’s request, not under competitive pressure, and not for a project of any size.
I do not use personal data obtained by illegitimate means, and I do not build targeting on information its owner did not agree to have used. User privacy is not a clause in a contract — it is a limit that precedes the contract.
No unauthorised access to any system, account or dashboard. Not a competitor’s, not a former client’s, not a party to a dispute.
No manufactured traffic, no bought engagement, no fake accounts, no metrics built to improve the look of a report. A good report is not the one with the biggest numbers, but the one a decision can be made on and turn out right.
No fabricated reviews, no impersonating a customer, no smear campaign against a competitor. Reputation is built by better service — slower, but it stays.
AI is not used to impersonate a person, to generate a testimonial nobody gave, or to manufacture a consensus that does not exist.
No strategy is built on circumventing a platform’s policy. We may disagree over reading a clause — but the difference between a judgement call on interpretation and a plan founded on breach is known to the man making it before anyone else.
No guarantee of a search position, no guarantee of a number of customers, no guarantee of an outcome. Anyone who guarantees you first place either does not understand how search engines work, or understands them and knows that you do not.
The grey area — and who benefits from its vagueness
People say this field has a “grey area” that is hard to judge. That is true of some of it, and overstated for most.
Most of what gets called grey is not unclear to the person doing it. It is unclear to the person it is being done for. Vagueness is not a property of the act — it is a space inhabited by people who would rather not be asked.
So I do not test a method by asking “is this explicitly against the rules?” That is the question of a man looking for a way out. I test it with two questions:
First: can I explain it in full to the client, to the platform, and to any professional body — without leaving out a single detail?
Second: if it came to light tomorrow, would it harm the client I did it for?
If the answer to the first is no, or to the second is yes, then the area is not grey. It is perfectly clear, and I was the one trying not to see it.
And when the client himself asks for the questionable route
It happens. And the request usually comes without bad intent — a man has heard there is a faster road, and does not know its price.
My duty then is not refusal alone. It is to explain what he cannot see: that the result will come, that it will go, and that what remains is the suspended account, the burnt domain, or the reputation that is hard to repair.
Refusal without explanation is disdain. Explanation with refusal is advice.
Discipline — the line between automation and manipulation
Automation is not the problem. It is among the most useful things in this field: thousands of rows processed in seconds, a repetitive task run without error, and time freed for work that needs a mind.
The dividing line is a single question: what does the automation do to reality?
| Speeds up something that genuinely happens | Development |
| Manufactures activity that never happened | Manipulation |
Same tool, same code, same technical competence. The whole difference is in the intent and the effect.
Discipline is what remains when the supervisor is gone.Military custom
Artificial intelligence — a double-edged weapon
AI tools have made one person capable of what used to take a team. I use them to the fullest: data analysis, audience research, market research, developing ideas, automating processes, analysing sites, improving content, and building the tools themselves by hand.
Greater capability means greater responsibility, not less.
A model is wrong with confidence. It gives you a figure with no source in the voice of certainty, invents a reference in correct form, and offers a conclusion that is sound in shape and rotten at the base — and it does not tell you when it has done so.
Hence: the output is a draft, not a result. It is reviewed, every figure and every source in it is verified, and the responsibility stays with the man who signed it, not the machine that produced it.
Rank does not lift accountability, and a tool does not lift responsibility.Working rule
Anyone who hands a client an output he has not read has not used AI — he has used it as cover for not doing the work.
Situational appreciation — and what I cannot promise you
Disciplined work does not begin with execution. It begins with an appreciation of the situation: what the position is, what is available, what the realistic timeframe is, and what cannot be guaranteed at all.
What gets hidden most in this profession is not what we do, but what we cannot do. So I state it:
- Google AdsVisits and calls within 24 to 48 hours, but judging the campaign takes two to four weeks.
- Meta AdsEngagement from the first days, real conversions from week three or four, and the true result from month two.
- SEOThree to six months for real effect, longer in crowded sectors. The shortest sensible engagement is six months, and anyone promising you less is selling you time, not results.
- Google Maps & local presenceFour to eight weeks.
- Content marketingEngagement from month one, search results from month two to four.
- Website designThree to six weeks, and a single landing page in one to two weeks.
- Building AI toolsTwo to six weeks depending on scope.
These timeframes are written on my service pages, so any promise faster than them creates a contradiction you can see with your own eyes on this same site.
Error of judgement and error of intent
I do not claim I get nothing wrong. Anyone who claims that has already got the first sentence wrong.
But there is a distinction anyone who has served knows:
An error of judgement is reading the situation with the information you have and reading it wrong. It happens, it is corrected, it is learned from, and it goes into the report as it is, without cosmetics.
An error of intent is knowing and doing it anyway.
The first gets reviewed. The second never does, because the man responsible never files it.
A report that hides the loss protects nobody — it only postpones it until it grows.Military custom
Verify it yourself — now
Do not believe any of the above. Check it:
- Run Digital Maraya on my own brand. The tool is on this site, and my result in it is published.
- Open any of my tools and read what it says it does not do. The limits are written inside each one.
- Ask the AI assistant whether Ashraf appears in ChatGPT. You will get an answer against my interest, because I wrote that into its instructions.
- Verify the intellectual property certificate by its number with the Ministry of Economy and Tourism.
- And ask me to walk you through a method I have used. If I cannot explain it in front of you, or in front of the platform, or in front of any professional body — it is a method I should never have used in the first place.
What this means in practice if you work with me
I may disagree with you. I may tell you your idea will not give you what you expect. I may refuse to run a method I consider misleading, however much you insist. And I may tell you the result needs time rather than hand you a quick promise that suits you today and costs you in two months.
I may point you towards what earns me less: if you need customers quickly, SEO is not your answer right now and advertising suits your stage better — and I will say so even if you came asking for SEO.
This is not making things difficult. It is the difference between a man who sells you what you asked for and a man who gives you what you need.
I work in a field that changes every year: new tools, new platforms, algorithms rewritten, and AI moving faster than anyone can comfortably follow.
One thing I do not want to change: the doctrine I work by. Tools change and methods change, and a doctrine that changes was never a doctrine — it was a circumstance.
Build a result you can defend,
a reputation you can keep,
and work you never need to hide the method behind.
And if you find anything in my work that contradicts what is written in this code of conduct, tell me. This document is worth nothing if it cannot be used against me.
And I close as I began — with a salute.
Dubai, United Arab Emirates