403- request has insufficient authentication scopes

2020-09-17 Thread naresh kumar


[image: image_2020_09_17T14_58_52_578Z-1.png]

Hi,

I want to link and view the analytics account linked with Google Adwords.  

Procedure used:
# Authenticating google account with scopes "Ananlytics and Adwords" with 
following url 
https://www.googleapis.com/auth/adwords 
https://www.googleapis.com/auth/analytics
# After getting the authentication response creating Google analytics service 
object.
# Google ads link API throwing error "Insufficient Premissions" screenshot 
attached

Script :


https://accounts.google.com/o/oauth2/token');
curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$Rec_Data = curl_exec($ch);

if (curl_exec($ch) === false) {
return $Rec_Data;
}

$Rec_Data = json_decode($Rec_Data, true);

if (isset($Rec_Data['refresh_token'])) {

try {

$credentials = array('client_id' => 
Configure::read('GOOGLE_OAUTH_CLIENT_ID'), 'client_secret' => 
Configure::read('GOOGLE_OAUTH_CLIENT_SECRET'), 'redirect_uris' => 
array(Configure::read('GOOGLE_OAUTH_REDIRECT_URI')));

$client = new 
\Google_Client($credentials);


$client->addScope(\Google_Service_Analytics::ANALYTICS_READONLY);

$client->setAccessToken($Rec_Data['access_token']);

// Create an authorized 
analytics service object.
$analytics = new 
\Google_Service_Analytics($client);




} catch (Exception $e) {
echo 'Caught exception: ', 
$e->getMessage(), "\n";
die();

}

}
} else {
if (!empty($id)) {

header("Location:https://accounts.google.com/o/oauth2/auth?response_type=code_id=;
 . Configure::read('GOOGLE_OAUTH_CLIENT_ID') . "_uri=" . 
Configure::read('GOOGLE_OAUTH_REDIRECT_URI') . 
"_type=offline_prompt=force=" . $id . 
"=https://www.googleapis.com/auth/adwords 
https://www.googleapis.com/auth/analytics;);
exit;
}
}
}

//function to fetch linked account list
function adwordsLinkAnalytics($analyticsAuth) {
$this->autoRender = false;


try {
$adWordsLinks = 
$analyticsAuth->management_webPropertyAdWordsLinks

->listManagementwebPropertyAdWordsLinks('123456', 'UA-123456-1');

} catch (apiServiceException $e) {
print 'There was an Analytics API service error '
. $e->getCode() . ':+' . $e->getMessage();
exit;

} catch (apiException $e) {
print 'There was a general API error '
. $e->getCode() . ':-' . $e->getMessage();
exit;
}
pr($adWordsLinks);
exit;

}



Required result: List of the Ananlytics account linked with Adwords account.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0a9da1c4-cf4a-45db-9bf3-68b61a127fe3o%40googlegroups.com.


Re: Linking Google Ads account with Analytics - how to turn on views

2020-09-05 Thread Naresh Kumar
@Daniel Fogt

Did you find any solution to this issue?


On Monday, 21 October 2019 at 13:42:13 UTC+5:30 adsapiforumadvisor wrote:

> Hi Daniel,
>
> Thank you for posting your concern.
>
> However, unfortunately, we can't comment on the Google Analytics API as 
> this is out of scope for our team. With this, I would suggest you to reach 
> out to their team via this email alias, analyticsa...@google.com.
>
> Feel free to get back to us once you have any concerns related to the 
> AdWords API or Google Ads API.
>
> Regards,
> Hiroyuki
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UKNwAf:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8700ecff-0813-4ffe-a7bc-6658fce3200cn%40googlegroups.com.


Automate process to link Google Adwords account with Google Analytics

2020-09-05 Thread Naresh Kumar

Note - Below all these points I am doing manually, I want to make it 
automatically with programming.

I am downloading the report from Google Adwords and Google Analytics 
account after user authentication through the OAuth process and service 
account ID.

I have several questions regarding "google-cloud-iam"

Is this below points are possible programmatically via "google-cloud-iam" 
any type of API?

 1. Do Link Google Adwords account with Google analytics (Users are using 
the same Gmail account for AdWords and Analytics account)
 2. Create a project in the cloud google console, enable "Analytics API", 
create a service account, and download the P12 Key at the server-side or 
client-side.
 3. Add Service account id in Google Analytics user management 
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bd0abdb9-5de5-499f-a454-ef667a0b98d9n%40googlegroups.com.


Use "google-cloud-iam" rest api to automatically generate reports

2020-09-05 Thread Naresh Kumar

Note - Below all these points I am doing manually, I want to make it 
automatically with programming.

I am downloading the report from Google Adwords and Google Analytics 
account after user authentication through the OAuth process and service 
account ID.

I have several questions regarding "google-cloud-iam"

Is this below points are possible programmatically via "google-cloud-iam" 
any type of API?

 1. Do Link Google Adwords account with Google analytics (Users are using 
the same Gmail account for AdWords and Analytics account)
 2. Create a project in the cloud google console, enable "Analytics API", 
create a service account, and download the P12 Key at the server-side or 
client-side.
 3. Add Service account id in Google Analytics user management 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0d4f36a0-1db6-4038-9b81-15a73b973dedn%40googlegroups.com.


Manual process to automate via google adwods/analytics api

2020-09-05 Thread Naresh Kumar
*Imp - Below these all processes I am doing with the manually, I want to 
make it automatically with programming. *

I want to download the report from Google Adwords and Google Analytics 
account after user authentication through the OAuth process and service 
account ID. 

I have several questions regarding "*google-cloud-iam*"

Is this below points are possible programmatically via "*google-cloud-iam*" 
any type of API?

 1. Do Link Google Adwords account with Google analytics (Users are using 
the same Gmail account for AdWords and Analytics account)
 2. Create a project in the cloud google console, enable "Analytics API", 
create a service account, and download the P12 Key at the server-side or 
client-side.
 3. Add Service account id in Google Analytics user management 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c755ed48-cd88-4f9e-b809-8a25bacbba09n%40googlegroups.com.


[AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:''] when trying to get Adwords customer id

2020-08-23 Thread Naresh Kumar

Google OAuth working perfect, i can successfully get *refresh token, 
access_token* but when fetching AdWords Client id, code throwing exception.

*Error : * [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
Google\AdsApi\AdWords\v201809\cm\ApiException

*AdWords API SDK Version :* v201809

*Code :*
$adwordsServices = new AdWordsServices();
$customerService = $adwordsServices->get($session, CustomerService::class);
$customers = $customerService->getCustomers(); *//Seems This line throwing 
error*
$customer = $customers[0]; 
$customer_aw_client_id = $customer->getCustomerId();

*OAuth URL :*
https://my-api-url.com/GoogleAuth/adwordsAuth?state=60=4/
3QFXegrTvihD1wEC8fD2uk-2UPy4mHk_14=https://www.
googleapis.com/auth/analytics

My OAuth google console app is not verified.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c978a779-88a7-4d5a-9cb3-68cdfeba5e4fn%40googlegroups.com.


Re: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']

2020-08-23 Thread Naresh Kumar
Hi ,

Please keep it in private for this message.
my google console app id -  lead-iq-oauth-api-165613
It's verified by still throwing an App not verified message during the
authentication process.
Please find the attached screenshot.



On Sun, Aug 23, 2020 at 8:13 PM Naresh Kumar 
wrote:

> Google OAuth working perfect, i can successfully get *refresh token,
> access_token* but when fetching AdWords Client id, code throwing
> exception.
>
> *Error : * [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
> Google\AdsApi\AdWords\v201809\cm\ApiException
>
> *AdWords API SDK Version :* v201809
>
> *Code :*
> $adwordsServices = new AdWordsServices();
> $customerService = $adwordsServices->get($session, CustomerService::class);
> $customers = $customerService->getCustomers(); *//This line throwing
> error*
> $customer = $customers[0];
> $customer_aw_client_id = $customer->getCustomerId();
>
> *URL :*
>
> https://my-api-url.com/GoogleAuth/adwordsAuth?state=60=4/3QFXegrTvihD1wEC8fD2uk-2UPy4mHk_14=https://www.googleapis.com/auth/analytics
>
>
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/ELxUGDnN7vQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/ca8bd050-5251-48e6-b690-cc93807fa0c7n%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/ca8bd050-5251-48e6-b690-cc93807fa0c7n%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
*Naresh Kumar*

Web Application Developer
Cell : (+91)-946-844-7012 | (+91)-852-924-7323
Skype : phpdevelopernk
Email : phpdevelope...@gmail.com 
   naresh.webdevelo...@gmail.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAPpfbY7EGcfkpGJuCMRAC%2B4_75NQkCe0yv5Hb7LFxGBhYw7r-w%40mail.gmail.com.


[AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']

2020-08-23 Thread Naresh Kumar
Google OAuth working perfect, i can successfully get *refresh token, 
access_token* but when fetching AdWords Client id, code throwing exception.

*Error : * [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
Google\AdsApi\AdWords\v201809\cm\ApiException

*AdWords API SDK Version :* v201809

*Code :*
$adwordsServices = new AdWordsServices();
$customerService = $adwordsServices->get($session, CustomerService::class);
$customers = $customerService->getCustomers(); *//This line throwing error*
$customer = $customers[0]; 
$customer_aw_client_id = $customer->getCustomerId();

*URL :*
https://my-api-url.com/GoogleAuth/adwordsAuth?state=60=4/3QFXegrTvihD1wEC8fD2uk-2UPy4mHk_14=https://www.googleapis.com/auth/analytics



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ca8bd050-5251-48e6-b690-cc93807fa0c7n%40googlegroups.com.


Is it possible to get reports for accounts (clients) associated with MCC account

2019-09-23 Thread Naresh Kumar
Hi,

I have a Google AdWords MCC account, I have received a access token,
Based on that access token, I want to get reports (campaign format, ad 
group, promotion process, etc.) for each affiliate account.
Is it possible ?

With the individual client account's access token the reports fetching 
working well.

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/70440ba3-7dd4-4447-8428-aefdb9478852%40googlegroups.com.


Re: reports coming blank for one website but working fine for other website

2018-04-17 Thread Naresh Kumar
solved.



On Tuesday, 17 April 2018 00:26:31 UTC+5:30, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Naresh,
>
> It could be that you are running report against a MCC account instead of a 
> client customer id unless you are running the ParallelReportDownload 
> 
>  which 
> requires a MCC account. However, could you please *reply privately to 
> author* with your client customer id and report definition, so that I can 
> take a closer look?
>
> Regards,
> Dhanya, 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/feb16ad7-19d2-477e-b95e-04ad0ba6bc71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


reports coming blank for one website but working fine for other website

2018-04-16 Thread Naresh Kumar
i am working the latest 2018 adwords api.. its working fine with one 
adwords account and i am getting reports in csv format. Report are accurate 
and perfect .
but with another adwords its not working.
what could be issue ?
reports are coming blank for the another account.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4c8ad8d6-8339-4684-b4f7-f2808e9a8044%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


looking for api suggestion to get rid from manual process to fetch report and

2017-12-04 Thread Naresh Kumar
Hello Adwords API Team,

I have some question listed below,

These steps we are doing manually to fetch analytics reports and keywords 
from adwords/analytics api.
I am looking for your suggestion on this, if we can do these all steps with 
Google APIs

   1. Can we direct link Google Adwords with Google Analytics With any 
   Google APIs ?
   This time we are doing linking manually with these steps 
   
https://blog.littledata.io/2016/11/24/how-to-link-adwords-and-google-analytics/
   2. Can we create Service account and JSON key with Google developer 
   console With any Gooogle APIs ?
   we are following the steps from here 
   https://cloud.google.com/storage/docs/authentication
   3. Can we add permission for the service account in Google Analytics in 
   User Management  to fetch report With any Google APIs ?


Waiting for your reply.


Thanks

Naresh Kumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6ab771b9-5de0-474b-89c2-f6ae383cb8e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is this possible to get TimeZone of Adwords account using Adwords API ?

2017-06-26 Thread naresh kumar
Hi,

Is this possible to get TimeZone of Adwords account using Adwords API ?

this 
https://www.awesomescreenshot.com/image/2614751/d8f5aeee9af50fcfd5523b548320bc73

To fetch report i need this time zone at some place,.
What you will suggest and how you will do ?

I am looking solution in Adwords API.


Thanks
Naresh 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/28077901-d2aa-4515-aae2-a70307cc7014%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use Attribute, Segment, Metric in Adwords Report

2017-06-22 Thread naresh kumar
Hi There,

Thank you for your reply,
I am getting little about these terms ( Attribute, Segment, Metric in AWQL 
) 

I tried to work with this in below example


$reportQuery = "select 
AdNetworkType1,
AdNetworkType2,
ClickType,
ConversionCategoryName,
ConversionTrackerId,
ConversionTypeName,
Date
from ACCOUNT_PERFORMANCE_REPORT during "
.$start_date.",".$end_date;

$reportUtils = new ReportUtils();
$thi = $reportUtils->DownloadReportWithAwql($reportQuery, 
$filePath, $user, $reportFormat = "CSV",$options);




In the above script i added "*Segment*" in Select Fields, and  *Attribute* 
 will come in Conditional part but what is the use of *Metric* and how can 
i implement. 

*More question:*

Now i am getting report but in last of CSV report it is giving me " Total, 
--, --, --, --, --, -- " . What is this and how to get rid from this, 

More if you can give me example of how i can use 


Thanks,
Naresh Kumar


On Thursday, June 22, 2017 at 2:06:30 AM UTC+5:30, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Naresh, 
>
> Please see this guide 
> <http://attribute%20the%20field%20contains%20settings%20or%20other%20fixed%20data.%20the%20values%20returned%20will%20always%20reflect%20the%20current%20state%20of%20the%20account%2C%20ignoring%20the%20timespan%20of%20the%20report.%20the%20field%20is%20generally%20compatible%20with%20zero-impression%20reports.%20metric%20the%20field%20contains%20performance%20data%20which%20is%20usually%20numeric.%20the%20values%20returned%20reflect%20the%20performance%20over%20the%20timespan%20of%20the%20report.%20segment%20the%20field%20contains%20dimension%20data%20that%20is%20used%20to%20group%20metrics.%20including%20the%20field%20in%20a%20report%20may%20split%20a%20single%20row%20into%20multiple%20rows.%20the%20values%20returned%20and%20number%20of%20segmented%20rows%20reflect%20the%20performance%20over%20the%20timespan%20of%20the%20report.%20the%20field%20is%20likely%20to%20be%20incompatible%20with%20zero-impression%20reports.%20see%20the%20field%20description%20and%20the%20support%20zero%20impressions%20attribute%20to%20verify./>
>  for 
> the behavior of different types of fields in AdWords API reports. Fields of 
> type "Attribute" contain settings or other fixed data and will always 
> reflect the current state of the entities in your account. Fields of type 
> "Metric" contain performance data for the DateRange specified in the report 
> definition. Fields of type "Segment" are used to group metrics based on 
> different dimensions. Please see this guide 
> <https://developers.google.com/adwords/api/docs/guides/reporting#segmentation>
>  for 
> more details on segmentation.
>
> Regards,
> Shwetha, 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/f4b49805-1303-4a21-b925-8f4d4d4e3175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to use Attribute, Segment, Metric in Adwords Report

2017-06-21 Thread naresh kumar
Hi,

I am new to use this api.
I read about AWQL but to work with AWQL i need to understand how  Attribute 
Segment Metric works in report,
Any example you can give me here which clearly shows how to add  Attribute, 
Segment, Metric in AWQL ?

Here are the Attribute Segment Metric 
*https://developers.google.com/adwords/api/docs/appendix/reports/account-performance-report*

Thanks,
Naresh Kumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/61280f40-73f9-451e-951b-000162674d55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwards API giving me SoapClient with version v201603

2017-01-10 Thread Naresh Kumar
Ok.

Thank you for your reply.

Now its trouble for me, Issue with this the directory structure and other 
path are different in this new version and i can see the some folder are 
not exist in new api which was exist in old api.
So wht changes i need to do to migrate api from old to new version. 
No any clear doc there in support page.

Thanks
Naresh Kumar



On Wednesday, 11 January 2017 10:44:47 UTC+5:30, Peter Oliquino wrote:
>
> Hi Naresh,
>
> The v201603 of the AdWords API has already been sunset. I would strongly 
> recommend that you migrate to our latest version (v201609) 
> <https://developers.google.com/adwords/api/docs/guides/migration/v201609> to 
> avoid the error you have encountered. You may also refer to this guide 
> <https://developers.google.com/adwords/api/docs/reference/> for more 
> information on the versions that came after v201603. I hope this helps.
>
> Thanks and regards,
> Peter
> 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/ae25f488-e463-44b7-b82a-9eb57f5f7c18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwards API giving me SoapClient with version v201603

2017-01-10 Thread Naresh Kumar
Hi, 

I am getting these issues.

Warning (2): 
SoapClient::SoapClient(https://adwords.google.com/api/adwords/mcm/v201603/CustomerService?wsdl):
 
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 [APP/Vendor/adwords_api/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php, 
line 154]

Warning (2): SoapClient::SoapClient() [soapclient.soapclient]: I/O warning 
: failed to load external entity 
"https://adwords.google.com/api/adwords/mcm/v201603/CustomerService?wsdl; 
[APP/Vendor/adwords_api/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php, 
line 154]

SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adwords.google.com/api/adwords/mcm/v201603/CustomerService?wsdl' : 
failed to load external entity 
"https://adwords.google.com/api/adwords/mcm/v201603/CustomerService?wsdl;


What is wrong with working api . it was working before 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/621c6d72-4080-4617-97d2-4aee3d522f9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords API v201603 not authorizing to get oauth_refresh_token, oauth_register_email and client id

2016-09-13 Thread Naresh kumar
Hi Anthony

Thank you for you reply.
Here http://pastebin.com/3R14ZzQB i am sharing my piece of code.

Case: User click on Link to Adwards account from my web application and 
with this admin_oauthCallBack() will call and it will send to gmail to 
authentication.
This is working perfect as it should be. 
But when it is coming in getClientInfo() to get oauth_refresh_token, 
oauth_register_email and client id it is nothing returning, no error coming 
and no any url/link giving..

 I want to get Client Info using access_token, refresh_token.


On Wednesday, September 14, 2016 at 5:20:59 AM UTC+5:30, Anthony Madrigal 
wrote:
>
> Hi Naresh,
>
> Could you please provide me with exactly what is not working, since there 
> is no error message? Is it not giving you the link to paste in your browser?
>
> Thanks,
> Anthony
> 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/d9785b0b-9f03-475c-886b-0e353df0eb11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdWords API v201603 not authorizing to get oauth_refresh_token, oauth_register_email and client id

2016-09-13 Thread Naresh kumar
 Hi below my code , i am using it to get oauth_refresh_token, 
oauth_register_email and Client Id when user click on Link to Ad-wards 
account link from my web tool. So that i can fetch keyword from user's 
Adwards account offline.
this code was working perfect but with v201603 it is not giving output no 
any error.

try {

$oauth2_info = array('client_id' => Configure::read(
'AW_CLIENT_ID'),
'client_secret' => Configure::read('AW_CLIENT_SECRET'),
'refresh_token' => $refresh_token
);

$user = new AdWordsUser();
$user->SetOAuth2Info($oauth2_info);
$user->LogAll();
$customerService = $user->GetService('CustomerService', 
ADWORDS_VERSION); //Here it is not working means. Not returning anything , 
no error


// Make the get request.
$result = $customerService->get();

if (!empty($result)) {

$i = 0;

$isMCC = $result->canManageClients;

if (!$isMCC) {
$clients['client_id'] = $result->customerId;
$clients['oauth_refresh_token'] = $refresh_token;
} else {
return $result->customerId;
    }
    }

Thanks,
Naresh Kumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e244bbe1-6d21-4d41-ab18-7e6eb8c19ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get adwords campaign, adgroup name in CSV.

2015-07-27 Thread Naresh Kumar
 

Hello Mr. Anthony,


Thank you for your support.


but problem is same here.

Here is the random url of Google Display Partner URL where my ads are 
displaying by Google i.e whiteboardexplainers.com

http://awesomescreenshot.com/07d53ls86b


 when user clicks on my ads i.e on thaivisa.com ( for example ) and lands 
on my site whiteboardexplainers.com index page.


 i want to get URL from where user came to my website.


 Currenlty i am getting gclid when user lands on my site 
whiteboardexplainers.com

Like this 
http://www.whiteboardexplainers.com/?gclid=CNykj6mO-8YCFUQJvAodJb4MSQ


 I have fetched campaign id and adgroup id using Performance Reports using 
Google Adwords API.

I have also tried URL PERFORMANCE REPORT 

using $reportQuery = select CampaignId, AdGroupId ,Url, 
ConversionTrackerId from URL_PERFORMANCE_REPORT WHERE CampaignId = 
x ;


 But i am getting so many URL'S that is related with campaign.


 How could i get particular one URL (for example thaivisa.com). My ads was 
showing there when user clicks in it. It could be differ. I want to get 
this thaivisa.com on my end in Reports using Ads API. 


 Mr. Anthony, you have sugested me to do this below: 

e.g. WHERE Url = 'YOUR_PARTNER_URL_HERE'


 But problem is there i can't use this WHERE Url = 'YOUR_PARTNER_URL_HERE'. 

Because i don't know from where user came.


 I have also tried it with referrel URL using javascript on my end. but 
sometime i got URL parameter in that referrel url and sometime not. Why is 
this happening ..?


 Please suggest me is it possible to get that particular URL from user came 
to my website if yes then how ?


 
 Example:

If my Ad is showing on www.xyz.com and user clicks on it. Then it goes my 
webportal.

now how i can get using Report with Ads API that from where my user came 
i.e. www.xyz.com


 I have only “ *gclid “.*


 Thank You

On Thursday, 23 July 2015 02:10:16 UTC+5:30, Anthony Madrigal wrote:

 Hi Johan,

 You could try the suggestion I made to Naresh earlier. Run a URL 
 Performance Report 
 https://developers.google.com/adwords/api/docs/appendix/reports/url-performance-report
  
 with the field *Url *since that is the URL of the partner site. 

 Regards,
 Anthony
 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e2f4b57e-9ab2-4784-9268-e380651c1cc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get adwords campaign, adgroup name in CSV.

2015-07-02 Thread Naresh Kumar
Hi Anthony,

I have successfully Imported Campaign name and AdGroup name.. 
I also want to fetch Partner Site URL from which User came on My site.

I have imported a URL Performance Report on the basis of Campaign Id.
But now i have so many URL for a Campaign Id.

I want only one Partner Site URL from which User came on My site. i have 
only Gclid,campaign id, adgroup id.

Thank You






On Wednesday, 1 July 2015 20:03:29 UTC+5:30, Anthony Madrigal wrote:

 Hey Johan,

 There was a recent forum post 
 https://groups.google.com/forum/?utm_medium=emailutm_source=footer#!searchin/adwords-api/Get$20Website$20URL$20where$20my$20ad$20is$20displayed/adwords-api/JTE6V5dxtSE/4WFE-tDOIaoJ
  
 that details how to get the URLs of the Display Network partners. 

 Cheers,
 Anthony
 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/62172818-ef66-43f3-8213-bae0cb298dc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get adwords campaign, adgroup name in CSV.

2015-06-29 Thread Naresh Kumar
i am using this below code to get Adwards Campaign data reports in CSV.
I want to get  adwords campaign, adgroup .
with this below code i am getting error Invalid field name in CampaignName 

$user = new AdWordsUser();
$user-SetOAuth2Info($oauth2_info);
$user-SetClientCustomerId($client_id);
$user-LogAll();

$user-LoadService('ReportDefinitionService', ADWORDS_VERSION);


// Create selector.
$selector = new Selector();
$selector-fields = array(
'AdGroupId',
'CampaignId',
'CampaignName',
'GclId',
'CriteriaId',
'CriteriaParameters',
'Date'
);


// Create report definition.
$reportDefinition = new ReportDefinition();
$reportDefinition-selector = $selector;
$reportDefinition-reportName = 'Click Performance Report #' . 
uniqid();
$reportDefinition-dateRangeType = 'CUSTOM_DATE';


$dateRange = new DateRange();

$dateRange-min = $start_date;
//$dateRange-min = 20150626;
$dateRange-max = $end_date;
//$dateRange-max = 20150626;

$selector-dateRange = $dateRange;

//pr($dateRange); die;
$reportDefinition-reportType = 'CLICK_PERFORMANCE_REPORT';
$reportDefinition-downloadFormat = 'CSV';

// Exclude criteria that haven't recieved any impressions over 
the date range.
$reportDefinition-includeZeroImpressions = FALSE;

// Set additional options.
$options = array('version' = ADWORDS_VERSION);
$path = $this-path;
$file_name = 'click_performance_report_' . time() . .csv;
$this-file_name = $file_name;
$filePath = $path . $file_name;

// Download report.
ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
$options);

$flag = true;

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ca5a9b77-947f-47d4-a171-2d82bb4e55ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get adwords campaign, adgroup name in CSV.

2015-06-29 Thread Naresh Kumar
Hi,

Very thank you for you Reply.. i understand .
But i want *CampaignName *or *AdGroupName. *How could i get these two ?

Thank you

On Monday, 29 June 2015 20:07:50 UTC+5:30, Anthony Madrigal wrote:

 Hi,

 When using the Click Performance Report 
 https://developers.google.com/adwords/api/docs/appendix/reports/click-performance-report,
  
 you will not be able to select the fields *CampaignName *or 
 *AdGroupName. *

 The only fields available are the ones listed in that document. The 
 closest fields to what you want are the *CampaignId *and *AdGroupId.*

 Regards,
 Anthony
 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/69513240-0b64-415e-8b32-fede6698b03f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Where is AdWords API Center (left menu) and how to integrate in Test Mode,

2015-01-22 Thread Naresh Kumar
Hey Hi,

Yes i have solved. I have send a request for Developer token with 
Production account. With test MCC account it was not possible. Please call 
to Google Team with Toll Free number and request for Developer Token with 
your Production Account.

For production account you need to verify your Agency/Company.

Thank You,


On Monday, 19 January 2015 22:16:52 UTC+5:30, k...@allmarkets.com wrote:

 Have you resolved this issue? ... I have both production (active and 
 established w/ cc) and test accounts -- no Adwords api in the menu.


 On Tuesday, December 9, 2014 at 7:09:28 AM UTC-5, Naresh Kumar wrote:

 As i have created a MCC account with 
 https://developers.google.com/adwords/api/docs/signingup

 Not getting AdWords API Center (left menu).

 I just want to test Adword api that how can i use it. so that i can use 
 it in production server.

 I want to give access to my application users that they can see their 
 adwords account detail data in my application with your adwords Api.

 Please guide me .. i have invested my a week in this api.
 and frankly speaking very poor docs.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/45bed79b-9064-461d-bfff-01e9c73d9fb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


An error has occurred: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'']

2015-01-14 Thread Naresh Kumar

Hello 

I am getting this *An error has occurred: 
[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'']*

My developer token associated with another account which is a production 
MCC account and i have created refresh token with another email account.
Means Production MCC account email id and Refresh Token email is different.
I am using developer token with is associated with Production MCC account.

Thank You.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6bc9a3b0-b249-499c-b33b-36a0716a641e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Where is AdWords API Center (left menu) and how to integrate in Test Mode,

2014-12-09 Thread Naresh Kumar
As i have created a MCC account with 
https://developers.google.com/adwords/api/docs/signingup

Not getting AdWords API Center (left menu).

I just want to test Adword api that how can i use it. so that i can use it 
in production server.

I want to give access to my application users that they can see their 
adwords account detail data in my application with your adwords Api.

Please guide me .. i have invested my a week in this api.
and frankly speaking very poor docs.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/78cfbf1f-df33-4be5-bdc2-b0172d54596b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Where is AdWords API Center (left menu) and how to integrate in Test Mode,

2014-12-09 Thread Naresh Kumar
Thank You for your reply.. 
I have created a MCC account for testing. 
But if i need Developer Token to access  AdWords API Center then i need a 
paid Adwards Account.. ?

If i dont have a paid AdWords account then i cant access  AdWords API 
Center ?
I need a Paid  AdWords account..

I am a developer and i don't have Adwards account.. and i am testing how it 
will work. then i will use it in My application.




On Tuesday, 9 December 2014 23:08:49 UTC+5:30, Michael Cloonan (AdWords API 
Team) wrote:

 Hello,

 Are you using a Test MCC account? You should be accessing the AdWords API 
 Center from a production MCC account to generate your developer token.

 Regards,
 Mike, AdWords API Team

 On Tuesday, December 9, 2014 7:09:28 AM UTC-5, Naresh Kumar wrote:

 As i have created a MCC account with 
 https://developers.google.com/adwords/api/docs/signingup

 Not getting AdWords API Center (left menu).

 I just want to test Adword api that how can i use it. so that i can use 
 it in production server.

 I want to give access to my application users that they can see their 
 adwords account detail data in my application with your adwords Api.

 Please guide me .. i have invested my a week in this api.
 and frankly speaking very poor docs.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/48296f65-71ef-4ae0-99d7-a6da0a7a026e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Where is AdWords API Center (left menu) and how to integrate in Test Mode,

2014-12-09 Thread Naresh Kumar
Thank You for your reply.. 
I have created a MCC account for testing. 
But if i need Developer Token to access  AdWords API Center then i need a 
paid Adwards Account.. ?
If i dont have a paid AdWords account then i cant access  AdWords API 
Center 
I need a Paid  AdWords account..
I am a developer and i don't have Adwards account.. and i am testing how it 
will work. then i will use it in My application.

Can you please guide me from where i can start as a developer to use this 
api and steps to test and use.. ?


 



 On Tuesday, 9 December 2014 23:08:49 UTC+5:30, Michael Cloonan (AdWords 
 API Team) wrote:

 Hello,

 Are you using a Test MCC account? You should be accessing the AdWords API 
 Center from a production MCC account to generate your developer token.

 Regards,
 Mike, AdWords API Team

 On Tuesday, December 9, 2014 7:09:28 AM UTC-5, Naresh Kumar wrote:

 As i have created a MCC account with 
 https://developers.google.com/adwords/api/docs/signingup

 Not getting AdWords API Center (left menu).

 I just want to test Adword api that how can i use it. so that i can use 
 it in production server.

 I want to give access to my application users that they can see their 
 adwords account detail data in my application with your adwords Api.

 Please guide me .. i have invested my a week in this api.
 and frankly speaking very poor docs.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4d53db38-5e12-4bed-92b6-cb07756795f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is this possible to login Adwards accont from a third party application and can access adwards data and can store in DB ?

2014-12-08 Thread Naresh Kumar
Hi,
I am working on a project. This project has a lead tracking option.
So my project has many users and every user has its own Google AdWords 
account.

I want that a user will login from My Project and can access Google Adwards 
account data and that data i can store in my DataBase.

Is this possible with https://github.com/googleads/googleads-php-lib?
Is i can Store Adwards data in my DB ?

To create Client Id in OAuth , Which application i need to create ( Web 
application or Service account )

Please Guide me and Thankz in Advance. 

 


 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3d77e1b0-6892-4f9b-846a-3ac4fad34ac5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is there any simple concept tutorial to integrate Adwards API in PHP

2014-12-08 Thread Naresh Kumar
As i have invested my lot of time to understand the Adwards Api integration 
in PHP.
Its very complex documented. 
Lot of fuzzy are there.
Is there any Steps wise documentation to Integrate and use Adwards api.
Please.

Its very complex and fuzzy for a beginner as i am and very easy.

Thankx

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7a3413d7-5480-4250-bcbd-09fbe72b433d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.