|
Make Cents of Adsense
Saturday, April 20, 2024
Learn more about our updated Terms of Service
Tuesday, August 22, 2023
Digest for adsense-api@googlegroups.com - 2 updates in 1 topic
- Beginner's question: PHP & AdSense API - 2 Updates
Adrien Hingert <ahingert@gmail.com>: Aug 20 03:15AM -0700 Hi, I'm trying to write a PHP script which will allow a server to pull AdSense data when it's run. I managed to get this working via Google Sheets & App Script, but I'm having trouble even understanding how to authenticate when doing so via PHP. Could somebody point me to a step-by-step process which will allow me to authenticate my server-side script and pull a basic dataset from AdSense? Some questions I have: - What credentials do I need? (API Keys, OAuth 2.0 Client IDs, Service Accounts...) - Where do I get these? (here <https://console.cloud.google.com/apis/credentials>?) - Any specific configuration I need? - Can you show me the barebones PHP code which will take these credentials and authenticate the script? I'm sure I'm not the first person to run into this type of problem, but for the life of me, I can't find a clear explanation of what I'm doing wrong. |
Ad Sense API <adsenseapi@forumsupport.google>: Aug 21 09:08AM Hi Adrien, Thanks for your email. I'd recommend starting with the documentation at https://developers.google.com/adsense/management/getting_started. That includes pages discussion OAuth (https://developers.google.com/adsense/management/direct_requests#OAuth2Authorizing), and links to PHP sample code (https://developers.google.com/adsense/management/libraries). I hope that helps, Andrew (AdSense API team) ref:_00D1U1174p._5004Q2o6wEK:ref |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |
Saturday, August 5, 2023
Updating our Google Account inactivity policy
|
Saturday, July 22, 2023
Digest for adsense-api@googlegroups.com - 5 updates in 2 topics
- AdSense Management API: Creating Custom Channel 403 Error - 4 Updates
- New Custom Channel Creation via API - 1 Update
Steve Schau <fastitteam@gmail.com>: Jul 20 05:44PM -0700 Hello I implemented the feature creating cuustom channel via api following the API doc, it returns 403 PERMISSION_DENIED. https://developers.google.com/adsense/management/reference/rest/v2/accounts.adclients.customchannels/create#authorization-scopes I tried with API explorer, it returns same error. The get/list APIs work well though. I've read a post that says only solution is to contact Adsense API team. But I don't know how to contact. Any help would be appreciated! Thanks |
Goran Aleksic <agencijaspecihost@gmail.com>: Jul 21 05:21AM -0700 Help page you linked says: *> This method can only be used by projects enabled for the AdSense for Platforms product.* https://developers.google.com/adsense/platforms/ Is AdSense for Platforms enabled on your project? https://developers.google.com/adsense/platforms/register-interest |
Steve Schau <fastitteam@gmail.com>: Jul 21 06:17AM -0700 It's AdSense Management API(https://developers.google.com/adsense/management/reference/rest), not AFP api (https://developers.google.com/adsense/platforms/api/) On Friday, July 21, 2023 at 5:21:52 AM UTC-7 Goran Aleksic wrote: |
Goran Aleksic <agencijaspecihost@gmail.com>: Jul 21 06:46AM -0700 Here is what I see when I click on link you posted in your first message: [image: 230721-154019.png] |
Steve Schau <fastitteam@gmail.com>: Jul 20 05:15PM -0700 Hello, Team I'm trying to create new custom channel via adsense management api. It returns 403 (PERMISSION_DENIED). All read operations work well. I've read a post, where the poster says it has a allowlist, I need to get something approved/allowed in order to use the channel creation api. Thanks in advance |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |
Tuesday, July 18, 2023
Digest for adsense-api@googlegroups.com - 4 updates in 1 topic
Mayank Agrawal <mayank.agr@media.net>: Jul 17 10:39AM -0700 We fetch adsense reports using GET https://adsense.googleapis.com/v2/{account=accounts/*}/reports:generateCsv <https://notifications.google.com/g/p/ADa0GC94EDc7eWXMdk649XBWeV6EYpFlhLXpgM-ooQa0n0cxfqC3WZSWX8P6Xgq2KInDQhMI6Ss96o-P97vC57oHL2LMN-egSrt9Osx22FvRvEU-pZghRYmCUWK_FHQeecX8o8MZ2o_bKieHQfGMW4ey8b_fHE9-3ASkRhk4I5ec83sXHCqSkNnh78JfuZtnYyG_1qW2-JeWGPk9ukL6Qv5ySI86qAiunN99m9nr2QMirwAzJ598BKoiVCS0> Since last 1-2 hours this api is giving error : 500 "Internal error encountered." . It seems that if I remove the metric : "ADS_PER_IMPRESSION" then it works Earlier it used to work fine with that metric also. Sample call to reproduce: https://adsense.googleapis.com/v2/accounts/{account-id}/reports:generateCsv?dateRange=YESTERDAY&dimensions=DATE&dimensions=ACCOUNT_NAME&dimensions=AD_CLIENT_ID&metrics=IMPRESSIONS&metrics=CLICKS&metrics=ADS_PER_IMPRESSION |
Ad Sense API <adsenseapi@forumsupport.google>: Jul 17 06:10PM Thank you for the report. Our engineers are looking into the problem. Regards, Malcolm (AdSense API team) ref:_00D1U1174p._5004Q2n8bdL:ref |
Ad Sense API <adsenseapi@forumsupport.google>: Jul 17 08:12PM We apologize for any inconvenience this may have caused. Our engineers believe this should have been resolved as of approximately 19:20 UTC today. Please let me know if you're continuing to see errors from reports involving the ADS_PER_IMPRESSION metric. Regards, Malcolm (AdSense API team) ref:_00D1U1174p._5004Q2n8bdL:ref |
Mayank Agrawal <mayank.agr@media.net>: Jul 17 08:13PM -0700 Yes, it has resolved now. Thank you for the quick response. On Tuesday, July 18, 2023 at 1:42:22 AM UTC+5:30 Ad Sense API wrote: |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |
Saturday, June 10, 2023
Digest for adsense-api@googlegroups.com - 1 update in 1 topic
Andrei Lozhkin <andrei.lozhkin@anymindgroup.com>: Jun 08 10:10PM -0700 Apparently, channel creation via the API is controlled by an allowlist which can be changed only from the Google side as of now. So if you face the same issue, the only solution is to contact the AdSense API team. On Friday, May 26, 2023 at 12:57:20 AM UTC+7 Goran Aleksic wrote: |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |
Sunday, May 28, 2023
Your post titled "Digest for seo-professionals@googlegroups.com - 10 Messages in 5 Topics" has been unpublished
As you may know, our Community Guidelines
(https://blogger.com/go/contentpolicy) describe the boundaries for what we
allow-- and don't allow-- on Blogger. Your post titled "Digest for
seo-professionals@googlegroups.com - 10 Messages in 5 Topics" was flagged
to us for review. We have determined that it violates our guidelines and
have unpublished the URL
http://makeadsensecents.blogspot.com/2012/07/digest-for-seo-professionalsgooglegroup_16.html,
making it unavailable to blog readers.
Why was your blog post unpublished?
Your content has violated our Malware and Viruses policy. Please visit
our Community Guidelines page linked in this email to learn more.
If you are interested in republishing the post, please update the
content to adhere to Blogger's Community Guidelines. Once the content is
updated, you may republish it at
https://www.blogger.com/go/appeal-post?blogId=6414453414904708091&postId=4392158939985125591.
This will trigger a review of the post.
For more information, please review the following resources:
Terms of Service: https://www.blogger.com/go/terms
Blogger Community Guidelines: https://blogger.com/go/contentpolicy
Sincerely,
The Blogger Team