Re: Webpage as Negative Campaign Criteria, created in API, where to find in UI

2017-04-07 Thread Matthew Wawrin
Hi Shwetha,

The 'criteria usage document' link you have doesn't work.   I did 
find https://developers.google.com/adwords/api/docs/appendix/criteria-usage 
which I've come across before.  I see that the webpage criterion seems to 
be only available for search at the adgroup level?  Is that correct? 

It's too bad that the API doesn't generate an error when trying to create a 
webpage criteria at the campaign level for a display campaign.  We've 
created this now over a few thousand campaigns.   

Thank you again for the help, I'll plug away with placements !
Matt

On Friday, April 7, 2017 at 3:20:31 PM UTC-5, Shwetha Vastrad (AdWords API 
Team) wrote:
>
> Hi Matt, 
>
> My mistake. You need to use the Placement 
> 
>  criterion 
> to exclude placements from your Display network campaigns. The Webpage 
> 
>  criterion 
> is used to exclude ad targets in your dynamic search campaigns. Please see 
> the criteria usage document . These 
> placement exclusions will be available in the "Campaign placement 
> exclusions" in the Display network->Placements tab. Regardless, the 
> campaign negative Webpage criterion will be visible in the *Auto targets *
> tab.
>
> 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/b30a5c04-ce24-4afa-ae4b-0b0b0b3ea506%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Webpage as Negative Campaign Criteria, created in API, where to find in UI

2017-04-07 Thread Matthew Wawrin
Hi,  Thank you for the reply.  I should have been more specific, this is 
for our display network campaigns.
I'll post on the community forum.

Thank you,
Matt

On Friday, April 7, 2017 at 2:36:18 PM UTC-5, Shwetha Vastrad (AdWords API 
Team) wrote:
>
> Hi Matt, 
>
> You can see the NegativeCampaignCriterion of type Webpage in the Campaign 
> level exclusions in the *Auto targets* tab in the UI for your Search 
> campaigns. Please see this help center article 
>  for more details on 
> exclusions in your dynamic search campaigns. You can post in the AdWords 
> Community Forum 
> 
>  for 
> any UI related questions. 
>
> 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/c9a4583d-c598-4154-9946-20d23ccfab8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Webpage as Negative Campaign Criteria, created in API, where to find in UI

2017-04-07 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Matt, 

You can see the NegativeCampaignCriterion of type Webpage in the Campaign 
level exclusions in the *Auto targets* tab in the UI for your Search 
campaigns. Please see this help center article 
 for more details on 
exclusions in your dynamic search campaigns. You can post in the AdWords 
Community Forum 
 
for 
any UI related questions. 

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/fe3962b8-a1de-4f68-969c-13724662688d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Webpage as Negative Campaign Criteria, created in API, where to find in UI

2017-04-07 Thread Matthew Wawrin
Hi,

I know this isn't the best spot, but figured I'd ask here as a start since 
I did create the object through the API.  If there's a UI forum out there, 
please let me know (i did try to find it)!

We want to exclude showing display network ads on a particular website, 
lets say XYZ.com.  I'm creating a negative campaign criterion with a 
website criteria, who's parameter operand is URL, and argument is XYZ.com. 
  They are created successfully and I get an Id back, as well I can see in 
the campaign history in the web UI that the website exclusion was created.

However, I can't for the life of me see the setting (under settings, 
display network->placements, etc).  Do these campaign exclusions show up in 
the UI??   Is there a way to verify that this exclusion is effective?

An example campaign id, 795619121

Thanks,
Matt.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ba8a825e-91fb-41d6-a35c-dcc26e367637%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [AuthenticationError.OAUTH_TOKEN_INVALID

2017-04-07 Thread pappu chauhan
Fatal error: Uncaught exception 
'Google\AdsApi\AdWords\v201702\cm\ApiException' with message 
'[AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']' 

$oauth2 = new OAuth2([
'authorizationUri' => 'https://accounts.google.com/o/oauth2/v2/auth',
'tokenCredentialUri' => 'https://www.googleapis.com/oauth2/v4/token',
'redirectUri' => $callbackUrl,
'clientId' => $clientId,
'clientSecret' => $clientSecret, 
'scope' 
=>array('https://www.googleapis.com/auth/adwords','https://www.googleapis.com/auth/drive','https://www.googleapis.com/auth/documents','https://www.googleapis.com/auth/drive.file','https://www.googleapis.com/auth/analytics.readonly','https://www.googleapis.com/auth/gmail.readonly','https://www.googleapis.com/auth/webmasters.readonly')
]);

On Monday, June 1, 2015 at 6:14:02 PM UTC+5:30, Abhishek Dutt wrote:
>
> Hi,
>
> I have been  working on Google Adword API and am using PHP client sdk to 
> request the SOAP call.
> I have gone through the basic setup process.
> I have created a Production MCC account and got a developer  Token from 
> there which is pending from an email address.
> So to test i created another Test MCC account using another email account.
> From this test MCC account , i created a test adword account which itself 
> by default got linked, this got me my clientCustomerId
> Now to get client id and client secret , I used the google console to 
> create a project and create the client id. I used  Web Application Type to 
> create the client id and put the redirection url to 
> https://developers.google.com/oauthplayground
> In the playground , i specified  client id , secret key in the setting and 
> then the scope https://www.googleapis.com/auth/adwords to authorize, 
> which got me the authorization code which then i exchanged to get referesh 
> token  and access token.
> Now when i use them in my file , till the time i access the user object , 
> i get everything , but lets suppose i want to get a list of campaign then 
> it shows the following error :
>
> Fatal error: Uncaught SoapFault exception: [soap:Server] 
> [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:''] in 
> C:\wamp\www\googleAdwords\lib\Google\Api\Ads\Common\Lib\AdsSoapClient.php:231 
> Stack trace: #0 
> C:\wamp\www\googleAdwords\lib\Google\Api\Ads\Common\Lib\AdsSoapClient.php(231):
>  
> SoapClient->__soapCall('get', Array, NULL, Array, Array) #1 
> C:\wamp\www\googleAdwords\lib\Google\Api\Ads\AdWords\v201409\CampaignService.php():
>  
> AdsSoapClient->__soapCall('get', Array) #2 
> C:\wamp\www\googleAdwords\campaign.php(60): 
> CampaignService->get(Object(Selector)) #3 {main} thrown in 
> C:\wamp\www\googleAdwords\lib\Google\Api\Ads\Common\Lib\AdsSoapClient.php 
> on line 231
>
> Meanwhile , here is the code , with keys removed
>
> 
> $path = dirname(__FILE__) . '/lib'; 
> set_include_path(get_include_path() . PATH_SEPARATOR . $path);
> require_once dirname(__FILE__) . 
> '/lib/Google/Api/Ads/AdWords/Lib/AdWordsUser.php'; 
> require_once dirname(__FILE__) . 
> '/lib/Google/Api/Ads/AdWords/Util/ReportUtils.php';
>
>
> define("OAUTH_CLIENT_ID", "[]");
> define("OAUTH_CLIENT_SECRET", "[]");
> define("OAUTH_ACCESS_TOKEN", "[]");
> define("OAUTH_REFRESH_TOKEN", "[*]");
> define("CUSTOMER_ACCOUNT_ID", "[*]");
> define("DEVELOPER_TOKEN", "[]");
> define("API_VERSION", "v201409");
>  
> $user = new AdWordsUser();
> $user->SetDeveloperToken(DEVELOPER_TOKEN);
> $user->SetClientCustomerId(CUSTOMER_ACCOUNT_ID);
>
> print_r($user); 
>
> $user->SetOAuth2Info(array(
> "client_id" => OAUTH_CLIENT_ID,
> "client_secret" => OAUTH_CLIENT_SECRET,
> "access_token" => OAUTH_ACCESS_TOKEN,
> "refresh_token" => OAUTH_REFRESH_TOKEN
> ));
>  
> $user->LoadService('ReportDefinitionService', API_VERSION);
>  
> print_r($user);
>
>
>
> // Get a list of campaigns
> $campaignService = $user->GetService('CampaignService', API_VERSION);
> $selector = new Selector();
> $selector->fields = array('Id', 'Name');
> $campaigns = $campaignService->get($selector);
>  
> print_r($campaigns);
>
>
> ?>
>
>
> Please help me out !
> I am not able to find a way out
>
> Thanks
> Abhishek Dutt
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: Modifying Product Partition Bid

2017-04-07 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Jordan, 

Could you enable logging 
 and provide the 
complete SOAP request and response logs so I can take a look? Please use *Reply 
privately to author* when responding. 

Thanks,
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/6ba367e1-4bf3-4d5a-a27c-9746896ac6e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Filter GMB location extension feed items by Location Id?

2017-04-07 Thread Jon Perry
We've created a Google My Business location extension feed and we're 
looking to filter which locations are synced by GMB location id but there 
doesn't seem to be an attribute for that. Is this correct?

We're looking to restrict the locations that are used to ones that are 
specified (e.g. IN [LOCATION_ID_1, LOCATION_ID_2, LOCATION_ID_3, etc]) and 
only those locations would be used.

There seem to be two ways we could filter:
 1. Specify by address; but then the address couldn't change
 2. Specify with labels; but since our clients manage their own GMB 
accounts we wouldn't be able to limit which labels are applied where

I'm leaning toward filtering by address and updating the matching function 
if need be. Would this be the most appropriate way of achieving our goal?

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c93355a6-fea8-4843-84c9-c61e6dd3d9b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PLACEMENT PERFORMANCE REPORT return zero rows

2017-04-07 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

Could you provide the complete report request along with your 
clientCustomerId so I can take a look? If your placements do not have any 
impressions, these rows may not be returned in the report if the 
includeZeroImpressions 
header 

 is 
not set to true. Could you retry the report request by setting the 
includeZeroImpressions header to true? Please use *Reply privately to 
author* when responding. 

Thanks,
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/96a0002d-cc94-4203-b276-e15556063219%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PLACEMENT PERFORMANCE REPORT return zero rows

2017-04-07 Thread Spain Api
Hi all,

I'm trying download a placement performance report of a campaign, but the 
report return zero rows. However, i can see the data in campaign management 
from google adwords. This is a video campaign.

Too i use this report to download data of other GDN campaign and i get all 
data.

May someone help me, please?

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/e21cdf46-781d-4fa6-a88f-869e72944227%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Modifying Product Partition Bid

2017-04-07 Thread jordan
Hi,

Thanks for the response - that example has helped bootstrap my code. 
However, I am now getting "Invalid Criterion ID" errors, when I attempt to 
mutate the Product Partitions. I know these ID's to be correct, because I 
store the numerical ID response in the database when the Product Partitions 
are created, along with the associated AdWords account and Product ID.

Example:

EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
trigger:'CriterionId{id=17106509378}'
EntityNotFound.INVALID_ID @ operations[2].operand.criterion.id; 
trigger:'CriterionId{id=17105799698}'
EntityNotFound.INVALID_ID @ operations[3].operand.criterion.id; 
trigger:'CriterionId{id=42967572895}'
EntityNotFound.INVALID_ID @ operations[4].operand.criterion.id; 
trigger:'CriterionId{id=17105236562}'


Can you help me solve this error?

Kind regards,
Jordan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a8074910-9869-490e-881b-d7993c31b45b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.