Efficiency pulling reports for many clients - Adwords API vs Google Ads API (PHP)

2018-09-20 Thread James Robinett
Hello,

TLDR version - is there a way to reuse the same Adwords session across 
multiple different client report downloads without rebuilding it?

Basically in this example: 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201809/Reporting/ParallelReportDownload.php#L91

You need to rebuild the session for each pass of the loop through clients: 
// Construct an API session for the specified client customer ID. $session = 
$sessionBuilder->withClientCustomerId($customerId)->build(); 
With the new Google Ads API, you can pass the CustomerId in after the 
session/authentication has happened, during the actual query:
$response = $googleAdsServiceClient->search($customerId, $query, ['pageSize' 
=> self::PAGE_SIZE]);
Doing a test run, downloading a simple campaign report for all our clients 
(over 1000), the old Adwords API takes over 1 hour, while the new Google 
Ads API takes around 20 minutes. I'm guessing there are several reasons for 
that but mainly it seems like having to rebuild the session for each client 
is a inefficient step. Is there anyway around that in the Adwords API as is?

I would love to use the new API to pull these reports but it doesn't 
support Gmail/Video campaigns yet, so we'll need to use the old one.

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6c1e72e2-815f-437b-a09a-3721d17413fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Ads Beta API - Display/Video Campaigns not showing up in query

2018-08-29 Thread James Robinett
Wow good timing! The just today released v0.3.0 supports Display Campaigns: 
https://developers.google.com/google-ads/api/docs/release-notes

I suppose Video is similarly waiting on support in a future version in that 
case then? 

On Wednesday, August 29, 2018 at 8:39:02 AM UTC-7, James Robinett wrote:
>
> Hi there, 
>
> I'm trying out the new Google Ads Beta API, running a very simple query to 
> grab a list of Campaigns:
>
> SELECT 
> campaign.id, 
> campaign.name
> FROM campaign
> WHERE campaign.status IN ("ENABLED", "PAUSED")
> ORDER BY campaign.id
>
> The result has all the expected Search campaigns for the requested 
> account, but doesn't include any Campaigns with Type = Display or Video.
>
> I've tried adding ad_network_type as a segment as well, but it still shows 
> the same list of Search Campaigns only. Also tried explicitly searching 
> WHERE campaign.name = "Display Campaign Name" but got no results.
>
> Am I missing something or is querying Display/Video campaigns not 
> supported yet?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/05b88d39-023d-4fd5-85b4-0f48eab962b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Ads Beta API - Display/Video Campaigns not showing up in query

2018-08-29 Thread James Robinett
Haha good timing I suppose! V0.0.3 support Display Campaigns 
now: https://developers.google.com/google-ads/api/docs/release-notes

I suppose Video is similarly waiting on support in a future version in that 
case then.

On Wednesday, August 29, 2018 at 8:39:02 AM UTC-7, James Robinett wrote:
>
> Hi there, 
>
> I'm trying out the new Google Ads Beta API, running a very simple query to 
> grab a list of Campaigns:
>
> SELECT 
> campaign.id, 
> campaign.name
> FROM campaign
> WHERE campaign.status IN ("ENABLED", "PAUSED")
> ORDER BY campaign.id
>
> The result has all the expected Search campaigns for the requested 
> account, but doesn't include any Campaigns with Type = Display or Video.
>
> I've tried adding ad_network_type as a segment as well, but it still shows 
> the same list of Search Campaigns only. Also tried explicitly searching 
> WHERE campaign.name = "Display Campaign Name" but got no results.
>
> Am I missing something or is querying Display/Video campaigns not 
> supported yet?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0e5aa2ce-5a85-4af2-af39-6a200c006d44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads Beta API - Display/Video Campaigns not showing up in query

2018-08-29 Thread James Robinett
Hi there, 

I'm trying out the new Google Ads Beta API, running a very simple query to 
grab a list of Campaigns:

SELECT 
campaign.id, 
campaign.name
FROM campaign
WHERE campaign.status IN ("ENABLED", "PAUSED")
ORDER BY campaign.id

The result has all the expected Search campaigns for the requested account, 
but doesn't include any Campaigns with Type = Display or Video.

I've tried adding ad_network_type as a segment as well, but it still shows 
the same list of Search Campaigns only. Also tried explicitly searching 
WHERE campaign.name = "Display Campaign Name" but got no results.

Am I missing something or is querying Display/Video campaigns not supported 
yet?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0f5575ed-12e5-4330-8e86-019f19c76c23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unlinking a Campaign Feed from a Campaign

2018-06-18 Thread James Robinett
Hi there,

I'm setting up an automated Dynamic Display Feed in an Adwords test account 
and ran into an issue. 

I've linked the feed to a test campaign and successfully created it so it 
show up in the UI. I then had to delete that feed and recreate it with some 
different data and attributes.

The feed shows as Removed in the UI, but when I use the CampaignFeedService 
to get all Campaign Feeds for the test account I see it show up as Enabled

This prevents me from creating a new Dynamic Display feed for the 
associated Campaign, since that Campaign already has a feed associated. I 
can't change the CampaignId of that feed since it's supposedly Removed 
(thought it shows as Enabled from the API) and I don't see a way to 
Reenable that feed through either the UI or API.

Since this is a test account I just set up a second Campaign to link the 
new Dynamic Display feed to, but it would be nice if I could clear out that 
old feed or at least remove the link between it and the Campaign I'd like 
to use.

Any way to accomplish this?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d04550da-6691-41a7-8929-aa58c1d3468d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Generating a URL to a Customer's Campaign Dashboard

2017-08-11 Thread James Robinett
Ah too bad. Thanks Sreelakshmi!

On Friday, August 11, 2017 at 2:18:19 PM UTC-7, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi James, 
>
> Deep linking is not supported in AdWords. You could use various reports 
>  
> supported by the AdWords API to get the relevant data.
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/24b7ff68-087c-41f2-8846-672982b1c685%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Generating a URL to a Customer's Campaign Dashboard

2017-08-11 Thread James Robinett

Hi all,

I'm working on a dashboard that aggregates all sorts of client data for 
internal use at my company. We want to include links to the various 
platforms that provide the data, including AdWords. Is there a way to 
dynamically generate the URL to a customer's All Campaigns Dashboard.

URL looks something 
like: 
https://adwords.google.com/cm/CampaignMgmt?authuser=0&__u=[U_ID]&__c=[C_ID]#r.ONLINE=cm

That __c param seems to be what specifies the customer to view, but it 
doesn't match the actual Customer ID. Is there a way through the API to 
retrieve the value for __c for a particular Customer ID? Or another way to 
link to a customer's campaign view using their ID?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d75e0dda-f70e-4ba4-a496-7cd4d83de494%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Search and Display totals from Adwords Reporting API

2015-09-28 Thread James Robinett
Thanks, Umesh!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ae98ee8c-ff82-456f-bd36-4f2b131c420c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Search and Display totals from API in CAMPAIGN_PERFORMANCE_REPORT

2015-09-24 Thread James Robinett

The main All Campaigns page includes each campaign's performance along with 
subtotals for Display and Search. Is there a way to get those subtotals in 
the CAMPAIGN_PERFORMANCE_REPORT from the API? Currently it only provides 
the Total for All Campaigns as the final row.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/09172eca-5d10-44ea-bafd-8bec90fdd3a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Search and Display totals from Adwords Reporting API

2015-09-24 Thread James Robinett
In the main All Campaigns view in Adwords, there's a table that includes 
each campaign's performance, the subtotals for Search and Display 
campaigns, and the total for all campaigns.

I'm using the API to download monthly CAMPAIGN_PERFORMANCE_REPORT CSVs but 
currently these only include the total for all campaigns as the final row. 
Is there a way to include the Search and Display subtotal rows in there as 
well?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4a5b615f-c43b-4473-bf0b-0e4a8e72524d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.