Group: http://groups.google.com/group/adsense-api/topics
- Error using google-api-python-client-1.0c1 [1 Update]
- accessing the relation between host channel and publisher [2 Updates]
- faq docs [1 Update]
- getAssociationStatus in v4.1 [1 Update]
- Accounts.adunits.insert request body valid values [1 Update]
- Johnny Hom <Johnny.Hom@demandmedia.com> Dec 11 07:43PM -0800
Hello,
I have a daily job using the Google Python Adsense API client calling report_service:
result = report_service.reports().generate(
startDate=eventStart, endDate=eventEnd,
filter=['AD_CLIENT_ID==' + ad_client_id],
metric=['EARNINGS', 'CLICKS', 'AD_REQUESTS', 'MATCHED_AD_REQUESTS', 'PAGE_VIEWS', 'INDIVIDUAL_AD_IMPRESSIONS'],
dimension=['DATE', 'AD_CLIENT_ID','DOMAIN_NAME'], #removing DOMAIN_NAME for supplemental report
sort=['+DATE']).execute()
In the past week, we have been experiencing corrupt data. Some rows are returning garbled data, some are merely chopping the last column 'INDIVIDUAL_AD_IMPRESSIONS'.
We run the job everday at 8AM PST. When we rerun the job at 9AM PST, it appears fine.
Is there any reason for the API to be acting strangely at this time of day?
Should we be upgrading to the latest release?
Any ideas or suggestions would be appreciated.
Johnny T. Hom
BI Applications Engineer, Data Insights Group
Demand Media
www.demandmedia.com<http://www.demandmedia.com/>
Kirkland, WA
5808 Lake Washington Blvd., Suite 300
Kirkland, WA 98033
email johnny.hom@demandmedia.com<mailto:johnny.hom@demandmedia.com>
phone 425-298-2344
mobile 425-894-7822
________________________________
Please NOTE: This electronic message, including any attachments, may include privileged, confidential and/or inside information owned by Demand Media, Inc. Any distribution or use of this communication by anyone other than the intended recipient(s) is strictly prohibited and may be unlawful. If you are not the intended recipient, please notify the sender by replying to this message and then delete it from your system. Thank you.
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Dec 11 07:12AM -0800
Hi there,
We don't actually have that information, as the channels are not associated
with the ad unit itself, but rather with the generated ad code, which is a
stateless process. This means we don't really store the knowledge of this
ad-hoc association on our end; rather we just record impression-time stats
that can be retrieved through reporting.
If you don't want to store this locally, you can always look into and parse
the generated ad code, which I assume you're storing already?
Cheers,
Sérgio
---
Sérgio Gomes
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
On Monday, 10 December 2012 08:04:59 UTC, Group Participant wrote:
- Group Participant <genieejeenee@gmail.com> Dec 11 04:30PM -0800
Your last sentence was the hint I needed; thank you very much.
2012年12月12日水曜日 0時12分56秒 UTC+9 Sérgio Gomes (AdSense API Team):
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Dec 11 07:20AM -0800
Hi there,
Yes, mostly because the FAQ needs some updating, but there are still some
valid sections which we're linking to, elsewhere in the docs, hence why we
didn't just remove it altogether.
I'll be taking a look through it, cleaning it up, and making it available
in the main docs again.
Cheers,
Sérgio
---
Sérgio Gomes
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
On Tuesday, 11 December 2012 06:48:41 UTC, Group Participant wrote:
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Dec 11 07:16AM -0800
Hi there,
This concept does indeed no longer exist in the new signup flow, since
hosts no longer need to collect information about the user and just get it
atomically upon completion of the signup process.
Cheers,
Sérgio
---
Sérgio Gomes
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
On Monday, 10 December 2012 08:59:05 UTC, Group Participant wrote:
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Dec 11 06:53AM -0800
Hi there,
Are you creating a new ad unit? If so, you shouldn't specify an id, as that
will be filled in by the service.
Here's the relevant Java
sample: http://code.google.com/p/google-api-java-client/source/browse/adsensehost-cmdline-sample/src/main/java/com/google/api/services/samples/adsensehost/cmdline/AddAdUnitToPublisher.java?repo=samples
Cheers,
Sérgio
---
Sérgio Gomes
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
On Monday, 10 December 2012 07:29:50 UTC, Group Participant wrote:
You received this message because you are subscribed to the Google Group adsense-api.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To post to this group, send email to adsense-api@googlegroups.com.
To unsubscribe from this group, send email to adsense-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.
No comments:
Post a Comment